Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001612/0.001612, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001906/0.001906, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.657/1.657, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1414, allocations: 53.31 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00444/0.1458, allocations: 1.912 MB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1483, allocations: 1.203 MB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1485, allocations: 7.938 kB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.1493, allocations: 150.6 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.1497, allocations: 155.4 kB / 430.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.1503, allocations: 171.4 kB / 430.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.1506, allocations: 191.5 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1507, allocations: 21.55 kB / 430.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1508, allocations: 83.62 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.151, allocations: 83.61 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.151, allocations: 8 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1512, allocations: 59.95 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.1512, allocations: 39.84 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.1513, allocations: 67.5 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1517, allocations: 215 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1517, allocations: 0 / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1517, allocations: 0 / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1517, allocations: 0 / 431.5 MB, free: 124 kB / 350.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.0009546/0.1527, allocations: 0.5232 MB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1527, allocations: 8.031 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.1528, allocations: 24.78 kB / 432 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.1533, allocations: 275 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1533, allocations: 8.375 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1533, allocations: 4.375 kB / 432.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.1537, allocations: 151 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1537, allocations: 0 / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1537, allocations: 4 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1538, allocations: 3.984 kB / 432.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1539, allocations: 35.92 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.1545, allocations: 366.4 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1548, allocations: 107.9 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1549, allocations: 46.5 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.1549, allocations: 0 / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.1551, allocations: 67.39 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1551, allocations: 4 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00045/0.1555, allocations: 145.5 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1557, allocations: 132.5 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.156, allocations: 277 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.156, allocations: 29.7 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1562, allocations: 116.1 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1562, allocations: 12.16 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.1562, allocations: 37.66 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1564, allocations: 334.7 kB / 434.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.1565, allocations: 27.92 kB / 434.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1566, allocations: 62.08 kB / 434.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1567, allocations: 80.25 kB / 434.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1567, allocations: 4.25 kB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/0.157, allocations: 117.5 kB / 434.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.157, allocations: 8.125 kB / 434.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.157, allocations: 4 kB / 434.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.157, allocations: 0 / 434.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.1571, allocations: 19.92 kB / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1571, allocations: 0 / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.1572, allocations: 7.938 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1572, allocations: 8 kB / 434.5 MB, free: 12.79 MB / 366.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.0001509/0.1573, allocations: 141.8 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.1574, allocations: 73.48 kB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.1575, allocations: 21.7 kB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1575, allocations: 4 kB / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1575, allocations: 0 / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1575, allocations: 0 / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1578, allocations: 237.5 kB / 434.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1578, allocations: 0 / 434.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.1578, allocations: 7.984 kB / 435 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1578, allocations: 0 / 435 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1578, allocations: 4 kB / 435 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1578, allocations: 0 / 435 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1578, allocations: 8 kB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.1581, allocations: 154.6 kB / 435.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1582, allocations: 112.9 kB / 435.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1583, allocations: 8 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.1583, allocations: 0 / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1584, allocations: 11.98 kB / 435.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1584, allocations: 4.062 kB / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.1586, allocations: 208.4 kB / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1586, allocations: 0 / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1589, allocations: 24 kB / 435.5 MB, free: 11.68 MB / 366.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001635/0.1605, allocations: 427.8 kB / 435.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1608, allocations: 67.91 kB / 436 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1608, allocations: 4 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1608, allocations: 19.94 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1613, allocations: 73.47 kB / 436.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.1619, allocations: 312.5 kB / 436.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1623, allocations: 0.7323 MB / 437.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.637e-05/0.1624, allocations: 17.55 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1624, allocations: 23.44 kB / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1624, allocations: 0 / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of Templates: time 0.006731/0.1691, allocations: 2.453 MB / 439.6 MB, free: 7.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.362797477282584]