Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.002055/0.002055, allocations: 109.4 kB / 19.81 MB, free: 2.512 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.002921/0.002921, allocations: 218.8 kB / 22.99 MB, free: 5.602 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.614/1.614, allocations: 230.2 MB / 256.2 MB, free: 8.551 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4542, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003973/0.4581, allocations: 1.923 MB / 431.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.4607, allocations: 1.242 MB / 433 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.4609, allocations: 7.938 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.4617, allocations: 147.5 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.4622, allocations: 162.6 kB / 433.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.4628, allocations: 183.4 kB / 433.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.4631, allocations: 183.5 kB / 433.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4632, allocations: 21.55 kB / 433.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.4634, allocations: 83.62 kB / 433.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.4635, allocations: 83.55 kB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.4635, allocations: 8 kB / 433.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4637, allocations: 55.97 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.4638, allocations: 47.83 kB / 433.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4639, allocations: 75.48 kB / 434 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.4643, allocations: 208.4 kB / 434.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4643, allocations: 0 / 434.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4643, allocations: 4 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4643, allocations: 0 / 434.2 MB, free: 3.121 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001015/0.4653, allocations: 0.5116 MB / 434.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4654, allocations: 8.031 kB / 434.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.67e-05/0.4655, allocations: 24.8 kB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.4659, allocations: 278.9 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.466, allocations: 8.375 kB / 435 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.466, allocations: 4.375 kB / 435 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.4664, allocations: 155 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4664, allocations: 3.938 kB / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4664, allocations: 0 / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.4664, allocations: 0 / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4665, allocations: 39.92 kB / 435.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.4671, allocations: 362.3 kB / 435.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4674, allocations: 111.9 kB / 435.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.4675, allocations: 38.56 kB / 435.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4675, allocations: 11.98 kB / 435.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.4677, allocations: 67.39 kB / 435.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.4677, allocations: 0 / 435.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000429/0.4681, allocations: 145.4 kB / 435.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4682, allocations: 136.8 kB / 436.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.4685, allocations: 273 kB / 436.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4686, allocations: 25.7 kB / 436.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4687, allocations: 120.1 kB / 436.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.4687, allocations: 15.91 kB / 436.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.4687, allocations: 29.66 kB / 436.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4689, allocations: 330.8 kB / 436.9 MB, free: 176 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.469, allocations: 23.98 kB / 436.9 MB, free: 152 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.4691, allocations: 73.94 kB / 436.9 MB, free: 56 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4692, allocations: 80.25 kB / 437 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4692, allocations: 0 / 437 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002116/0.4694, allocations: 113.8 kB / 437.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4695, allocations: 4 kB / 437.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4695, allocations: 4 kB / 437.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4695, allocations: 7.938 kB / 437.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.4696, allocations: 11.94 kB / 437.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4696, allocations: 4 kB / 437.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.4697, allocations: 16.06 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4697, allocations: 11.94 kB / 437.2 MB, free: 15.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001562/0.4698, allocations: 149.7 kB / 437.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.4699, allocations: 61.55 kB / 437.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.4702, allocations: 107.3 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4702, allocations: 4 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4702, allocations: 0 / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4702, allocations: 64 / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.4704, allocations: 241.5 kB / 437.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4704, allocations: 0 / 437.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.4705, allocations: 4 kB / 437.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4705, allocations: 0 / 437.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4705, allocations: 7.984 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4705, allocations: 0 / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4705, allocations: 0 / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.4707, allocations: 162.6 kB / 437.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4708, allocations: 108.9 kB / 438 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4709, allocations: 11.98 kB / 438 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.4709, allocations: 4 kB / 438 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.471, allocations: 3.984 kB / 438 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.471, allocations: 4.062 kB / 438 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.4712, allocations: 204.5 kB / 438.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4712, allocations: 0 / 438.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.4715, allocations: 31.94 kB / 438.3 MB, free: 14.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001573/0.4731, allocations: 431.5 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.4733, allocations: 59.92 kB / 438.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4733, allocations: 0 / 438.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.4734, allocations: 23.92 kB / 438.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.4738, allocations: 71.66 kB / 438.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4745, allocations: 320.5 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4748, allocations: 0.7241 MB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.4749, allocations: 21.73 kB / 439.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.4749, allocations: 27.42 kB / 439.9 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4749, allocations: 0 / 439.9 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.006693/0.4816, allocations: 2.478 MB / 442.4 MB, free: 10.55 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 5.203584777191281]