Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 180.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008062/0.000806, allocations: 92.47 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4624/0.4624, allocations: 43.57 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003871, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002463/0.1448, allocations: 1.597 MB / 491.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1461, allocations: 0.7258 MB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.1462, allocations: 4 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.1466, allocations: 243.4 kB / 492.8 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.147, allocations: 167.5 kB / 493 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1482, allocations: 0.5654 MB / 493.5 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.1486, allocations: 255.3 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1488, allocations: 68.62 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1489, allocations: 107.5 kB / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1491, allocations: 159.4 kB / 494.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.1492, allocations: 4 kB / 494.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1493, allocations: 51.98 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1494, allocations: 91.61 kB / 494.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1495, allocations: 65.52 kB / 494.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1498, allocations: 223.6 kB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1498, allocations: 0 / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1498, allocations: 0 / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1498, allocations: 0 / 494.5 MB, free: 6.648 MB / 378.7 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.0007306/0.1505, allocations: 0.5797 MB / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1506, allocations: 8.031 kB / 495.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.1507, allocations: 51.38 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.151, allocations: 297.3 kB / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1511, allocations: 4 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1511, allocations: 12 kB / 495.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1514, allocations: 125.5 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1514, allocations: 4 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1514, allocations: 4 kB / 495.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1514, allocations: 4 kB / 495.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.1516, allocations: 103.8 kB / 495.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.1524, allocations: 0.4886 MB / 496.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1526, allocations: 118.5 kB / 496.3 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.1527, allocations: 40.83 kB / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1527, allocations: 0 / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1528, allocations: 38.5 kB / 496.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.1528, allocations: 0 / 496.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.1538, allocations: 452 kB / 496.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1539, allocations: 55.36 kB / 496.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.1544, allocations: 0.5249 MB / 497.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1544, allocations: 29.7 kB / 497.5 MB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1546, allocations: 200.3 kB / 497.6 MB, free: 3.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1546, allocations: 51.27 kB / 497.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.1547, allocations: 0 / 497.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1548, allocations: 350.8 kB / 498 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.155, allocations: 67.95 kB / 498.1 MB, free: 2.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1551, allocations: 75.95 kB / 498.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1553, allocations: 75.88 kB / 498.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1553, allocations: 0 / 498.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003793/0.1557, allocations: 236.5 kB / 498.5 MB, free: 2.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1557, allocations: 8 kB / 498.5 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1557, allocations: 0 / 498.5 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1557, allocations: 3.938 kB / 498.5 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1559, allocations: 35.97 kB / 498.5 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1559, allocations: 4 kB / 498.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.156, allocations: 19.89 kB / 498.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.156, allocations: 4 kB / 498.6 MB, free: 2.406 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.1562, allocations: 189.7 kB / 498.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1562, allocations: 39.47 kB / 498.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.1567, allocations: 277.2 kB / 499.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1567, allocations: 0 / 499.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1568, allocations: 4 kB / 499.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1568, allocations: 0 / 499.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.1576, allocations: 0.6777 MB / 499.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1576, allocations: 0 / 499.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1577, allocations: 35.92 kB / 499.8 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1577, allocations: 0 / 499.8 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1578, allocations: 15.94 kB / 499.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1578, allocations: 0 / 499.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1578, allocations: 3.984 kB / 499.8 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.1582, allocations: 333.5 kB / 0.4884 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.1583, allocations: 120.6 kB / 0.4885 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1583, allocations: 0 / 0.4885 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.1584, allocations: 15.94 kB / 0.4885 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.1585, allocations: 15.92 kB / 0.4885 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1585, allocations: 8 kB / 0.4885 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003828/0.1589, allocations: 399.1 kB / 0.4889 GB, free: 200 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 0.4889 GB, free: 200 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.1592, allocations: 55.89 kB / 0.489 GB, free: 144 kB / 378.7 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 (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.2364/0.3956, allocations: 0.683 MB / 0.4896 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.3965, allocations: 169.2 kB / 0.4898 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3966, allocations: 1.031 kB / 0.4898 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.3969, allocations: 93.84 kB / 0.4899 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.398, allocations: 64.28 kB / 0.49 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3999, allocations: 0.7562 MB / 0.4907 GB, free: 43.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4004, allocations: 0.8087 MB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4006, allocations: 36.78 kB / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4006, allocations: 0 / 0.4915 GB, free: 42.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01534/0.4159, allocations: 4.495 MB / 0.4959 GB, free: 41.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches