Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 102.2 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.001968/0.001968, allocations: 183.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.487/1.487, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2296/0.2296, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004951, allocations: 12.81 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002325/0.1528, allocations: 1.263 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1544, allocations: 0.9415 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1545, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1547, allocations: 23.86 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.155, allocations: 31.84 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1553, allocations: 71.84 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1555, allocations: 39.89 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1556, allocations: 11.98 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.1557, allocations: 19.92 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1559, allocations: 11.88 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.156, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1561, allocations: 39.91 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.1562, allocations: 3.984 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1563, allocations: 37.64 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1565, allocations: 59.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1565, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1565, allocations: 3.938 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1565, allocations: 0 / 474 MB, free: 11.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007362/0.1573, allocations: 363.4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.1574, allocations: 16.55 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1574, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1577, allocations: 186.9 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1577, allocations: 4 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1578, allocations: 11.89 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.158, allocations: 63.39 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.158, allocations: 0 / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.158, allocations: 8 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.158, allocations: 0 / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1582, allocations: 19.98 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.1586, allocations: 276.9 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1589, allocations: 46.56 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1589, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.159, allocations: 30.56 kB / 475 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.159, allocations: 0 / 475 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006739/0.1597, allocations: 157.6 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1598, allocations: 77.11 kB / 475.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1599, allocations: 140.3 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.16, allocations: 25.7 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1601, allocations: 100.1 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1601, allocations: 15.75 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1601, allocations: 4 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1603, allocations: 318.8 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.1603, allocations: 23.98 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1604, allocations: 45.58 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.1605, allocations: 19.98 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1605, allocations: 4 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001967/0.1607, allocations: 93.89 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1607, allocations: 4 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1607, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1608, allocations: 3.984 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1608, allocations: 15.98 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1609, allocations: 0 / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1609, allocations: 8 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1609, allocations: 4 kB / 476.1 MB, free: 8.879 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 (5): * Single equations (assignments): 5 * 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.0001074/0.161, allocations: 125.7 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1611, allocations: 7.906 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.1613, allocations: 93.62 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1613, allocations: 4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1613, allocations: 4 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1613, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1618, allocations: 350.5 kB / 476.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1618, allocations: 0 / 476.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1619, allocations: 19.98 kB / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1619, allocations: 0 / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1619, allocations: 0 / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1619, allocations: 0 / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1619, allocations: 4 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1621, allocations: 191.4 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1622, allocations: 85.02 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1622, allocations: 256 / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.1623, allocations: 11.98 kB / 476.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1623, allocations: 7.938 kB / 476.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1624, allocations: 4 kB / 476.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.1624, allocations: 115.2 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1627, allocations: 20 kB / 477.1 MB, free: 7.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001234/0.164, allocations: 441.5 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1642, allocations: 55.97 kB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1642, allocations: 0 / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.1643, allocations: 27.92 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1646, allocations: 19.88 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.1651, allocations: 172.8 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1654, allocations: 0.6887 MB / 478.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.1655, allocations: 11.97 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1656, allocations: 19.44 kB / 478.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1656, allocations: 0 / 478.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004509/0.1701, allocations: 1.264 MB / 479.8 MB, free: 5.184 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches