Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,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_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 183 kB / 16.63 MB, free: 5.137 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001146/0.001146, allocations: 98.28 kB / 269.9 MB, free: 8.438 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.4207/0.4207, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009808/0.0009808, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1163, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003421/0.1198, allocations: 1.675 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1211, allocations: 0.9181 MB / 489.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.1212, allocations: 0 / 489.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.1214, allocations: 15.92 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1216, allocations: 35.84 kB / 489.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1219, allocations: 115.7 kB / 489.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.122, allocations: 55.84 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.1221, allocations: 12.19 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1222, allocations: 27.84 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1223, allocations: 35.86 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1223, allocations: 0 / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1225, allocations: 51.95 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1225, allocations: 15.92 kB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1226, allocations: 15.88 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1227, allocations: 104 kB / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1228, allocations: 0 / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1228, allocations: 0 / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1228, allocations: 0 / 490.1 MB, free: 9.461 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.0004745/0.1232, allocations: 391.1 kB / 490.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1233, allocations: 12.03 kB / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1233, allocations: 8.844 kB / 490.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1235, allocations: 180.3 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1236, allocations: 4.375 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1236, allocations: 384 / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1238, allocations: 83.27 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1238, allocations: 0 / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1238, allocations: 4 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1238, allocations: 0 / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1239, allocations: 35.91 kB / 490.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1243, allocations: 284.8 kB / 491.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1244, allocations: 50.55 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.1245, allocations: 20.94 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1245, allocations: 7.938 kB / 491.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1246, allocations: 34.56 kB / 491.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1246, allocations: 0 / 491.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007105/0.1253, allocations: 201.2 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1253, allocations: 81.11 kB / 491.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1255, allocations: 137.8 kB / 491.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1255, allocations: 25.7 kB / 491.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1255, allocations: 92.14 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1256, allocations: 31.55 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1256, allocations: 21.72 kB / 491.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1257, allocations: 318.8 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1258, allocations: 31.97 kB / 492.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1259, allocations: 45.75 kB / 492.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1262, allocations: 81.06 kB / 492.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1262, allocations: 0 / 492.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002602/0.1264, allocations: 109.6 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1265, allocations: 11.94 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1265, allocations: 0 / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1265, allocations: 0 / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1266, allocations: 19.98 kB / 492.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1266, allocations: 4 kB / 492.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.1267, allocations: 11.92 kB / 492.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1267, allocations: 4 kB / 492.4 MB, free: 6.922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.1268, allocations: 117.8 kB / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1268, allocations: 7.906 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1271, allocations: 129.9 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1271, allocations: 0 / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1271, allocations: 0 / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1271, allocations: 7.922 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.1276, allocations: 390.4 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1276, allocations: 0 / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.1277, allocations: 23.98 kB / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1277, allocations: 0 / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1278, allocations: 3.938 kB / 493 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1278, allocations: 3.938 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1278, allocations: 0 / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.1284, allocations: 0.798 MB / 493.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1284, allocations: 81.02 kB / 493.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1285, allocations: 8 kB / 493.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1285, allocations: 7.984 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1286, allocations: 7.984 kB / 493.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1286, allocations: 0 / 493.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.1287, allocations: 107.3 kB / 494 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1287, allocations: 0 / 494 MB, free: 5.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.129, allocations: 23.98 kB / 494.1 MB, free: 5.074 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008696/0.1299, allocations: 451.3 kB / 494.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1302, allocations: 79.88 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1302, allocations: 0 / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1303, allocations: 39.97 kB / 494.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1307, allocations: 24.53 kB / 494.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1311, allocations: 334.6 kB / 495 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1314, allocations: 0.6926 MB / 495.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.1315, allocations: 11.98 kB / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.1315, allocations: 15.44 kB / 495.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1315, allocations: 0 / 495.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of Templates: time 0.003683/0.1352, allocations: 1.447 MB / 497.1 MB, free: 1.973 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches