Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 177.2 kB / 16.72 MB, free: 5.078 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.269/1.269, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008018/0.0008017, allocations: 92.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.3189/0.3189, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002386/0.12, allocations: 1.313 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.1206, allocations: 323.7 kB / 492.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.1207, allocations: 4 kB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.121, allocations: 63.84 kB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1212, allocations: 59.8 kB / 492.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1216, allocations: 143.7 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1218, allocations: 59.83 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1219, allocations: 31.81 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.1219, allocations: 27.91 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1221, allocations: 47.83 kB / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1221, allocations: 0 / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.1222, allocations: 24 kB / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1222, allocations: 23.91 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1223, allocations: 57.44 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1224, allocations: 72.12 kB / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1225, allocations: 0 / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1225, allocations: 0 / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1225, allocations: 0 / 493 MB, free: 8.645 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.0004941/0.123, allocations: 403.1 kB / 493.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.123, allocations: 8.031 kB / 493.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1231, allocations: 12.84 kB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1233, allocations: 196.1 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1233, allocations: 4.375 kB / 493.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1233, allocations: 384 / 493.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1235, allocations: 69.73 kB / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1235, allocations: 8 kB / 493.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1235, allocations: 0 / 493.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1236, allocations: 0 / 493.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1237, allocations: 43.97 kB / 493.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.1242, allocations: 328.6 kB / 494.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1243, allocations: 50.5 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.1244, allocations: 32.94 kB / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1244, allocations: 0 / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1245, allocations: 38.55 kB / 494.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1245, allocations: 0 / 494.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007951/0.1253, allocations: 257.1 kB / 494.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1253, allocations: 63.33 kB / 494.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1255, allocations: 200.8 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1255, allocations: 25.7 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1256, allocations: 108 kB / 494.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1256, allocations: 27.59 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.1257, allocations: 0 / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1258, allocations: 330.8 kB / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1259, allocations: 43.97 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.126, allocations: 51.95 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1263, allocations: 100.7 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1263, allocations: 8 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002772/0.1266, allocations: 137.6 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1266, allocations: 7.594 kB / 495.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1266, allocations: 4 kB / 495.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1266, allocations: 4 kB / 495.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1268, allocations: 23.97 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1268, allocations: 0 / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.1268, allocations: 19.94 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1268, allocations: 0 / 495.6 MB, free: 5.875 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 9.672e-05/0.1269, allocations: 141.8 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.127, allocations: 7.906 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.1273, allocations: 163.2 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1273, allocations: 4 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1274, allocations: 0 / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1274, allocations: 7.922 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.1279, allocations: 426.4 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1279, allocations: 0 / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.128, allocations: 23.98 kB / 496.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.128, allocations: 288 / 496.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.128, allocations: 3.938 kB / 496.4 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.128, allocations: 4 kB / 496.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.128, allocations: 4 kB / 496.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1283, allocations: 235.3 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1284, allocations: 93 kB / 496.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1284, allocations: 3.938 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1285, allocations: 15.98 kB / 496.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1285, allocations: 7.984 kB / 496.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1286, allocations: 0 / 496.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1287, allocations: 164.9 kB / 496.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1287, allocations: 3.938 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.1289, allocations: 20 kB / 496.9 MB, free: 4.465 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.0008015/0.1297, allocations: 401 kB / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.13, allocations: 107.9 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.13, allocations: 0 / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1302, allocations: 59.91 kB / 497.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1305, allocations: 19.89 kB / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.131, allocations: 291.2 kB / 497.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1313, allocations: 0.716 MB / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1313, allocations: 11.44 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1313, allocations: 0 / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of Templates: time 0.003322/0.1347, allocations: 1.719 MB / 0.4885 GB, free: 1.145 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches