Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001324/0.001324, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001421/0.001421, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.504/1.504, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2345/0.2345, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 83.86 kB / 0.4924 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.147, allocations: 65.98 MB / 0.5569 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003879/0.1509, allocations: 1.95 MB / 0.5588 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1529, allocations: 1.075 MB / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.153, allocations: 0 / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1534, allocations: 43.69 kB / 0.5599 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.1537, allocations: 95.5 kB / 0.56 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.154, allocations: 107.6 kB / 0.5601 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1543, allocations: 143.5 kB / 0.5602 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1544, allocations: 21.55 kB / 0.5602 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1545, allocations: 59.72 kB / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1546, allocations: 51.7 kB / 0.5603 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1547, allocations: 8 kB / 0.5603 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1548, allocations: 51.92 kB / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.1548, allocations: 23.92 kB / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.1549, allocations: 55.59 kB / 0.5605 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1552, allocations: 151.3 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1552, allocations: 0 / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1552, allocations: 4 kB / 0.5606 GB, free: 1.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1552, allocations: 0 / 0.5606 GB, free: 1.996 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.0007668/0.156, allocations: 488.1 kB / 0.5611 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.156, allocations: 12.03 kB / 0.5611 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.1561, allocations: 16.84 kB / 0.5611 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.1566, allocations: 232.9 kB / 0.5613 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1566, allocations: 12.38 kB / 0.5613 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1566, allocations: 4.375 kB / 0.5613 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.1569, allocations: 120.4 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1569, allocations: 0 / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1569, allocations: 0 / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1569, allocations: 0 / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1571, allocations: 51.91 kB / 0.5615 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.1578, allocations: 0.5049 MB / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1581, allocations: 86.58 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.1582, allocations: 44.78 kB / 0.5621 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1582, allocations: 0 / 0.5621 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.1584, allocations: 91.3 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1584, allocations: 0 / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004315/0.1589, allocations: 141.5 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1589, allocations: 59.34 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1592, allocations: 202.2 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1592, allocations: 29.7 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.1593, allocations: 116 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1593, allocations: 31.73 kB / 0.5628 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1594, allocations: 33.7 kB / 0.5628 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1595, allocations: 326.8 kB / 0.5631 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.1596, allocations: 31.98 kB / 0.5631 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1597, allocations: 64.39 kB / 0.5632 GB, free: 15.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1599, allocations: 100.2 kB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1599, allocations: 0 / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002904/0.1602, allocations: 133.4 kB / 0.5634 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1602, allocations: 8.469 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1603, allocations: 0 / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1603, allocations: 7.938 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1604, allocations: 24.11 kB / 0.5635 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1604, allocations: 8 kB / 0.5635 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.1605, allocations: 19.81 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1605, allocations: 4 kB / 0.5635 GB, free: 14.76 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.000128/0.1606, allocations: 127.5 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1606, allocations: 15.91 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.1607, allocations: 21.39 kB / 0.5636 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1607, allocations: 0 / 0.5636 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1607, allocations: 4 kB / 0.5636 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1607, allocations: 7.938 kB / 0.5636 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1609, allocations: 217.5 kB / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1609, allocations: 0 / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.161, allocations: 8 kB / 0.5639 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.161, allocations: 4 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.161, allocations: 0 / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.161, allocations: 0 / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.161, allocations: 3.938 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1614, allocations: 188.8 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1615, allocations: 89.05 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1615, allocations: 8 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.1616, allocations: 7.984 kB / 0.5642 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1617, allocations: 3.938 kB / 0.5642 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1617, allocations: 7.984 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1618, allocations: 144.4 kB / 0.5643 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1618, allocations: 7.938 kB / 0.5643 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1621, allocations: 28 kB / 0.5643 GB, free: 13.79 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.001527/0.1636, allocations: 406.3 kB / 0.5647 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1639, allocations: 75.83 kB / 0.5648 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1639, allocations: 0 / 0.5648 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.164, allocations: 35.92 kB / 0.5648 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1643, allocations: 46.77 kB / 0.5649 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.1649, allocations: 300.9 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1653, allocations: 0.7123 MB / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1654, allocations: 19.42 kB / 0.5659 GB, free: 12.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1654, allocations: 3.938 kB / 0.5659 GB, free: 12.3 MB / 430.1 MB Notification: Performance of Templates: time 0.004915/0.1703, allocations: 2.219 MB / 0.568 GB, free: 10.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.153714854968712]