Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009351, allocations: 94.78 kB / 17.35 MB, free: 6.344 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.0009271/0.0009277, allocations: 167.5 kB / 18.25 MB, free: 5.508 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.463/1.463, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2466/0.2466, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 12.66 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002566/0.1476, allocations: 1.378 MB / 473.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1495, allocations: 0.8304 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.1496, allocations: 0 / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.15, allocations: 51.86 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1502, allocations: 51.81 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1505, allocations: 95.77 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1507, allocations: 87.7 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.1507, allocations: 11.92 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.1508, allocations: 35.84 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.1509, allocations: 35.8 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.151, allocations: 4 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.1511, allocations: 31.91 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1511, allocations: 23.92 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.1512, allocations: 61.44 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1515, allocations: 119.8 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1515, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1515, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1515, allocations: 0 / 475.1 MB, free: 10.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006975/0.1522, allocations: 414.9 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1523, allocations: 12.03 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1523, allocations: 8.844 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1526, allocations: 223.9 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1526, allocations: 384 / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1526, allocations: 4.125 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1528, allocations: 53.67 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1528, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1528, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1528, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.1529, allocations: 19.98 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1531, allocations: 185.7 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1533, allocations: 58.55 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1534, allocations: 20.8 kB / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1534, allocations: 0 / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1536, allocations: 71.3 kB / 476.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.1536, allocations: 0 / 476.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002942/0.1539, allocations: 101.5 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.154, allocations: 55.41 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1542, allocations: 262.9 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1542, allocations: 25.7 kB / 476.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.1543, allocations: 112.1 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1544, allocations: 15.81 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.1544, allocations: 13.72 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1546, allocations: 322.8 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.1546, allocations: 15.98 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1547, allocations: 33.7 kB / 477 MB, free: 8.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1548, allocations: 41.66 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1548, allocations: 7.938 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.155, allocations: 89.42 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.155, allocations: 6.5 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.155, allocations: 7.938 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1551, allocations: 0 / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.1552, allocations: 11.94 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1552, allocations: 0 / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1552, allocations: 7.938 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1552, allocations: 7.984 kB / 477.2 MB, free: 8.078 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 (7): * Single equations (assignments): 7 * 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.0001254/0.1554, allocations: 137.8 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1554, allocations: 15.81 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.1555, allocations: 17 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1555, allocations: 0 / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1555, allocations: 0 / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1555, allocations: 0 / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1557, allocations: 201.5 kB / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1557, allocations: 0 / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.1557, allocations: 4 kB / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1557, allocations: 3.984 kB / 477.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1557, allocations: 4.312 kB / 477.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1558, allocations: 8 kB / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1558, allocations: 0 / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.156, allocations: 116.8 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1561, allocations: 89.02 kB / 477.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1561, allocations: 0 / 477.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.1562, allocations: 7.984 kB / 477.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1562, allocations: 8 kB / 477.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1562, allocations: 0 / 477.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1564, allocations: 200.2 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1564, allocations: 0 / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1567, allocations: 19.98 kB / 478 MB, free: 7.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001041/0.1577, allocations: 413.5 kB / 478.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1579, allocations: 39.92 kB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1579, allocations: 4.062 kB / 478.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.158, allocations: 23.98 kB / 478.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1583, allocations: 23.92 kB / 478.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.1588, allocations: 281.8 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1591, allocations: 0.7121 MB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.602e-05/0.1592, allocations: 20.39 kB / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.1592, allocations: 15.38 kB / 479.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1592, allocations: 0 / 479.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of Templates: time 0.004345/0.1636, allocations: 1.441 MB / 481 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches