Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002275, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002538, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09112/1.121, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.769e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002322/0.00234, allocations: 1.991 MB / 246.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003731, allocations: 1.215 MB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.003824, allocations: 4 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.004164, allocations: 143.4 kB / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.004434, allocations: 163.2 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.00477, allocations: 182 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.004977, allocations: 191.4 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.005056, allocations: 26.38 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.005211, allocations: 147.5 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.005296, allocations: 63.8 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005315, allocations: 8 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.005426, allocations: 63.89 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.005473, allocations: 35.86 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.00551, allocations: 31.88 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005693, allocations: 155.4 kB / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.005703, allocations: 0 / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005704, allocations: 0 / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.005713, allocations: 0 / 248.9 MB, free: 9.898 MB / 250.7 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.0004379/0.006151, allocations: 441 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.006183, allocations: 12.03 kB / 249.4 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.006215, allocations: 16.92 kB / 249.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.006405, allocations: 221.4 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.006416, allocations: 8.375 kB / 249.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.006426, allocations: 8.375 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.006578, allocations: 124.9 kB / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.006584, allocations: 3.938 kB / 249.7 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.006591, allocations: 4 kB / 249.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.006594, allocations: 4 kB / 249.7 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.006624, allocations: 14.77 kB / 249.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.006831, allocations: 211.5 kB / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.006925, allocations: 122.5 kB / 250.1 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.006954, allocations: 34.52 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.006969, allocations: 7.938 kB / 250.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.821e-05/0.007048, allocations: 70.27 kB / 250.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.007049, allocations: 0 / 250.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001224/0.007171, allocations: 85.77 kB / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.007212, allocations: 110.8 kB / 250.4 MB, free: 8.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007336, allocations: 222.7 kB / 250.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.00735, allocations: 33.69 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.007385, allocations: 104.5 kB / 250.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.007403, allocations: 15.89 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.007434, allocations: 25.7 kB / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.00751, allocations: 330.8 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.007523, allocations: 10.83 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.007558, allocations: 56.25 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.007593, allocations: 43.36 kB / 251.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007595, allocations: 0 / 251.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.833e-05/0.007653, allocations: 72.38 kB / 251.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.007662, allocations: 4 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.007666, allocations: 0 / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.007673, allocations: 4 kB / 251.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.007722, allocations: 11.94 kB / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007724, allocations: 160 / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.007753, allocations: 7.984 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.007758, allocations: 8.031 kB / 251.3 MB, free: 7.246 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.965e-05/0.007818, allocations: 128.2 kB / 251.4 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.007854, allocations: 57.55 kB / 251.5 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.007933, allocations: 75.42 kB / 251.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.007934, allocations: 0 / 251.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.007937, allocations: 8 kB / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.007939, allocations: 0 / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.004e-05/0.008029, allocations: 113.7 kB / 251.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008031, allocations: 0 / 251.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.008051, allocations: 8 kB / 251.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.008087, allocations: 35.88 kB / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.008088, allocations: 0 / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008095, allocations: 4 kB / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008096, allocations: 0 / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008097, allocations: 0 / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.74e-05/0.008164, allocations: 100.4 kB / 251.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.008182, allocations: 15.92 kB / 251.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.00821, allocations: 4 kB / 251.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.008232, allocations: 3.984 kB / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.008242, allocations: 8 kB / 251.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.0083, allocations: 85.61 kB / 251.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0083, allocations: 0 / 251.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.00843, allocations: 31.89 kB / 252 MB, free: 6.516 MB / 250.7 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 (10): * Single equations (assignments): 8 * 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.001158/0.009588, allocations: 0.5576 MB / 252.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.009677, allocations: 40.77 kB / 252.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.009684, allocations: 0 / 252.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.009711, allocations: 32.78 kB / 252.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.009898, allocations: 71.66 kB / 252.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.01033, allocations: 296.3 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.01037, allocations: 79.83 kB / 253 MB, free: 5.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.21e-05/0.01041, allocations: 25.75 kB / 253.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.01048, allocations: 79.34 kB / 253.1 MB, free: 5.559 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01048, allocations: 4.188 kB / 253.1 MB, free: 5.555 MB / 250.7 MB Notification: Performance of Templates: time 0.004189/0.01467, allocations: 2.826 MB / 256 MB, free: 2.777 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6711062463000417]