Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001569/0.001569, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001696/0.001696, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2494/0.2494, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.91 kB / 0.4921 GB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1391, allocations: 66 MB / 0.5566 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00574/0.1449, allocations: 1.932 MB / 0.5585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.1485, allocations: 1.072 MB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1486, allocations: 3.938 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.149, allocations: 47.7 kB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.1496, allocations: 95.48 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.15, allocations: 103.6 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.1504, allocations: 143.5 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1505, allocations: 25.53 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1507, allocations: 59.72 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1509, allocations: 55.66 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1509, allocations: 8 kB / 0.56 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1511, allocations: 47.97 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.1512, allocations: 27.86 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1513, allocations: 47.67 kB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.1517, allocations: 159.2 kB / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1517, allocations: 0 / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1517, allocations: 4 kB / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1518, allocations: 0 / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001056/0.1528, allocations: 488.1 kB / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1529, allocations: 8.031 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.1529, allocations: 20.83 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.1535, allocations: 244.7 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1535, allocations: 4.375 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1535, allocations: 12.12 kB / 0.5611 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1539, allocations: 108.2 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1539, allocations: 3.938 kB / 0.5612 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.154, allocations: 4 kB / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.154, allocations: 0 / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1543, allocations: 51.91 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1553, allocations: 0.501 MB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.1558, allocations: 86.66 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.156, allocations: 36.83 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1561, allocations: 11.98 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.1564, allocations: 83.3 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 3.557e-06/0.1564, allocations: 0 / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007505/0.1571, allocations: 145.5 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.1572, allocations: 55.34 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.1576, allocations: 198.3 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1576, allocations: 29.7 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1577, allocations: 120 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.1578, allocations: 31.73 kB / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.1579, allocations: 29.7 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1581, allocations: 326.8 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1583, allocations: 27.98 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1585, allocations: 68.39 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.1589, allocations: 112.5 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1589, allocations: 0 / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005715/0.1595, allocations: 133.5 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1595, allocations: 5.875 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1595, allocations: 4 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.1595, allocations: 3.984 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1598, allocations: 23.94 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1598, allocations: 3.984 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1599, allocations: 20.06 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1599, allocations: 8 kB / 0.5632 GB, free: 14.19 MB / 430.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001982/0.1601, allocations: 129.7 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.1602, allocations: 19.89 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.1603, allocations: 13.41 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1603, allocations: 3.938 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1603, allocations: 0 / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1603, allocations: 0 / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1606, allocations: 217.5 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1606, allocations: 4 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1607, allocations: 16 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1607, allocations: 0 / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1608, allocations: 0 / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1608, allocations: 7.938 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1608, allocations: 0 / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.1614, allocations: 184.8 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.1615, allocations: 93.3 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1616, allocations: 0 / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1617, allocations: 23.86 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.1618, allocations: 4 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1618, allocations: 7.984 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.162, allocations: 144.4 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.162, allocations: 0 / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1625, allocations: 27.94 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.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.002487/0.165, allocations: 401.6 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004763/0.1654, allocations: 83.77 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1654, allocations: 7.938 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.1656, allocations: 31.98 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.1662, allocations: 36.28 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.1672, allocations: 305.2 kB / 0.5649 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.1677, allocations: 0.7161 MB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.1678, allocations: 19.42 kB / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1678, allocations: 0 / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of Templates: time 0.007811/0.1756, allocations: 2.211 MB / 0.5678 GB, free: 9.523 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 8.061069879011484]