Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 105.2 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.67/1.67, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2754/0.2754, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001629/0.001629, allocations: 69.61 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1293, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002808/0.1321, allocations: 1.606 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005388/0.1327, allocations: 343.5 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1328, allocations: 0 / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.133, allocations: 59.73 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1332, allocations: 43.83 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1335, allocations: 159.3 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1337, allocations: 71.83 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1338, allocations: 23.92 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.1339, allocations: 31.84 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.134, allocations: 39.84 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.134, allocations: 4 kB / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.1341, allocations: 39.97 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1341, allocations: 19.92 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1342, allocations: 23.81 kB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1343, allocations: 87.72 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1343, allocations: 0 / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1343, allocations: 4 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1344, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 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.0004346/0.1348, allocations: 403 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1348, allocations: 11.89 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1349, allocations: 8.844 kB / 444.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.135, allocations: 193.3 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1351, allocations: 4.375 kB / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1351, allocations: 384 / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1353, allocations: 65.8 kB / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1353, allocations: 4 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1353, allocations: 0 / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1353, allocations: 0 / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1354, allocations: 43.91 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1358, allocations: 300.8 kB / 445.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1359, allocations: 50.55 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.136, allocations: 28.88 kB / 445.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.136, allocations: 7.938 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.136, allocations: 30.56 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.136, allocations: 3.938 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006801/0.1367, allocations: 229 kB / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1368, allocations: 55.41 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1369, allocations: 165.8 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1369, allocations: 29.7 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.1369, allocations: 100.1 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.137, allocations: 23.66 kB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.137, allocations: 21.7 kB / 446.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.137, allocations: 318.8 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.1371, allocations: 39.95 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.1372, allocations: 39.97 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1374, allocations: 93.08 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1374, allocations: 0 / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002236/0.1377, allocations: 129.5 kB / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1377, allocations: 5.25 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1377, allocations: 0 / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1377, allocations: 4 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1378, allocations: 19.98 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1378, allocations: 3.938 kB / 446.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1379, allocations: 15.89 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1379, allocations: 0 / 446.9 MB, free: 0.9688 MB / 318.1 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 6.116e-05/0.138, allocations: 121.8 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.138, allocations: 8.188 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1383, allocations: 146.3 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1383, allocations: 7.984 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1383, allocations: 3.938 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1383, allocations: 3.984 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.1387, allocations: 398.5 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1387, allocations: 4 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1388, allocations: 31.91 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.1388, allocations: 3.938 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1388, allocations: 3.938 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1388, allocations: 0 / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1388, allocations: 0 / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1391, allocations: 219.4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1392, allocations: 88.95 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1392, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1393, allocations: 11.98 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1394, allocations: 7.984 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1394, allocations: 4 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.1395, allocations: 132.5 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.1395, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1397, allocations: 31.88 kB / 448.1 MB, free: 15.66 MB / 334.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 (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.0009212/0.1406, allocations: 396.3 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.1409, allocations: 83.94 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.141, allocations: 0 / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1411, allocations: 55.89 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1414, allocations: 27.97 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1419, allocations: 234 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1421, allocations: 0.708 MB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.1422, allocations: 23.97 kB / 449.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1423, allocations: 11.44 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1423, allocations: 3.938 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003776/0.1461, allocations: 1.287 MB / 450.9 MB, free: 12.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches