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.001614/0.001614, allocations: 74.42 kB / 21.24 MB, free: 0.5547 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.002024/0.002024, allocations: 148.4 kB / 24.49 MB, free: 3.727 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.452/1.452, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.002542/0.002542, allocations: 50.05 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.137, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005432/0.1424, allocations: 1.869 MB / 373.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1453, allocations: 0.9821 MB / 374.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.1454, allocations: 11.94 kB / 374.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008631/0.1463, allocations: 155.5 kB / 374.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.1468, allocations: 115.6 kB / 374.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.1477, allocations: 203.3 kB / 374.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1482, allocations: 183.5 kB / 375.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1483, allocations: 21.73 kB / 375.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1485, allocations: 79.64 kB / 375.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1487, allocations: 71.67 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1487, allocations: 11.94 kB / 375.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.149, allocations: 63.89 kB / 375.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1491, allocations: 43.84 kB / 375.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1492, allocations: 47.66 kB / 375.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1497, allocations: 207.1 kB / 375.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1497, allocations: 0 / 375.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1497, allocations: 0 / 375.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1497, allocations: 8 kB / 375.6 MB, free: 3.281 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.001094/0.1508, allocations: 450.8 kB / 376.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1508, allocations: 8.031 kB / 376.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.1509, allocations: 20.8 kB / 376.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.1514, allocations: 209.5 kB / 376.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1515, allocations: 8.359 kB / 376.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1515, allocations: 8.125 kB / 376.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.152, allocations: 141.9 kB / 376.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.152, allocations: 0 / 376.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.152, allocations: 4 kB / 376.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.152, allocations: 7.938 kB / 376.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1522, allocations: 39.91 kB / 376.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.1528, allocations: 290.1 kB / 376.8 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1532, allocations: 107.9 kB / 376.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1533, allocations: 46.56 kB / 376.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1534, allocations: 0 / 376.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.1536, allocations: 87.3 kB / 377 MB, free: 1.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.1536, allocations: 0 / 377 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005707/0.1542, allocations: 137.5 kB / 377.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1543, allocations: 110.8 kB / 377.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.1547, allocations: 262 kB / 377.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1548, allocations: 33.7 kB / 377.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1549, allocations: 116.1 kB / 377.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.155, allocations: 27.89 kB / 377.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.155, allocations: 29.7 kB / 377.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1553, allocations: 330.8 kB / 378 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1554, allocations: 23.98 kB / 378.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.1555, allocations: 90.78 kB / 378.1 MB, free: 500 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1558, allocations: 84.25 kB / 378.2 MB, free: 400 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1558, allocations: 0 / 378.2 MB, free: 400 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003213/0.1561, allocations: 117.5 kB / 378.3 MB, free: 276 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1562, allocations: 4 kB / 378.3 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1562, allocations: 0 / 378.3 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1562, allocations: 4 kB / 378.4 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1563, allocations: 11.98 kB / 378.4 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1563, allocations: 11.92 kB / 378.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1564, allocations: 16.39 kB / 378.4 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1564, allocations: 7.938 kB / 378.4 MB, free: 220 kB / 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.000136/0.1565, allocations: 145.8 kB / 378.5 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1566, allocations: 69.47 kB / 378.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1569, allocations: 111.4 kB / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1569, allocations: 4 kB / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1569, allocations: 0 / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1569, allocations: 0 / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1571, allocations: 169.2 kB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1571, allocations: 0 / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.1571, allocations: 8 kB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1571, allocations: 3.938 kB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1571, allocations: 4 kB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1572, allocations: 3.984 kB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1572, allocations: 0 / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1574, allocations: 166.6 kB / 379.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.1575, allocations: 31.88 kB / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1575, allocations: 3.984 kB / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.1576, allocations: 12 kB / 379.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1576, allocations: 7.984 kB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1577, allocations: 4 kB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1579, allocations: 193.2 kB / 379.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1579, allocations: 0 / 379.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1581, allocations: 31.94 kB / 379.3 MB, free: 15.19 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,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.001658/0.1598, allocations: 446.6 kB / 379.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.16, allocations: 79.84 kB / 379.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.16, allocations: 0 / 379.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.1601, allocations: 24 kB / 379.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1605, allocations: 52.48 kB / 379.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.1611, allocations: 317.3 kB / 380.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1612, allocations: 119.8 kB / 380.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.767e-05/0.1613, allocations: 29.59 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.1613, allocations: 24.44 kB / 380.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1613, allocations: 0 / 380.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.00655/0.1679, allocations: 2.532 MB / 382.9 MB, free: 11.75 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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.340287579107098]