Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 116.5 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 207 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 230.5 MB / 257.4 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.89 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2495, allocations: 53.41 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002819/0.2524, allocations: 1.58 MB / 432.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2534, allocations: 0.5726 MB / 433.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.2534, allocations: 0 / 433.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.2535, allocations: 7.875 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2536, allocations: 11.88 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2539, allocations: 71.23 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.254, allocations: 47.84 kB / 433.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.2541, allocations: 12.19 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2542, allocations: 27.91 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.2542, allocations: 19.86 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.2542, allocations: 4 kB / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.2543, allocations: 8 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.2543, allocations: 15.92 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2543, allocations: 23.81 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2545, allocations: 67.05 kB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2545, allocations: 0 / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2545, allocations: 4 kB / 433.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2545, allocations: 3.938 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004417/0.2549, allocations: 302.9 kB / 433.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.255, allocations: 8.031 kB / 434 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.255, allocations: 38.73 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2551, allocations: 16.89 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2554, allocations: 157 kB / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2554, allocations: 384 / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2554, allocations: 4.375 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2556, allocations: 113 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2556, allocations: 0 / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.2557, allocations: 0 / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2557, allocations: 8 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.2557, allocations: 15.92 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.256, allocations: 232.8 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.2561, allocations: 45.16 kB / 434.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.2562, allocations: 25.77 kB / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2562, allocations: 0 / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2562, allocations: 34.56 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2562, allocations: 0 / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002227/0.2564, allocations: 65.78 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.2565, allocations: 85.14 kB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2566, allocations: 145.8 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2566, allocations: 25.7 kB / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2567, allocations: 88.14 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.2567, allocations: 3.953 kB / 435 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2567, allocations: 17.72 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2569, allocations: 318.8 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.2569, allocations: 12 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.257, allocations: 21.7 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.257, allocations: 29.7 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.257, allocations: 0 / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.2572, allocations: 61.64 kB / 435.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2572, allocations: 4 kB / 435.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2572, allocations: 4 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2572, allocations: 0 / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.2573, allocations: 7.984 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.2573, allocations: 0 / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.2573, allocations: 4 kB / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2573, allocations: 0 / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.348e-05/0.2574, allocations: 125.8 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.2575, allocations: 45.59 kB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2575, allocations: 15.77 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2575, allocations: 3.938 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2575, allocations: 3.984 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2575, allocations: 0 / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2577, allocations: 148.7 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2577, allocations: 0 / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.2577, allocations: 4 kB / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2577, allocations: 0 / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2577, allocations: 0 / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2577, allocations: 12.03 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2577, allocations: 0 / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2579, allocations: 164.2 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2579, allocations: 15.94 kB / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2579, allocations: 0 / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.258, allocations: 8.031 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.258, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.258, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.2581, allocations: 114 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2581, allocations: 0 / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.2583, allocations: 8 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004655/0.2588, allocations: 0.6936 MB / 436.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2589, allocations: 19.98 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2589, allocations: 4 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.259, allocations: 7.984 kB / 436.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2593, allocations: 20.28 kB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2606, allocations: 1.328 MB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.261, allocations: 0.6885 MB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.261, allocations: 12.02 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.261, allocations: 15.42 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.261, allocations: 0 / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2889, allocations: 1.666 MB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.94, allocations: 10.17 kB / 440.6 MB, free: 12.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.249321929179132]