Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.000751, allocations: 97.17 kB / 16.02 MB, free: 84 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.0008818/0.0008817, allocations: 183.7 kB / 16.92 MB, free: 6.934 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.07/2.07, allocations: 205.4 MB / 223.1 MB, free: 5.484 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.4952/0.4952, allocations: 43.58 MB / 315 MB, free: 8.832 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.0005629/0.0005631, allocations: 18.66 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 58.85 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002969/0.1371, allocations: 1.648 MB / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1391, allocations: 0.6589 MB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.1394, allocations: 0 / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007218/0.1402, allocations: 239.5 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1408, allocations: 179.5 kB / 446.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1422, allocations: 427.2 kB / 446.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.1428, allocations: 259.3 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.1431, allocations: 60.94 kB / 446.9 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.1434, allocations: 115.5 kB / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.1437, allocations: 179.4 kB / 447.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.1438, allocations: 4 kB / 447.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.144, allocations: 67.91 kB / 447.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1442, allocations: 71.75 kB / 447.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1443, allocations: 128.7 kB / 447.4 MB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.1449, allocations: 275 kB / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1449, allocations: 0 / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1449, allocations: 0 / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1449, allocations: 0 / 447.7 MB, free: 8.402 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009385/0.1459, allocations: 0.5565 MB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1459, allocations: 12.03 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1461, allocations: 44.45 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.1465, allocations: 310.1 kB / 448.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1465, allocations: 8.375 kB / 448.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1465, allocations: 12.38 kB / 448.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1468, allocations: 109.7 kB / 448.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1468, allocations: 4 kB / 448.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1469, allocations: 4 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1469, allocations: 4 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.1471, allocations: 71.95 kB / 448.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.1478, allocations: 480.2 kB / 449.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1481, allocations: 94.55 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.1481, allocations: 36.84 kB / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.1482, allocations: 7.984 kB / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1482, allocations: 30.56 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1482, allocations: 0 / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001159/0.1494, allocations: 400.1 kB / 449.9 MB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1495, allocations: 55.41 kB / 449.9 MB, free: 6.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.1503, allocations: 0.5249 MB / 450.4 MB, free: 5.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.1504, allocations: 29.7 kB / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1506, allocations: 196.3 kB / 450.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.1507, allocations: 55.17 kB / 450.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.1507, allocations: 17.72 kB / 450.7 MB, free: 5.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.151, allocations: 346.8 kB / 451.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1511, allocations: 51.97 kB / 451.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1513, allocations: 59.97 kB / 451.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1516, allocations: 122.9 kB / 451.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1516, allocations: 3.938 kB / 451.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004198/0.152, allocations: 212.5 kB / 451.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.152, allocations: 4 kB / 451.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.152, allocations: 0 / 451.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.1521, allocations: 4 kB / 451.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1523, allocations: 31.98 kB / 451.5 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1523, allocations: 0 / 451.5 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.1524, allocations: 23.92 kB / 451.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1524, allocations: 4 kB / 451.6 MB, free: 4.309 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 (17): * Single equations (assignments): 17 * 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.0002285/0.1526, allocations: 173.7 kB / 451.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.1527, allocations: 39.53 kB / 451.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.1533, allocations: 241.3 kB / 452 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1533, allocations: 4 kB / 452 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1533, allocations: 0 / 452 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.1534, allocations: 3.984 kB / 452 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.1543, allocations: 0.6152 MB / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1543, allocations: 0 / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1545, allocations: 43.91 kB / 452.7 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.1545, allocations: 4 kB / 452.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1545, allocations: 0 / 452.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1545, allocations: 0 / 452.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.1545, allocations: 3.938 kB / 452.7 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.155, allocations: 302.5 kB / 453 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1552, allocations: 120.6 kB / 453.1 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.1552, allocations: 3.984 kB / 453.1 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.1554, allocations: 8 kB / 453.1 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.1554, allocations: 23.86 kB / 453.1 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1555, allocations: 8 kB / 453.1 MB, free: 2.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004664/0.1559, allocations: 391.1 kB / 453.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.1559, allocations: 4 kB / 453.5 MB, free: 2.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.1563, allocations: 36 kB / 453.6 MB, free: 2.207 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 (17): * Single equations (assignments): 17 * 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.001979/0.1583, allocations: 0.7138 MB / 454.3 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1587, allocations: 143.8 kB / 454.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1587, allocations: 0 / 454.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1589, allocations: 79.91 kB / 454.5 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.1595, allocations: 65.5 kB / 454.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1607, allocations: 0.7594 MB / 455.3 MB, free: 456 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2378/0.3985, allocations: 0.7981 MB / 456.1 MB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.3989, allocations: 40.28 kB / 456.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.399, allocations: 30.05 kB / 456.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.399, allocations: 2.75 kB / 456.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006243/0.4052, allocations: 2.998 MB / 459.2 MB, free: 45.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches