Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 96 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 183 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003896, allocations: 10.03 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1466, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002174/0.1488, allocations: 1.39 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1502, allocations: 0.7841 MB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.1503, allocations: 8 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1506, allocations: 35.77 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1508, allocations: 43.88 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1511, allocations: 86.41 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1512, allocations: 67.78 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1514, allocations: 8.234 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.1514, allocations: 39.83 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1515, allocations: 27.86 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1515, allocations: 4 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.1516, allocations: 27.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1517, allocations: 15.92 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.1517, allocations: 37.64 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1519, allocations: 88.08 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1519, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1519, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1519, allocations: 3.938 kB / 474.1 MB, free: 11.05 MB / 350.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.0005866/0.1525, allocations: 395 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1526, allocations: 8.031 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1526, allocations: 11.91 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1529, allocations: 202.8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1529, allocations: 7.938 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1529, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1531, allocations: 57.62 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1531, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1531, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1531, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.1532, allocations: 19.98 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1536, allocations: 288.9 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1538, allocations: 58.61 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1538, allocations: 4 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1541, allocations: 67.52 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1541, allocations: 0 / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.1547, allocations: 169.5 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1548, allocations: 51.41 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1549, allocations: 182.2 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.155, allocations: 37.69 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.155, allocations: 104 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1551, allocations: 31.64 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.1551, allocations: 0 / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1553, allocations: 322.8 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.1554, allocations: 23.94 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.1554, allocations: 33.7 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.1555, allocations: 27.94 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1555, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.1557, allocations: 109.4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1557, allocations: 6.188 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1557, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1557, allocations: 0 / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.1558, allocations: 20.05 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1558, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1559, allocations: 7.984 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1559, allocations: 4 kB / 476.3 MB, free: 8.621 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.156, allocations: 137.4 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.156, allocations: 7.906 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1561, allocations: 16.72 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/0.1562, allocations: 3.984 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1562, allocations: 3.938 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1562, allocations: 0 / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.1567, allocations: 391.3 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1567, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.1567, allocations: 15.97 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1567, allocations: 0 / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1567, allocations: 0 / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1567, allocations: 4 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1567, allocations: 0 / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.157, allocations: 222.1 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.157, allocations: 85.02 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1571, allocations: 8 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.1571, allocations: 7.984 kB / 477.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1572, allocations: 3.938 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1572, allocations: 4 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1573, allocations: 147.2 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1573, allocations: 4.125 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1576, allocations: 27.95 kB / 477.4 MB, free: 7.441 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.1586, allocations: 468.1 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1588, allocations: 55.92 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1588, allocations: 0 / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.1589, allocations: 32.05 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1592, allocations: 19.98 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.1596, allocations: 242.3 kB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.16, allocations: 0.7083 MB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.1601, allocations: 21.17 kB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1601, allocations: 15.44 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1601, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of Templates: time 0.004379/0.1645, allocations: 1.587 MB / 480.5 MB, free: 4.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches