Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001487/0.001487, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001711/0.001711, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.661/1.661, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.253/0.253, allocations: 46.91 MB / 357.1 MB, free: 10.39 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 71.91 kB / 0.4915 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1391, allocations: 65.98 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003357/0.1425, allocations: 1.743 MB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1451, allocations: 1.645 MB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.1451, allocations: 4 kB / 0.5592 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1454, allocations: 35.77 kB / 0.5593 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1457, allocations: 103.5 kB / 0.5594 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1459, allocations: 79.67 kB / 0.5595 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1461, allocations: 107.7 kB / 0.5596 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.1462, allocations: 12 kB / 0.5596 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1463, allocations: 43.78 kB / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1465, allocations: 51.77 kB / 0.5597 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1465, allocations: 8 kB / 0.5597 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.1467, allocations: 103.9 kB / 0.5598 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1467, allocations: 19.92 kB / 0.5598 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.1468, allocations: 39.67 kB / 0.5598 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1471, allocations: 171.4 kB / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1471, allocations: 3.984 kB / 0.56 GB, free: 1.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1471, allocations: 0 / 0.56 GB, free: 1.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1471, allocations: 4 kB / 0.56 GB, free: 1.133 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006615/0.1478, allocations: 422.7 kB / 0.5604 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1478, allocations: 12.03 kB / 0.5604 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.1479, allocations: 16.78 kB / 0.5604 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1482, allocations: 212.7 kB / 0.5606 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1482, allocations: 3.938 kB / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1482, allocations: 8 kB / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1484, allocations: 63.39 kB / 0.5607 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1484, allocations: 4 kB / 0.5607 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1484, allocations: 7.984 kB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1484, allocations: 0 / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.1485, allocations: 15.98 kB / 0.5607 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.149, allocations: 288.8 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1491, allocations: 54.67 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1492, allocations: 20.86 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1492, allocations: 3.984 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1494, allocations: 71.33 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1494, allocations: 0 / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006286/0.15, allocations: 173.4 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.1501, allocations: 84.98 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1503, allocations: 173.3 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1503, allocations: 29.7 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.1504, allocations: 100.1 kB / 0.5617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1505, allocations: 31.73 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1505, allocations: 17.72 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1507, allocations: 322.8 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1507, allocations: 28.3 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.1508, allocations: 46.56 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1509, allocations: 57.66 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1509, allocations: 4 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.1512, allocations: 97.61 kB / 0.5623 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1512, allocations: 9.875 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1512, allocations: 0 / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1512, allocations: 0 / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1513, allocations: 23.98 kB / 0.5623 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1513, allocations: 7.938 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1514, allocations: 4 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1514, allocations: 7.938 kB / 0.5623 GB, free: 14.51 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001099/0.1515, allocations: 122 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1515, allocations: 7.953 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1516, allocations: 16.7 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1516, allocations: 0 / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/0.1516, allocations: 3.938 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1516, allocations: 4 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.1521, allocations: 403.4 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1521, allocations: 0 / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.1522, allocations: 15.94 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1522, allocations: 3.984 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1522, allocations: 0 / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.1522, allocations: 7.938 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1522, allocations: 0 / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1525, allocations: 196.4 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.1526, allocations: 89 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1526, allocations: 7.984 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1527, allocations: 0 / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1527, allocations: 8 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1527, allocations: 4 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1529, allocations: 131.2 kB / 0.5633 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1529, allocations: 4 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1532, allocations: 39.88 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002059/0.1552, allocations: 0.5484 MB / 0.5639 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1555, allocations: 59.95 kB / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1555, allocations: 0 / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.1556, allocations: 27.92 kB / 0.5639 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1559, allocations: 37.44 kB / 0.564 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1565, allocations: 198.8 kB / 0.5642 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1568, allocations: 0.7003 MB / 0.5649 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.1569, allocations: 16.88 kB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.157, allocations: 19.38 kB / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.157, allocations: 0 / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Templates: time 0.006111/0.1631, allocations: 2.366 MB / 0.5672 GB, free: 9.566 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.475865565240383]