Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 174.4 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007388/0.0007388, allocations: 97.47 kB / 271.2 MB, free: 8.25 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.294/0.294, allocations: 43.55 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 19.94 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002044/0.1168, allocations: 1.317 MB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1179, allocations: 0.8911 MB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.1179, allocations: 0 / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1181, allocations: 15.92 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1183, allocations: 35.91 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1186, allocations: 95.81 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1187, allocations: 51.84 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.1188, allocations: 16.16 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.1188, allocations: 27.86 kB / 493.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1189, allocations: 19.92 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.119, allocations: 4 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.1191, allocations: 55.84 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1191, allocations: 7.984 kB / 493.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1192, allocations: 45.58 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1193, allocations: 71.81 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1193, allocations: 0 / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1193, allocations: 4 kB / 493.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1193, allocations: 0 / 493.5 MB, free: 7.996 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.0004263/0.1197, allocations: 383.5 kB / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1198, allocations: 8.031 kB / 493.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.1198, allocations: 8.844 kB / 493.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.12, allocations: 188.2 kB / 494 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.12, allocations: 8.375 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1201, allocations: 384 / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1203, allocations: 83.33 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1203, allocations: 0 / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1203, allocations: 3.938 kB / 494.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1203, allocations: 0 / 494.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1205, allocations: 43.97 kB / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1208, allocations: 292.7 kB / 494.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1209, allocations: 46.56 kB / 494.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.121, allocations: 40.81 kB / 494.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.121, allocations: 0 / 494.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.121, allocations: 30.56 kB / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.121, allocations: 4 kB / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006909/0.1217, allocations: 237.2 kB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1218, allocations: 77.11 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1219, allocations: 137.7 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1219, allocations: 29.7 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.122, allocations: 84.14 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.122, allocations: 27.64 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.122, allocations: 0 / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.1221, allocations: 322.8 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1222, allocations: 35.97 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1223, allocations: 65.81 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1226, allocations: 96.83 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1226, allocations: 0 / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000249/0.1228, allocations: 117.5 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1229, allocations: 15.98 kB / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1229, allocations: 0 / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1229, allocations: 0 / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.123, allocations: 19.98 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.123, allocations: 4 kB / 495.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.1231, allocations: 23.86 kB / 495.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1231, allocations: 4 kB / 495.9 MB, free: 5.371 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 7.148e-05/0.1232, allocations: 121.8 kB / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1232, allocations: 7.906 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1235, allocations: 137.9 kB / 496.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1235, allocations: 0 / 496.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1236, allocations: 4 kB / 496.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1236, allocations: 3.938 kB / 496.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.124, allocations: 398.5 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1241, allocations: 0 / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.1241, allocations: 27.98 kB / 496.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1242, allocations: 4.281 kB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1242, allocations: 7.922 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1242, allocations: 3.938 kB / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1242, allocations: 0 / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1245, allocations: 227.8 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1245, allocations: 85.02 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1246, allocations: 7.938 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.1246, allocations: 15.98 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1247, allocations: 11.92 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.1247, allocations: 4 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.1248, allocations: 103.3 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.125, allocations: 27.98 kB / 497 MB, free: 4.094 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.0008455/0.1259, allocations: 434.7 kB / 497.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1262, allocations: 91.92 kB / 497.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1262, allocations: 7.938 kB / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1263, allocations: 55.91 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1266, allocations: 8 kB / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1269, allocations: 215.1 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1272, allocations: 0.6926 MB / 498.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.1273, allocations: 15.42 kB / 498.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1273, allocations: 3.938 kB / 498.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003048/0.1303, allocations: 1.703 MB / 0.4885 GB, free: 0.8672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches