Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001148/0.001148, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001795/0.002943, allocations: 449.8 kB / 10.44 MB, free: 252 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.001076/0.001076, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002487, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.066/1.066, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1238/1.19, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.787e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002397/0.002415, allocations: 1.995 MB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.003915, allocations: 1.184 MB / 247.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.00402, allocations: 7.938 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.004447, allocations: 155.3 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.004689, allocations: 167.2 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.004998, allocations: 171.3 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.005218, allocations: 187.5 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.005328, allocations: 26.39 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.005548, allocations: 139.6 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005655, allocations: 63.8 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.005676, allocations: 8 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.005808, allocations: 63.84 kB / 248.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.005881, allocations: 35.86 kB / 248.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005926, allocations: 31.88 kB / 248.9 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.006142, allocations: 159.3 kB / 249.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.006156, allocations: 7.984 kB / 249.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.2e-07/0.006157, allocations: 0 / 249.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.006168, allocations: 0 / 249.1 MB, free: 9.816 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.0006112/0.00678, allocations: 445 kB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.006816, allocations: 12.03 kB / 249.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.006863, allocations: 16.92 kB / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.007108, allocations: 209.5 kB / 249.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007127, allocations: 4.375 kB / 249.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.007144, allocations: 12.38 kB / 249.8 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.007354, allocations: 129 kB / 249.9 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.007365, allocations: 3.938 kB / 249.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.007375, allocations: 4 kB / 249.9 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.007384, allocations: 4 kB / 249.9 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.007425, allocations: 18.75 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.007722, allocations: 203.6 kB / 250.1 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.00785, allocations: 126.6 kB / 250.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.007882, allocations: 34.55 kB / 250.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.007905, allocations: 7.938 kB / 250.3 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.008048, allocations: 66.16 kB / 250.4 MB, free: 8.395 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.008049, allocations: 3.938 kB / 250.4 MB, free: 8.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001542/0.008203, allocations: 77.81 kB / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.008271, allocations: 118.8 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.00845, allocations: 230.7 kB / 250.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.008474, allocations: 29.7 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.00853, allocations: 104.5 kB / 250.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.008559, allocations: 19.83 kB / 250.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.008595, allocations: 25.7 kB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005723/0.009168, allocations: 330.8 kB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.009187, allocations: 6.828 kB / 251.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.009227, allocations: 52.28 kB / 251.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.009285, allocations: 47.38 kB / 251.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.009288, allocations: 3.984 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.385e-05/0.009362, allocations: 64.39 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.009379, allocations: 4 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009385, allocations: 3.984 kB / 251.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.009399, allocations: 0 / 251.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.009466, allocations: 20.25 kB / 251.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00947, allocations: 160 / 251.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.0095, allocations: 4 kB / 251.5 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.009506, allocations: 8 kB / 251.5 MB, free: 7.164 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,sample1.u) * 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 7.393e-05/0.00958, allocations: 125.5 kB / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.009625, allocations: 49.56 kB / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.009716, allocations: 79.42 kB / 251.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.009719, allocations: 0 / 251.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.009721, allocations: 4 kB / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009725, allocations: 0 / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.552e-05/0.00982, allocations: 109.8 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009821, allocations: 0 / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.009842, allocations: 7.984 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.009882, allocations: 39.78 kB / 251.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009884, allocations: 0 / 251.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.009893, allocations: 7.984 kB / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009894, allocations: 0 / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009895, allocations: 0 / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.00997, allocations: 100.5 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.00999, allocations: 15.88 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.01002, allocations: 3.984 kB / 252 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.01005, allocations: 4 kB / 252 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01007, allocations: 8 kB / 252 MB, free: 6.555 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.01013, allocations: 89.59 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01013, allocations: 0 / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001321/0.01027, allocations: 27.95 kB / 252.1 MB, free: 6.434 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.001308/0.01157, allocations: 0.5635 MB / 252.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01167, allocations: 32.84 kB / 252.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.01168, allocations: 4 kB / 252.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.01172, allocations: 28.81 kB / 252.8 MB, free: 6.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01203, allocations: 339 kB / 253.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.01259, allocations: 296.3 kB / 253.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.01264, allocations: 79.83 kB / 253.5 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.01268, allocations: 21.7 kB / 253.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.01276, allocations: 75.36 kB / 253.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01276, allocations: 256 / 253.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of Templates: time 0.00494/0.0177, allocations: 2.859 MB / 256.4 MB, free: 2.363 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7024811757728457]