Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.00155/0.00155, allocations: 181.1 kB / 17.87 MB, free: 5.609 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 376 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.2166/0.2166, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003743, allocations: 15.94 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002241/0.1361, allocations: 1.418 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1376, allocations: 0.8036 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1376, allocations: 3.938 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.138, allocations: 99.78 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1382, allocations: 75.77 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1385, allocations: 95.2 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1386, allocations: 79.83 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.1387, allocations: 27.91 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.1388, allocations: 55.77 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.1389, allocations: 47.83 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.139, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.1391, allocations: 39.97 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.1391, allocations: 31.86 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.1392, allocations: 41.58 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1393, allocations: 116 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1393, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.061e-06/0.1393, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1394, allocations: 4 kB / 474.4 MB, free: 10.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005343/0.1399, allocations: 426.7 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1399, allocations: 20.48 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.14, allocations: 11.81 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.1403, allocations: 214.7 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1403, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1404, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1405, allocations: 81.55 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1405, allocations: 0 / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1406, allocations: 4 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1406, allocations: 4 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1407, allocations: 31.97 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1411, allocations: 336.6 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1414, allocations: 78.48 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1414, allocations: 0 / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1416, allocations: 79.38 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1416, allocations: 0 / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008643/0.1425, allocations: 289.5 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1425, allocations: 63.34 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1428, allocations: 246.5 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1428, allocations: 29.7 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.1429, allocations: 120 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.143, allocations: 43.44 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.143, allocations: 8 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1431, allocations: 326.8 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.1432, allocations: 43.92 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.1433, allocations: 53.7 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.1434, allocations: 47.98 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1434, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002743/0.1437, allocations: 153.4 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1438, allocations: 7.938 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1438, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1438, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1439, allocations: 31.98 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1439, allocations: 0 / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.144, allocations: 12.03 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.144, allocations: 4 kB / 477.1 MB, free: 7.875 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 (16): * Single equations (assignments): 16 * 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.0001397/0.1441, allocations: 145.7 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1442, allocations: 19.8 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.1442, allocations: 21.53 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1443, allocations: 0 / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1443, allocations: 0 / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1443, allocations: 7.984 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.1449, allocations: 0.4884 MB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.145, allocations: 4 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.145, allocations: 23.92 kB / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.145, allocations: 0 / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.145, allocations: 11.98 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1451, allocations: 0 / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1451, allocations: 8.016 kB / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1454, allocations: 279.1 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1454, allocations: 92.88 kB / 478.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1455, allocations: 8 kB / 478.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.1456, allocations: 15.92 kB / 478.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1456, allocations: 11.98 kB / 478.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1456, allocations: 4 kB / 478.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1458, allocations: 187.2 kB / 478.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1458, allocations: 0 / 478.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1461, allocations: 39.89 kB / 478.5 MB, free: 6.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.1472, allocations: 0.5242 MB / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1475, allocations: 99.91 kB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1475, allocations: 0 / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.1476, allocations: 59.84 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1478, allocations: 24.17 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.1484, allocations: 352 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1487, allocations: 0.7281 MB / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1488, allocations: 25.41 kB / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1489, allocations: 27.42 kB / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1489, allocations: 0 / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.004695/0.1536, allocations: 2.002 MB / 482.3 MB, free: 2.738 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches