Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 176.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3421/0.3421, allocations: 43.55 MB / 314.5 MB, free: 8.633 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000529/0.0005292, allocations: 14.97 kB / 383.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 58.86 MB / 442.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002109/0.1216, allocations: 1.321 MB / 444.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.1225, allocations: 0.6408 MB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.1226, allocations: 0 / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1228, allocations: 27.84 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.123, allocations: 23.97 kB / 444.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.123, allocations: 4 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1231, allocations: 23.91 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1232, allocations: 7.938 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.1232, allocations: 7.984 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.1233, allocations: 15.92 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1233, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.1233, allocations: 4 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.1234, allocations: 15.94 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1234, allocations: 37.69 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1235, allocations: 52.14 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1235, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1236, allocations: 3.938 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1236, allocations: 4 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003015/0.1239, allocations: 355.2 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1239, allocations: 8.031 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.1239, allocations: 7.906 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1241, allocations: 175 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1241, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1241, allocations: 4 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1243, allocations: 134.7 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1243, allocations: 0 / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1243, allocations: 0 / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.1244, allocations: 19.98 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1245, allocations: 51.81 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.125, allocations: 0.8905 MB / 446.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.1251, allocations: 169.1 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1251, allocations: 79.28 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1252, allocations: 109.8 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.1252, allocations: 0 / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.583e-05/0.1252, allocations: 41.58 kB / 447 MB, free: 8.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1253, allocations: 130.7 kB / 447.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1254, allocations: 178.2 kB / 447.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.1255, allocations: 25.7 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1256, allocations: 155.1 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/0.1256, allocations: 4 kB / 447.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.1256, allocations: 7.938 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1257, allocations: 318.8 kB / 447.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.1257, allocations: 31.98 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1258, allocations: 161.8 kB / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.1259, allocations: 67.91 kB / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1259, allocations: 4 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000267/0.1262, allocations: 185.6 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1262, allocations: 11.95 kB / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1262, allocations: 4 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1263, allocations: 8 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1264, allocations: 35.92 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1264, allocations: 15.92 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.1265, allocations: 27.69 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1265, allocations: 8 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001129/0.1266, allocations: 225.1 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.1267, allocations: 108.9 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1267, allocations: 120.8 kB / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.1268, allocations: 180.2 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.545e-05/0.1269, allocations: 180.3 kB / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/0.1269, allocations: 180.2 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1271, allocations: 425.2 kB / 449.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.1272, allocations: 108.9 kB / 449.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.1272, allocations: 101 kB / 449.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-05/0.1273, allocations: 176.3 kB / 450.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.1273, allocations: 180.2 kB / 450.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.1274, allocations: 188.2 kB / 450.4 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.694e-05/0.1274, allocations: 188.2 kB / 450.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1276, allocations: 307.7 kB / 450.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.1276, allocations: 198 kB / 451.1 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.1277, allocations: 180.3 kB / 451.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1278, allocations: 112.9 kB / 451.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.1279, allocations: 180.2 kB / 451.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.1279, allocations: 104.9 kB / 451.7 MB, free: 3.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.128, allocations: 136 kB / 451.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.128, allocations: 4 kB / 451.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1283, allocations: 8 kB / 451.8 MB, free: 3.477 MB / 382.1 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 (0): * Single equations (assignments): 0 * 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.0004254/0.1287, allocations: 266.6 kB / 452.1 MB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1289, allocations: 71.78 kB / 452.1 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1289, allocations: 0 / 452.1 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1289, allocations: 1.25 kB / 452.2 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1291, allocations: 0.5302 MB / 452.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.1295, allocations: 274.8 kB / 452.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1297, allocations: 0.7048 MB / 453.7 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.1299, allocations: 49.02 kB / 453.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1299, allocations: 19.38 kB / 453.7 MB, free: 1.531 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1299, allocations: 0 / 453.7 MB, free: 1.531 MB / 382.1 MB Notification: Performance of Templates: time 0.002545/0.1325, allocations: 0.6478 MB / 454.4 MB, free: 0.8867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches