Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,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_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,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_cpp_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 174.7 kB / 16.72 MB, free: 4.953 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.251/1.251, allocations: 205.4 MB / 222.9 MB, free: 8.926 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.0007427/0.0007426, allocations: 86.42 kB / 271.2 MB, free: 8.234 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.3353/0.3353, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004301, allocations: 19.98 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.00209/0.123, allocations: 1.305 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.1236, allocations: 311.7 kB / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.683e-05/0.1237, allocations: 0 / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.124, allocations: 67.84 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1243, allocations: 55.81 kB / 492.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1246, allocations: 95.8 kB / 492.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1248, allocations: 63.81 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1249, allocations: 16.19 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.125, allocations: 27.84 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1251, allocations: 39.89 kB / 492.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1251, allocations: 7.938 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.1252, allocations: 27.98 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.1253, allocations: 23.91 kB / 492.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.1254, allocations: 49.52 kB / 492.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1255, allocations: 67.89 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1256, allocations: 3.938 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1256, allocations: 4 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1256, allocations: 0 / 493 MB, free: 8.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005385/0.1261, allocations: 399.3 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1262, allocations: 8.031 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1262, allocations: 8.844 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1265, allocations: 200 kB / 493.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1265, allocations: 384 / 493.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1265, allocations: 8.375 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1267, allocations: 61.61 kB / 493.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1267, allocations: 4 kB / 493.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1267, allocations: 0 / 493.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1267, allocations: 0 / 493.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1269, allocations: 51.95 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1273, allocations: 296.6 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1274, allocations: 50.55 kB / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.1275, allocations: 28.94 kB / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1276, allocations: 0 / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1276, allocations: 34.56 kB / 494.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1276, allocations: 0 / 494.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007959/0.1284, allocations: 245.2 kB / 494.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1285, allocations: 55.41 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1287, allocations: 206.1 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1287, allocations: 25.7 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1288, allocations: 100.1 kB / 494.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1288, allocations: 23.66 kB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1288, allocations: 4 kB / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.129, allocations: 322.8 kB / 495.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1291, allocations: 39.97 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1292, allocations: 47.91 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1295, allocations: 92.75 kB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1295, allocations: 0 / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.1298, allocations: 133.4 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1298, allocations: 8 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1299, allocations: 0 / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1299, allocations: 0 / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.13, allocations: 23.98 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.13, allocations: 3.938 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.1301, allocations: 15.92 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1301, allocations: 12 kB / 495.4 MB, free: 6.039 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 (7): * Single equations (assignments): 7 * 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.0001086/0.1302, allocations: 125.8 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1303, allocations: 11.91 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.1306, allocations: 142.6 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1306, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1306, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1306, allocations: 3.938 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.1312, allocations: 410.5 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1312, allocations: 0 / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.1313, allocations: 23.98 kB / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1313, allocations: 7.984 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1313, allocations: 11.94 kB / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1313, allocations: 0 / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1313, allocations: 0 / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1317, allocations: 231.2 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.1317, allocations: 85.02 kB / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1318, allocations: 3.938 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.1319, allocations: 11.98 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1319, allocations: 11.98 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1319, allocations: 4 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.1321, allocations: 160 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1321, allocations: 0 / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.1323, allocations: 16 kB / 496.7 MB, free: 4.703 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 (7): * Single equations (assignments): 7 * 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.0008436/0.1332, allocations: 415 kB / 497.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.1335, allocations: 95.88 kB / 497.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1335, allocations: 0 / 497.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1337, allocations: 51.97 kB / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.134, allocations: 11.98 kB / 497.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.1345, allocations: 278.9 kB / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1348, allocations: 0.7082 MB / 498.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1349, allocations: 15.38 kB / 498.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1349, allocations: 0 / 498.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of Templates: time 0.003534/0.1384, allocations: 1.622 MB / 499.8 MB, free: 1.504 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches