Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 93.56 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4057/0.4057, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009671/0.0009676, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1363, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003846/0.1402, allocations: 1.764 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1428, allocations: 1.371 MB / 490.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.1429, allocations: 4 kB / 490.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.1433, allocations: 31.91 kB / 490.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1436, allocations: 63.69 kB / 490.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1438, allocations: 67.86 kB / 490.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.144, allocations: 91.75 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1441, allocations: 16.2 kB / 490.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.1442, allocations: 39.78 kB / 490.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1443, allocations: 31.84 kB / 490.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1444, allocations: 8 kB / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1445, allocations: 59.91 kB / 490.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1445, allocations: 19.91 kB / 490.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.1446, allocations: 27.81 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1448, allocations: 123.9 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1448, allocations: 0 / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1448, allocations: 0 / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1448, allocations: 0 / 490.7 MB, free: 8.793 MB / 378.7 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.0006152/0.1455, allocations: 399.1 kB / 491.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1455, allocations: 12.03 kB / 491.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1456, allocations: 8.844 kB / 491.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1458, allocations: 212.1 kB / 491.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1458, allocations: 4.359 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1458, allocations: 12.06 kB / 491.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.146, allocations: 71.39 kB / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.146, allocations: 0 / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1461, allocations: 3.938 kB / 491.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1461, allocations: 8 kB / 491.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.1461, allocations: 15.98 kB / 491.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1465, allocations: 288.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1467, allocations: 50.69 kB / 491.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1467, allocations: 24.84 kB / 491.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1467, allocations: 4 kB / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1469, allocations: 63.39 kB / 491.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1469, allocations: 3.938 kB / 491.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005091/0.1475, allocations: 169.6 kB / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1475, allocations: 77.11 kB / 492.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1476, allocations: 153.8 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1477, allocations: 33.7 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1477, allocations: 92.14 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1478, allocations: 31.62 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1478, allocations: 21.72 kB / 492.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.148, allocations: 322.8 kB / 492.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.148, allocations: 28.05 kB / 492.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.1481, allocations: 42.56 kB / 492.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1482, allocations: 65.67 kB / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1482, allocations: 0 / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1484, allocations: 93.59 kB / 493 MB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1484, allocations: 4 kB / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1484, allocations: 0 / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1484, allocations: 0 / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1485, allocations: 23.92 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1485, allocations: 0 / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.1486, allocations: 11.97 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1486, allocations: 4 kB / 493 MB, free: 6.234 MB / 378.7 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.000101/0.1487, allocations: 121.8 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1487, allocations: 11.81 kB / 493.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.1488, allocations: 12.72 kB / 493.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1488, allocations: 0 / 493.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1488, allocations: 3.938 kB / 493.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1488, allocations: 3.938 kB / 493.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1492, allocations: 395.3 kB / 493.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1493, allocations: 4.172 kB / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1493, allocations: 8 kB / 493.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1493, allocations: 7.938 kB / 493.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1493, allocations: 3.938 kB / 493.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1493, allocations: 0 / 493.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1493, allocations: 3.938 kB / 493.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.1499, allocations: 0.7835 MB / 494.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1499, allocations: 85.02 kB / 494.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.15, allocations: 7.984 kB / 494.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.15, allocations: 0 / 494.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1501, allocations: 11.98 kB / 494.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1501, allocations: 11.98 kB / 494.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.1502, allocations: 114.7 kB / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1502, allocations: 0 / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.1506, allocations: 31.98 kB / 494.6 MB, free: 4.484 MB / 378.7 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.0009836/0.1515, allocations: 0.5077 MB / 495.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1517, allocations: 59.84 kB / 495.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1517, allocations: 0 / 495.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.1518, allocations: 31.98 kB / 495.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1521, allocations: 32.66 kB / 495.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1526, allocations: 327.6 kB / 495.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1529, allocations: 0.7004 MB / 496.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.153, allocations: 17.19 kB / 496.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.153, allocations: 19.42 kB / 496.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.153, allocations: 0 / 496.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of Templates: time 0.004124/0.1572, allocations: 1.936 MB / 498.3 MB, free: 0.8516 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches