Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92.62 kB / 18 MB, free: 5.602 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.001372/0.001372, allocations: 178.3 kB / 18.91 MB, free: 4.738 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.406/1.406, allocations: 223.3 MB / 243 MB, free: 44 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1835/0.1835, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003285, allocations: 9.125 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002712/0.1366, allocations: 1.417 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1382, allocations: 0.846 MB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1384, allocations: 3.938 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1387, allocations: 39.89 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.139, allocations: 59.8 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1394, allocations: 99.27 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1396, allocations: 91.7 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1397, allocations: 4.234 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1398, allocations: 47.77 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.1399, allocations: 27.86 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.14, allocations: 0 / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1401, allocations: 39.98 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.1402, allocations: 31.84 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.1403, allocations: 65.44 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1405, allocations: 88.03 kB / 475.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1405, allocations: 4 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1405, allocations: 0 / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1405, allocations: 0 / 475.8 MB, free: 10.46 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.0005717/0.1411, allocations: 407 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1411, allocations: 8.031 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1412, allocations: 8.844 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1414, allocations: 216.5 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1415, allocations: 8.312 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1415, allocations: 4.125 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1417, allocations: 57.67 kB / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1417, allocations: 0 / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1417, allocations: 0 / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1417, allocations: 3.938 kB / 476.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.1418, allocations: 27.98 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.1423, allocations: 300.8 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1425, allocations: 54.62 kB / 476.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1425, allocations: 24.84 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1426, allocations: 0 / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1428, allocations: 67.39 kB / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1428, allocations: 4 kB / 476.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005684/0.1434, allocations: 181.1 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1434, allocations: 51.41 kB / 477.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1437, allocations: 222.7 kB / 477.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1437, allocations: 33.7 kB / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.1438, allocations: 100.1 kB / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1438, allocations: 27.64 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1438, allocations: 13.72 kB / 477.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.144, allocations: 334.8 kB / 477.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.144, allocations: 23.92 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.1441, allocations: 37.7 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1442, allocations: 61.75 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1443, allocations: 0 / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.1445, allocations: 109.4 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1445, allocations: 4 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1445, allocations: 0 / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1445, allocations: 4 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.1446, allocations: 15.98 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1446, allocations: 0 / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1447, allocations: 7.938 kB / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1447, allocations: 192 / 478.1 MB, free: 7.852 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 ($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.0001196/0.1448, allocations: 139.7 kB / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1449, allocations: 19.78 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.1449, allocations: 21.39 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1449, allocations: 3.984 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1449, allocations: 0 / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1449, allocations: 3.938 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.1454, allocations: 391.3 kB / 478.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.1454, allocations: 4 kB / 478.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.1455, allocations: 15.92 kB / 478.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1455, allocations: 8.031 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1455, allocations: 3.938 kB / 478.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1455, allocations: 384 / 478.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1455, allocations: 4 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1457, allocations: 200.1 kB / 478.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1458, allocations: 97 kB / 479 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.1459, allocations: 3.938 kB / 479 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.146, allocations: 8 kB / 479 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.146, allocations: 11.98 kB / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.146, allocations: 0 / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1462, allocations: 172.3 kB / 479.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1462, allocations: 0 / 479.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1465, allocations: 23.98 kB / 479.2 MB, free: 6.641 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 (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.001133/0.1476, allocations: 459.1 kB / 479.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1478, allocations: 71.83 kB / 479.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1478, allocations: 0 / 479.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.1479, allocations: 27.92 kB / 479.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1483, allocations: 36.03 kB / 479.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.1488, allocations: 319.9 kB / 480.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1492, allocations: 0.7082 MB / 480.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.1492, allocations: 19.44 kB / 480.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1492, allocations: 0 / 480.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Templates: time 0.0043/0.1536, allocations: 1.951 MB / 482.8 MB, free: 3.191 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches