Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.000998, allocations: 98.7 kB / 17 MB, free: 6.477 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.001085/0.001085, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.483/1.483, allocations: 223.3 MB / 241.9 MB, free: 316 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.2254/0.2254, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 16 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002061/0.1372, allocations: 1.39 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1387, allocations: 0.7998 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.1388, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1391, allocations: 35.84 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1392, allocations: 39.83 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1395, allocations: 91.83 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1397, allocations: 79.7 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1398, allocations: 16.22 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.1399, allocations: 39.78 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.14, allocations: 27.8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.14, allocations: 4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.1401, allocations: 27.98 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.1402, allocations: 23.91 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1402, allocations: 37.64 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1404, allocations: 76.11 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1404, allocations: 0 / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1404, allocations: 4 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1404, allocations: 3.938 kB / 474.3 MB, free: 10.98 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.0005082/0.1409, allocations: 387 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.141, allocations: 8.031 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.141, allocations: 7.906 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1412, allocations: 207.3 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1413, allocations: 8 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1413, allocations: 0 / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1415, allocations: 61.62 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1415, allocations: 0 / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1415, allocations: 4 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1415, allocations: 0 / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.1416, allocations: 15.98 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.142, allocations: 284.8 kB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1422, allocations: 58.69 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.1423, allocations: 20.84 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1423, allocations: 4 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.1425, allocations: 67.39 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1425, allocations: 0 / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1431, allocations: 181.1 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1432, allocations: 51.41 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1433, allocations: 156.7 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1434, allocations: 33.64 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1434, allocations: 96.12 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1435, allocations: 27.64 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.1435, allocations: 8 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1436, allocations: 322.8 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.1437, allocations: 23.98 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.1438, allocations: 33.7 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.1439, allocations: 24 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1439, allocations: 0 / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.144, allocations: 101.5 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1441, allocations: 4 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1441, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1441, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1442, allocations: 20.03 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1442, allocations: 0 / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1443, allocations: 12.17 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1443, allocations: 0 / 476.5 MB, free: 8.574 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.00014/0.1444, allocations: 134.2 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.1445, allocations: 7.906 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1445, allocations: 20.64 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1445, allocations: 0 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1445, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1446, allocations: 4 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.145, allocations: 399.3 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.145, allocations: 0 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1451, allocations: 8 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1451, allocations: 0 / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1451, allocations: 0 / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1451, allocations: 4 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1451, allocations: 0 / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1453, allocations: 208.2 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1454, allocations: 85.02 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1454, allocations: 8 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1455, allocations: 3.984 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1455, allocations: 4 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1456, allocations: 8.375 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1457, allocations: 121.7 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1457, allocations: 0 / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1459, allocations: 27.98 kB / 477.5 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.001098/0.1471, allocations: 472.5 kB / 478 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1472, allocations: 59.91 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1472, allocations: 0 / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.1473, allocations: 27.98 kB / 478 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.0003196/0.1477, allocations: 31.86 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1481, allocations: 221.9 kB / 478.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1484, allocations: 0.6965 MB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1485, allocations: 21.17 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1485, allocations: 15.44 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1485, allocations: 0 / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.00437/0.1529, allocations: 1.585 MB / 480.6 MB, free: 4.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches