Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 175 kB / 16.72 MB, free: 5.082 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.22/1.22, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007506/0.0007506, allocations: 84.81 kB / 271.2 MB, free: 8.254 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.2976/0.2976, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 16 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001842/0.1146, allocations: 1.305 MB / 492.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.1152, allocations: 307.8 kB / 492.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1152, allocations: 4 kB / 492.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1157, allocations: 439.2 kB / 492.9 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.116, allocations: 243.5 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1162, allocations: 99.81 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1164, allocations: 119.7 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.1165, allocations: 20.16 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.1166, allocations: 95.8 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1168, allocations: 167.7 kB / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1168, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.1169, allocations: 35.97 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.117, allocations: 79.69 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.1171, allocations: 112.9 kB / 493.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1173, allocations: 179.7 kB / 494 MB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1173, allocations: 0 / 494 MB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1173, allocations: 3.938 kB / 494 MB, free: 7.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1173, allocations: 0 / 494 MB, free: 7.711 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.0005849/0.1179, allocations: 0.5875 MB / 494.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1179, allocations: 8.031 kB / 494.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.118, allocations: 44.38 kB / 494.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1183, allocations: 292.2 kB / 494.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1183, allocations: 4.375 kB / 494.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1183, allocations: 4.375 kB / 494.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1184, allocations: 49.62 kB / 495 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1185, allocations: 8 kB / 495 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1185, allocations: 4 kB / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1185, allocations: 0 / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.1186, allocations: 31.91 kB / 495 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.119, allocations: 384.6 kB / 495.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1192, allocations: 46.56 kB / 495.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.1193, allocations: 16.86 kB / 495.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1193, allocations: 4 kB / 495.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1193, allocations: 38.58 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1193, allocations: 0 / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005951/0.1199, allocations: 236 kB / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.12, allocations: 55.34 kB / 495.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.1207, allocations: 0.869 MB / 496.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1207, allocations: 29.7 kB / 496.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1209, allocations: 220 kB / 496.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1209, allocations: 11.81 kB / 496.9 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1209, allocations: 0 / 496.9 MB, free: 4.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1211, allocations: 362.8 kB / 497.3 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.1211, allocations: 23.98 kB / 497.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.1212, allocations: 23.98 kB / 497.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1213, allocations: 56.97 kB / 497.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1213, allocations: 0 / 497.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.1215, allocations: 129.1 kB / 497.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1216, allocations: 11.59 kB / 497.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1216, allocations: 0 / 497.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1216, allocations: 0 / 497.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.1217, allocations: 12 kB / 497.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1217, allocations: 3.984 kB / 497.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1217, allocations: 15.84 kB / 497.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1217, allocations: 0 / 497.5 MB, free: 3.953 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 0.0001747/0.1219, allocations: 213.8 kB / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.122, allocations: 43.52 kB / 497.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.1223, allocations: 141 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1223, allocations: 0 / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1223, allocations: 4 kB / 497.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1223, allocations: 3.938 kB / 497.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1228, allocations: 454.5 kB / 498.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1228, allocations: 4 kB / 498.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.1228, allocations: 15.98 kB / 498.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1228, allocations: 0 / 498.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1229, allocations: 3.938 kB / 498.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1229, allocations: 7.938 kB / 498.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1229, allocations: 0 / 498.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1231, allocations: 223.1 kB / 498.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1232, allocations: 116.5 kB / 498.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1232, allocations: 3.938 kB / 498.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.1233, allocations: 4 kB / 498.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1233, allocations: 7.984 kB / 498.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1234, allocations: 0 / 498.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005488/0.1239, allocations: 0.655 MB / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.1242, allocations: 20 kB / 499.4 MB, free: 1.949 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.0007866/0.125, allocations: 406.2 kB / 499.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1251, allocations: 63.91 kB / 499.9 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1252, allocations: 0 / 499.9 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.1252, allocations: 27.98 kB / 499.9 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1256, allocations: 25.89 kB / 499.9 MB, free: 1.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1267, allocations: 0.8507 MB / 0.4891 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1813/0.3079, allocations: 0.8168 MB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.308, allocations: 16.28 kB / 0.4899 GB, free: 42.76 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.308, allocations: 0 / 0.4899 GB, free: 42.76 MB / 378.7 MB Notification: Performance of Templates: time 0.007105/0.3152, allocations: 3.573 MB / 0.4934 GB, free: 42.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches