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.0008242/0.0008243, allocations: 100 kB / 17.01 MB, free: 6.098 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.0008906/0.0008905, allocations: 182.7 kB / 17.89 MB, free: 5.68 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.45/1.45, allocations: 223.3 MB / 241.9 MB, free: 324 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.2275/0.2275, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004905, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002071/0.1461, allocations: 1.382 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1474, allocations: 0.8075 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.1475, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1478, allocations: 35.89 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.148, allocations: 47.77 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.1484, allocations: 94.83 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1486, allocations: 79.7 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1488, allocations: 24.19 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1489, allocations: 35.8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.149, allocations: 19.86 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.149, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1491, allocations: 39.97 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1492, allocations: 11.92 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1492, allocations: 45.64 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1494, allocations: 84.09 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1494, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1494, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1495, allocations: 3.938 kB / 474.3 MB, free: 10.95 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.0006113/0.1501, allocations: 398.9 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1501, allocations: 12.03 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1502, allocations: 7.906 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1504, allocations: 198.8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1504, allocations: 7.984 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1505, allocations: 8 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1506, allocations: 57.56 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1506, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1507, allocations: 4 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1507, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.1508, allocations: 19.98 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.1512, allocations: 280.9 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1514, allocations: 62.62 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1514, allocations: 24.84 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1515, allocations: 0 / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1517, allocations: 71.38 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1517, allocations: 8 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.1523, allocations: 165.2 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1523, allocations: 55.41 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1526, allocations: 186.2 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1526, allocations: 25.7 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.1527, allocations: 100.1 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1527, allocations: 23.66 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.1527, allocations: 4 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1529, allocations: 330.8 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.153, allocations: 19.98 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1531, allocations: 37.64 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.1532, allocations: 27.94 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1532, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1534, allocations: 109.5 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1534, allocations: 11.97 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1534, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1534, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1535, allocations: 16 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1536, allocations: 0 / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.1536, allocations: 12.17 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1536, allocations: 0 / 476.5 MB, free: 8.484 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.0001464/0.1538, allocations: 130.3 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1538, allocations: 7.906 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1539, allocations: 24.7 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1539, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1539, allocations: 4 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1539, allocations: 0 / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1544, allocations: 383.3 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1544, allocations: 0 / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.1545, allocations: 11.94 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.1545, allocations: 3.984 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1545, allocations: 12.03 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1545, allocations: 0 / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1545, allocations: 0 / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1548, allocations: 208.1 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.1549, allocations: 89.02 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1549, allocations: 3.984 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.155, allocations: 8 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.155, allocations: 8.375 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1551, allocations: 7.984 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1552, allocations: 143.1 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1552, allocations: 0 / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1555, allocations: 27.98 kB / 477.6 MB, free: 7.324 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.001156/0.1567, allocations: 472.5 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1569, allocations: 55.92 kB / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1569, allocations: 0 / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.157, allocations: 23.98 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1573, allocations: 40.17 kB / 478.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.1579, allocations: 234.5 kB / 478.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1583, allocations: 0.712 MB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.1584, allocations: 12.88 kB / 479.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1584, allocations: 19.38 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1584, allocations: 0 / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Templates: time 0.005182/0.1636, allocations: 1.591 MB / 480.7 MB, free: 4.316 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches