Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 190.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 52.17 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003568/0.2557, allocations: 1.878 MB / 424.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2576, allocations: 0.9859 MB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2577, allocations: 7.938 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.2583, allocations: 155.5 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.2586, allocations: 111.6 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.2592, allocations: 199.8 kB / 426.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2595, allocations: 191.4 kB / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2596, allocations: 33.52 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2597, allocations: 71.7 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2598, allocations: 71.69 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2599, allocations: 8 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.26, allocations: 59.88 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.2601, allocations: 43.84 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.2602, allocations: 47.62 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.2605, allocations: 217.5 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2605, allocations: 0 / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2605, allocations: 0 / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2605, allocations: 0 / 427.1 MB, free: 10.41 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.0007816/0.2613, allocations: 442.9 kB / 427.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2613, allocations: 8.031 kB / 427.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.2614, allocations: 24.8 kB / 427.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.2617, allocations: 209 kB / 427.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2618, allocations: 8.359 kB / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.2618, allocations: 12.12 kB / 427.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2621, allocations: 145.8 kB / 427.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2621, allocations: 4 kB / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2622, allocations: 0 / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2622, allocations: 0 / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2623, allocations: 35.92 kB / 428 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.2628, allocations: 298 kB / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.2631, allocations: 107.9 kB / 428.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.2632, allocations: 46.56 kB / 428.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2632, allocations: 0 / 428.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.2634, allocations: 87.31 kB / 428.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2634, allocations: 0 / 428.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003722/0.2637, allocations: 145.4 kB / 428.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.2638, allocations: 110.8 kB / 428.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.2641, allocations: 260.9 kB / 429 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2642, allocations: 29.95 kB / 429 MB, free: 8.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.2642, allocations: 120.1 kB / 429.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.2643, allocations: 19.89 kB / 429.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.2643, allocations: 29.72 kB / 429.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2645, allocations: 330.8 kB / 429.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.2645, allocations: 20 kB / 429.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2647, allocations: 94.77 kB / 429.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2648, allocations: 80.25 kB / 429.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2648, allocations: 0 / 429.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.2651, allocations: 121.5 kB / 429.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2651, allocations: 6.188 kB / 429.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2651, allocations: 4 kB / 429.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2651, allocations: 0 / 429.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.2652, allocations: 12 kB / 429.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2652, allocations: 3.938 kB / 429.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.2653, allocations: 16 kB / 429.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2653, allocations: 8 kB / 429.9 MB, free: 7.355 MB / 334.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,sample1.u,subSample1.y,subSample1.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.0002001/0.2655, allocations: 141.8 kB / 430 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.2656, allocations: 65.81 kB / 430.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2658, allocations: 119.4 kB / 430.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2658, allocations: 4 kB / 430.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2658, allocations: 4 kB / 430.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2658, allocations: 0 / 430.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2661, allocations: 165.2 kB / 430.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2661, allocations: 4.062 kB / 430.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.2661, allocations: 7.938 kB / 430.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2661, allocations: 0 / 430.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2661, allocations: 8 kB / 430.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2661, allocations: 0 / 430.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2661, allocations: 4 kB / 430.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.2664, allocations: 162.5 kB / 430.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.2665, allocations: 35.83 kB / 430.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.2665, allocations: 0 / 430.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.2665, allocations: 8.078 kB / 430.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2666, allocations: 15.94 kB / 430.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2666, allocations: 7.984 kB / 430.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.2668, allocations: 192.5 kB / 430.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2668, allocations: 0 / 430.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.2671, allocations: 27.98 kB / 430.8 MB, free: 6.324 MB / 334.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,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.001646/0.2687, allocations: 452.4 kB / 431.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.2689, allocations: 79.91 kB / 431.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2689, allocations: 4.062 kB / 431.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.269, allocations: 23.98 kB / 431.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2694, allocations: 62.22 kB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.2701, allocations: 313.5 kB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2702, allocations: 119.4 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.2703, allocations: 21.48 kB / 431.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.2703, allocations: 23.42 kB / 431.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2703, allocations: 0 / 431.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Templates: time 0.006709/0.277, allocations: 2.639 MB / 434.6 MB, free: 2.785 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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: 4.533224469050765]