Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001367/0.001367, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001674/0.001674, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9053/0.9053, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.259e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.006135/0.006157, allocations: 2.013 MB / 301.2 MB, free: 104 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1453, allocations: 0.8845 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1455, allocations: 3.406 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.1458, allocations: 50.56 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1462, allocations: 82.22 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1466, allocations: 119.2 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1469, allocations: 206.9 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.147, allocations: 21.17 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1472, allocations: 107 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1473, allocations: 63.41 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1473, allocations: 12.91 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1475, allocations: 53.44 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.1475, allocations: 37.12 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.1476, allocations: 48.42 kB / 302.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1479, allocations: 159.8 kB / 303 MB, free: 19.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1479, allocations: 5.75 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1479, allocations: 0 / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1479, allocations: 0 / 303 MB, free: 19.04 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005797/0.1485, allocations: 459.9 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1485, allocations: 8.844 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1486, allocations: 20.94 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1488, allocations: 175.4 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1488, allocations: 14.48 kB / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1488, allocations: 10.06 kB / 303.7 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.149, allocations: 156 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1491, allocations: 5.188 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1491, allocations: 2.516 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1491, allocations: 1.281 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.1491, allocations: 35.2 kB / 303.9 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1495, allocations: 383.1 kB / 304.2 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1497, allocations: 112 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.1498, allocations: 20.97 kB / 304.4 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1498, allocations: 2.938 kB / 304.4 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.1499, allocations: 122.1 kB / 304.5 MB, free: 17.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.1499, allocations: 0 / 304.5 MB, free: 17.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002123/0.1501, allocations: 90.11 kB / 304.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.1502, allocations: 61.42 kB / 304.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1503, allocations: 206.3 kB / 304.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1504, allocations: 31.73 kB / 304.9 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.1504, allocations: 104.7 kB / 305 MB, free: 17.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1504, allocations: 41.94 kB / 305 MB, free: 17.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.1505, allocations: 34.83 kB / 305 MB, free: 17.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.1505, allocations: 336.4 kB / 305.4 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.1506, allocations: 44.41 kB / 305.4 MB, free: 17.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1506, allocations: 81.38 kB / 305.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1508, allocations: 117.2 kB / 305.6 MB, free: 17.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1508, allocations: 1.219 kB / 305.6 MB, free: 17.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001938/0.151, allocations: 163.1 kB / 305.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.151, allocations: 37.86 kB / 305.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.151, allocations: 1.094 kB / 305.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.151, allocations: 4.609 kB / 305.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1511, allocations: 29.41 kB / 305.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1511, allocations: 4.078 kB / 305.8 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.1512, allocations: 28.83 kB / 305.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1512, allocations: 3.906 kB / 305.9 MB, free: 16.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.536e-05/0.1513, allocations: 136.6 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1514, allocations: 13.98 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.1515, allocations: 88.52 kB / 306.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1515, allocations: 2.828 kB / 306.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1515, allocations: 0 / 306.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1515, allocations: 0.6562 kB / 306.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1516, allocations: 110 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1516, allocations: 5 kB / 306.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.1517, allocations: 25.89 kB / 306.3 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1517, allocations: 4.547 kB / 306.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1518, allocations: 6.578 kB / 306.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1518, allocations: 0.7031 kB / 306.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1518, allocations: 3.031 kB / 306.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.152, allocations: 129.5 kB / 306.4 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.152, allocations: 22.45 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.152, allocations: 7.438 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1521, allocations: 11.39 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.1521, allocations: 21.83 kB / 306.5 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1522, allocations: 10.66 kB / 306.5 MB, free: 16.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.1522, allocations: 70.77 kB / 306.5 MB, free: 16.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1522, allocations: 0 / 306.5 MB, free: 16.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.1525, allocations: 38.98 kB / 306.6 MB, free: 16.5 MB / 282.7 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001272/0.1537, allocations: 0.5078 MB / 307.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1539, allocations: 149.4 kB / 307.2 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.1539, allocations: 5.312 kB / 307.2 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.154, allocations: 41.11 kB / 307.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1542, allocations: 57.59 kB / 307.3 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1547, allocations: 297.4 kB / 307.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.1547, allocations: 75.94 kB / 307.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.1548, allocations: 18.88 kB / 307.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1549, allocations: 92.95 kB / 307.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1549, allocations: 0 / 307.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of Templates: time 0.006596/0.1615, allocations: 3.212 MB / 311 MB, free: 15.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1317330738529563]