Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.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_cpp_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_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001862/0.001862, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008317/0.0008316, allocations: 87.81 kB / 270.9 MB, free: 8.355 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.4113/0.4113, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002335/0.1342, allocations: 1.597 MB / 491.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1354, allocations: 0.6396 MB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1354, allocations: 0 / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1359, allocations: 239.5 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1362, allocations: 171.5 kB / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.1371, allocations: 411.2 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1374, allocations: 227.4 kB / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1376, allocations: 60.69 kB / 493.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1377, allocations: 99.53 kB / 493.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1379, allocations: 163.4 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.138, allocations: 4 kB / 493.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1381, allocations: 51.98 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1382, allocations: 75.73 kB / 493.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.1383, allocations: 69.52 kB / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1386, allocations: 215.8 kB / 494.2 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1386, allocations: 0 / 494.2 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1386, allocations: 0 / 494.2 MB, free: 6.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1386, allocations: 0 / 494.2 MB, free: 6.98 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.0007126/0.1393, allocations: 0.568 MB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1394, allocations: 8.031 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.1395, allocations: 47.41 kB / 494.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1398, allocations: 289.3 kB / 495.1 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1398, allocations: 7.938 kB / 495.1 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1398, allocations: 12 kB / 495.1 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1401, allocations: 109.6 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1401, allocations: 0 / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1401, allocations: 4 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1401, allocations: 4 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1403, allocations: 75.91 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.141, allocations: 480.3 kB / 495.8 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1412, allocations: 102.4 kB / 495.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.1412, allocations: 32.84 kB / 495.9 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1413, allocations: 7.984 kB / 495.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1413, allocations: 30.56 kB / 496 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1413, allocations: 0 / 496 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009353/0.1423, allocations: 387.5 kB / 496.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1423, allocations: 55.36 kB / 496.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.1429, allocations: 0.5249 MB / 496.9 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1429, allocations: 25.7 kB / 497 MB, free: 4.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.143, allocations: 200.3 kB / 497.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.1431, allocations: 59.11 kB / 497.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.1431, allocations: 0 / 497.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1433, allocations: 346.8 kB / 497.5 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1434, allocations: 55.97 kB / 497.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1435, allocations: 55.97 kB / 497.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1436, allocations: 59.98 kB / 497.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1437, allocations: 0 / 497.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003172/0.144, allocations: 197.1 kB / 497.9 MB, free: 3.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.144, allocations: 8 kB / 497.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.144, allocations: 0 / 497.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1441, allocations: 3.984 kB / 497.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1442, allocations: 39.92 kB / 498 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1442, allocations: 4 kB / 498 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.67e-05/0.1443, allocations: 11.94 kB / 498 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1443, allocations: 7.984 kB / 498 MB, free: 2.996 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.0001636/0.1445, allocations: 181.8 kB / 498.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.1445, allocations: 35.53 kB / 498.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.145, allocations: 244.7 kB / 498.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.145, allocations: 3.938 kB / 498.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.145, allocations: 0 / 498.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.145, allocations: 4 kB / 498.4 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.1458, allocations: 0.6153 MB / 499.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1458, allocations: 4 kB / 499.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1459, allocations: 31.98 kB / 499.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1459, allocations: 3.984 kB / 499.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1459, allocations: 7.953 kB / 499.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1459, allocations: 0 / 499.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1459, allocations: 3.938 kB / 499.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1463, allocations: 306.9 kB / 499.4 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.1464, allocations: 108.7 kB / 499.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1465, allocations: 8 kB / 499.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.1466, allocations: 11.94 kB / 499.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1466, allocations: 15.98 kB / 499.5 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1466, allocations: 4 kB / 499.6 MB, free: 1.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.147, allocations: 391.1 kB / 499.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.147, allocations: 0 / 499.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.1473, allocations: 55.89 kB / 500 MB, free: 0.8828 MB / 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.001384/0.1487, allocations: 0.69 MB / 0.4889 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.149, allocations: 135.9 kB / 0.4891 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.149, allocations: 0 / 0.4891 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1492, allocations: 79.91 kB / 0.4892 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1774/0.3266, allocations: 61.22 kB / 0.4892 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3277, allocations: 0.7179 MB / 0.4899 GB, free: 42.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.328, allocations: 0.7933 MB / 0.4907 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.328, allocations: 32.73 kB / 0.4907 GB, free: 42.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3281, allocations: 0 / 0.4907 GB, free: 42.17 MB / 378.7 MB Notification: Performance of Templates: time 0.006476/0.3345, allocations: 4.205 MB / 0.4948 GB, free: 41.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches