Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 176.9 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.621/1.621, 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.000816/0.0008162, allocations: 91.91 kB / 270.9 MB, free: 8.359 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.3988/0.3988, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004011, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001997/0.1372, allocations: 1.255 MB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005577/0.1378, allocations: 299.8 kB / 491.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.1379, allocations: 3.938 kB / 491.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1382, allocations: 71.84 kB / 491.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1383, allocations: 55.88 kB / 491.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1386, allocations: 79.78 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1387, allocations: 59.88 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1388, allocations: 19.89 kB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.1389, allocations: 23.92 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.139, allocations: 39.89 kB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.139, allocations: 0 / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.1391, allocations: 27.94 kB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.1392, allocations: 11.98 kB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1392, allocations: 33.64 kB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1393, allocations: 67.89 kB / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1393, allocations: 0 / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1394, allocations: 0 / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1394, allocations: 0 / 492.3 MB, free: 9.172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004852/0.1399, allocations: 398.8 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1399, allocations: 12.02 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1399, allocations: 11.86 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1401, allocations: 194.8 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1402, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1402, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1403, allocations: 45.69 kB / 492.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1404, allocations: 7.906 kB / 492.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1404, allocations: 4 kB / 492.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1404, allocations: 4 kB / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.1405, allocations: 31.92 kB / 493 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1409, allocations: 280.9 kB / 493.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1411, allocations: 50.55 kB / 493.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.1412, allocations: 16.86 kB / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1412, allocations: 0 / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1412, allocations: 34.56 kB / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1412, allocations: 0 / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005976/0.1419, allocations: 177.3 kB / 493.5 MB, free: 7.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1419, allocations: 51.41 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1421, allocations: 194.2 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1421, allocations: 29.64 kB / 493.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1422, allocations: 111.9 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1422, allocations: 15.81 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.1422, allocations: 0 / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1423, allocations: 318.8 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.1424, allocations: 23.98 kB / 494.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.1425, allocations: 27.98 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.1426, allocations: 23.98 kB / 494.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1426, allocations: 4 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.1428, allocations: 97.56 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1428, allocations: 7.953 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1428, allocations: 256 / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1428, allocations: 0 / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.1429, allocations: 19.98 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1429, allocations: 7.875 kB / 494.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.143, allocations: 8 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.143, allocations: 0 / 494.4 MB, free: 6.789 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 (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 9.311e-05/0.1431, allocations: 129.8 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1431, allocations: 7.906 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.1434, allocations: 109.9 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1434, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1434, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1434, allocations: 8 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.1438, allocations: 362.4 kB / 495 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1438, allocations: 0 / 495 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.1439, allocations: 15.95 kB / 495 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1439, allocations: 4 kB / 495 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1439, allocations: 8.266 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1439, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1439, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1441, allocations: 187.4 kB / 495.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1442, allocations: 96.98 kB / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1442, allocations: 3.953 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1443, allocations: 8.188 kB / 495.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1443, allocations: 7.984 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1443, allocations: 4 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1445, allocations: 151.9 kB / 495.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1445, allocations: 0 / 495.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.1447, allocations: 16 kB / 495.5 MB, free: 5.586 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 (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.0008252/0.1455, allocations: 400.6 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1457, allocations: 55.97 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1458, allocations: 0 / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1458, allocations: 39.91 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1462, allocations: 19.88 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.1466, allocations: 254.7 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1469, allocations: 0.7043 MB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.147, allocations: 11.44 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.147, allocations: 0 / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of Templates: time 0.003055/0.15, allocations: 1.466 MB / 498.5 MB, free: 2.629 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches