Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.75 kB / 16.02 MB, free: 72 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.00129/0.001291, allocations: 184.4 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.4281/0.4281, allocations: 43.58 MB / 315 MB, free: 9.023 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.0004901/0.0004901, allocations: 20 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002126/0.1471, allocations: 1.341 MB / 444.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.1479, allocations: 307.7 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.1479, allocations: 8 kB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.1485, allocations: 443.2 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1488, allocations: 243.5 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1491, allocations: 111.8 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1494, allocations: 155.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1495, allocations: 16.17 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1496, allocations: 99.78 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1499, allocations: 207.6 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1499, allocations: 4 kB / 446.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.15, allocations: 27.98 kB / 446.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1501, allocations: 83.62 kB / 446.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.1502, allocations: 128.7 kB / 446.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1505, allocations: 239.2 kB / 446.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1505, allocations: 4 kB / 446.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1505, allocations: 0 / 446.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1505, allocations: 0 / 446.8 MB, free: 9.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007709/0.1513, allocations: 0.5912 MB / 447.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1513, allocations: 16.02 kB / 447.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.1514, allocations: 36.47 kB / 447.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1518, allocations: 300.1 kB / 447.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1518, allocations: 4.375 kB / 447.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1518, allocations: 384 / 447.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.152, allocations: 65.62 kB / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.152, allocations: 0 / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1521, allocations: 3.984 kB / 447.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1521, allocations: 0 / 447.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1522, allocations: 43.95 kB / 447.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1527, allocations: 400.6 kB / 448.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1529, allocations: 42.56 kB / 448.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.153, allocations: 28.94 kB / 448.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.153, allocations: 7.938 kB / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1531, allocations: 30.56 kB / 448.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1531, allocations: 3.938 kB / 448.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009562/0.154, allocations: 323.8 kB / 448.7 MB, free: 7.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1541, allocations: 51.41 kB / 448.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.155, allocations: 0.8534 MB / 449.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1551, allocations: 25.7 kB / 449.6 MB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1553, allocations: 212.1 kB / 449.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.1553, allocations: 23.66 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1554, allocations: 9.719 kB / 449.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1555, allocations: 370.8 kB / 450.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1557, allocations: 39.91 kB / 450.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1558, allocations: 43.97 kB / 450.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.156, allocations: 88.88 kB / 450.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.156, allocations: 0 / 450.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000318/0.1564, allocations: 161.1 kB / 450.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1564, allocations: 4 kB / 450.5 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1564, allocations: 4.312 kB / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1564, allocations: 0 / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1566, allocations: 31.92 kB / 450.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1566, allocations: 0 / 450.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.1567, allocations: 15.92 kB / 450.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1567, allocations: 7.984 kB / 450.6 MB, free: 5.496 MB / 382.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 (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.0001959/0.1569, allocations: 217.8 kB / 450.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1569, allocations: 47.42 kB / 450.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.1573, allocations: 181.4 kB / 451 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1574, allocations: 0 / 451 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1574, allocations: 0 / 451 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1574, allocations: 3.938 kB / 451 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.1581, allocations: 0.4984 MB / 451.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1581, allocations: 0 / 451.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.1582, allocations: 23.98 kB / 451.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1582, allocations: 4 kB / 451.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1582, allocations: 7.922 kB / 451.6 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1582, allocations: 4 kB / 451.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1582, allocations: 0 / 451.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.1586, allocations: 259 kB / 451.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.1587, allocations: 112.5 kB / 451.9 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1587, allocations: 7.938 kB / 452 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1588, allocations: 15.98 kB / 452 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1589, allocations: 7.984 kB / 452 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1589, allocations: 0 / 452 MB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.1595, allocations: 0.655 MB / 452.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1595, allocations: 0 / 452.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1598, allocations: 24 kB / 452.7 MB, free: 3.336 MB / 382.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 (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 Backend phase and start with SimCode phase: time 0.001027/0.1608, allocations: 398.2 kB / 453 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.1612, allocations: 99.88 kB / 453.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1612, allocations: 0 / 453.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1613, allocations: 43.97 kB / 453.2 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1618, allocations: 29.95 kB / 453.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1632, allocations: 0.8766 MB / 454.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.1637, allocations: 0.8262 MB / 454.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.1637, allocations: 24.22 kB / 454.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1638, allocations: 15.42 kB / 455 MB, free: 1.012 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1638, allocations: 0 / 455 MB, free: 1.012 MB / 382.1 MB Notification: Performance of Templates: time 0.2297/0.3935, allocations: 1.388 MB / 456.3 MB, free: 45.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches