Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 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 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 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 95.97 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009925/0.0009926, allocations: 175.7 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.7 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2867/0.2867, allocations: 43.54 MB / 314.5 MB, free: 8.809 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 15.98 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002345/0.1414, allocations: 1.516 MB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1429, allocations: 0.8162 MB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.143, allocations: 0 / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.1435, allocations: 243.4 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1438, allocations: 159.6 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1442, allocations: 139.6 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1445, allocations: 163.6 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1446, allocations: 17.55 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1448, allocations: 115.6 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1449, allocations: 131.6 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.145, allocations: 4 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.1451, allocations: 27.94 kB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.1451, allocations: 63.8 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.1452, allocations: 61.52 kB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1454, allocations: 160 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1454, allocations: 0 / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1454, allocations: 0 / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1455, allocations: 0 / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007927/0.1463, allocations: 0.5251 MB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1463, allocations: 16.02 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.1464, allocations: 27.62 kB / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.1468, allocations: 275 kB / 447.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1468, allocations: 4 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1468, allocations: 8 kB / 447.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1471, allocations: 91.36 kB / 447.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1471, allocations: 4 kB / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1471, allocations: 11.94 kB / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1471, allocations: 0 / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1472, allocations: 39.92 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.1478, allocations: 453 kB / 447.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.1481, allocations: 117.4 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1481, allocations: 4 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1483, allocations: 117 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1484, allocations: 0 / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000859/0.1492, allocations: 383.6 kB / 448.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1493, allocations: 81.11 kB / 448.5 MB, free: 7.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.1498, allocations: 481.6 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1499, allocations: 29.7 kB / 449 MB, free: 6.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.15, allocations: 156.4 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.1501, allocations: 51.34 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1501, allocations: 4 kB / 449.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1502, allocations: 346.8 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.1503, allocations: 43.98 kB / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1505, allocations: 79.3 kB / 449.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.1506, allocations: 40 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1506, allocations: 0 / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002923/0.1509, allocations: 185.2 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1509, allocations: 4 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1509, allocations: 0 / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1509, allocations: 4 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1511, allocations: 31.92 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1511, allocations: 7.984 kB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.1512, allocations: 8 kB / 449.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1512, allocations: 4 kB / 449.9 MB, free: 5.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001501/0.1514, allocations: 177.8 kB / 450.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1514, allocations: 31.62 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.1515, allocations: 43.11 kB / 450.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1515, allocations: 0 / 450.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1515, allocations: 0 / 450.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1515, allocations: 4 kB / 450.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.1522, allocations: 0.6366 MB / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1522, allocations: 0 / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1523, allocations: 31.86 kB / 450.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1523, allocations: 0 / 450.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1523, allocations: 8 kB / 450.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1523, allocations: 0 / 450.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1524, allocations: 4 kB / 450.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.1528, allocations: 401.2 kB / 451.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1529, allocations: 108.7 kB / 451.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1529, allocations: 8 kB / 451.3 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1531, allocations: 11.98 kB / 451.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1531, allocations: 15.98 kB / 451.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1531, allocations: 4 kB / 451.4 MB, free: 4.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.1535, allocations: 363.1 kB / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1535, allocations: 0 / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.1538, allocations: 39.98 kB / 451.8 MB, free: 3.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001/0.1548, allocations: 470.5 kB / 452.2 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1551, allocations: 127.7 kB / 452.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1551, allocations: 0 / 452.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1552, allocations: 59.91 kB / 452.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1556, allocations: 49.61 kB / 452.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.1564, allocations: 0.5606 MB / 453 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1569, allocations: 0.7868 MB / 453.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.157, allocations: 34.53 kB / 453.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.157, allocations: 27.42 kB / 453.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.157, allocations: 0 / 453.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of Templates: time 0.1927/0.3497, allocations: 2.496 MB / 456.4 MB, free: 45.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches