Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001512/0.001512, allocations: 194 kB / 18.12 MB, free: 5.383 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.377/1.377, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2224/0.2224, allocations: 44.19 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.59 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003161/0.1465, allocations: 1.7 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.1473, allocations: 415.2 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1473, allocations: 7.875 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1476, allocations: 63.86 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1477, allocations: 35.89 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.148, allocations: 114.5 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1482, allocations: 79.75 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1483, allocations: 23.97 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.1484, allocations: 23.92 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.1485, allocations: 47.81 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1485, allocations: 4 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.1486, allocations: 43.98 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1487, allocations: 27.84 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1487, allocations: 31.75 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1489, allocations: 103.7 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1489, allocations: 0 / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1489, allocations: 4 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.149, allocations: 0 / 471.2 MB, free: 12.13 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005093/0.1495, allocations: 407.3 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1495, allocations: 8.031 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1496, allocations: 8.844 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1498, allocations: 196.7 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1498, allocations: 4.312 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1498, allocations: 11.94 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.15, allocations: 61.67 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.15, allocations: 0 / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.15, allocations: 0 / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.15, allocations: 4 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1502, allocations: 35.97 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.1506, allocations: 312.6 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1508, allocations: 54.55 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.1509, allocations: 28.97 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.151, allocations: 11.97 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.151, allocations: 30.56 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.151, allocations: 4 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0014/0.1524, allocations: 384.8 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1525, allocations: 51.41 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1526, allocations: 185.9 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1527, allocations: 33.64 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.1527, allocations: 108 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1528, allocations: 31.55 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1528, allocations: 25.7 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.153, allocations: 322.8 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1531, allocations: 43.97 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1532, allocations: 39.97 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1535, allocations: 108.7 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1535, allocations: 0 / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003008/0.1538, allocations: 137.8 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1538, allocations: 7.984 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1538, allocations: 3.938 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1538, allocations: 4 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1539, allocations: 23.98 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.154, allocations: 4 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.154, allocations: 15.92 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.154, allocations: 4 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001135/0.1542, allocations: 122.4 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1542, allocations: 11.89 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.1546, allocations: 166.8 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1546, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1546, allocations: 8 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1546, allocations: 3.984 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.1553, allocations: 475.9 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1553, allocations: 0 / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.1554, allocations: 27.92 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1554, allocations: 4 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1554, allocations: 0 / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1554, allocations: 4 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1554, allocations: 0 / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.1558, allocations: 257 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1558, allocations: 89 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1559, allocations: 0 / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.156, allocations: 19.98 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.156, allocations: 8.078 kB / 475 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.156, allocations: 7.938 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1561, allocations: 139.2 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1561, allocations: 0 / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1564, allocations: 27.89 kB / 475.2 MB, free: 7.785 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001059/0.1575, allocations: 455.4 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1578, allocations: 103.9 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1578, allocations: 4 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1579, allocations: 59.91 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1583, allocations: 19.86 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.1589, allocations: 313.6 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1593, allocations: 0.7082 MB / 476.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1593, allocations: 24.39 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1594, allocations: 15.44 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1594, allocations: 0 / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Templates: time 0.00416/0.1635, allocations: 1.44 MB / 478.3 MB, free: 4.793 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches