Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 93.22 kB / 18 MB, free: 5.602 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.000941/0.000941, allocations: 177.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1912/0.1912, allocations: 44.25 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003084, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002123/0.1097, allocations: 1.348 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.1106, allocations: 435.2 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.1107, allocations: 4 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.111, allocations: 55.86 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1112, allocations: 51.83 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.1117, allocations: 162.7 kB / 475 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.112, allocations: 75.77 kB / 475 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1121, allocations: 23.98 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1122, allocations: 27.91 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1123, allocations: 47.77 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1123, allocations: 0 / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1125, allocations: 47.97 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.1126, allocations: 23.92 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1126, allocations: 49.45 kB / 475.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1128, allocations: 76.16 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1128, allocations: 3.938 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1128, allocations: 0 / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1129, allocations: 4 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005821/0.1134, allocations: 399.1 kB / 475.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1135, allocations: 8.031 kB / 475.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.1136, allocations: 12.84 kB / 475.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1138, allocations: 192.7 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1138, allocations: 8.375 kB / 475.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1138, allocations: 3.938 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1141, allocations: 73.61 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1141, allocations: 0 / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1141, allocations: 4 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1141, allocations: 4 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1143, allocations: 47.95 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.1148, allocations: 328.6 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1151, allocations: 74.53 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.1152, allocations: 28.97 kB / 476.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1152, allocations: 0 / 476.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1152, allocations: 34.59 kB / 476.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1152, allocations: 0 / 476.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00169/0.1169, allocations: 0.4971 MB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.117, allocations: 55.41 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1172, allocations: 178.5 kB / 477.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1172, allocations: 29.7 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1173, allocations: 108 kB / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1173, allocations: 35.55 kB / 477.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1174, allocations: 13.72 kB / 477.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1175, allocations: 322.8 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1177, allocations: 63.95 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1178, allocations: 63.95 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1181, allocations: 144.7 kB / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1181, allocations: 0 / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003659/0.1185, allocations: 181.4 kB / 478.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1185, allocations: 4 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1186, allocations: 3.938 kB / 478.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1186, allocations: 4 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1187, allocations: 35.91 kB / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1187, allocations: 4 kB / 478.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1188, allocations: 12 kB / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1188, allocations: 7.984 kB / 478.3 MB, free: 7.699 MB / 350.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 (11): * Single equations (assignments): 11 * 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 0.0001116/0.1189, allocations: 130.3 kB / 478.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.119, allocations: 7.906 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.1194, allocations: 206.2 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1194, allocations: 4 kB / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1194, allocations: 0 / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1194, allocations: 0 / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.1202, allocations: 0.5194 MB / 479.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1202, allocations: 0 / 479.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1204, allocations: 31.92 kB / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1204, allocations: 0 / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1204, allocations: 4 kB / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1204, allocations: 0 / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1204, allocations: 0 / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.1209, allocations: 301 kB / 479.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.1209, allocations: 92.91 kB / 479.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1209, allocations: 0 / 479.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.1211, allocations: 12 kB / 479.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1211, allocations: 15.92 kB / 479.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1211, allocations: 7.984 kB / 479.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1213, allocations: 141.5 kB / 479.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1213, allocations: 0 / 479.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1215, allocations: 24 kB / 479.7 MB, free: 6.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001056/0.1226, allocations: 470 kB / 480.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.123, allocations: 151.8 kB / 480.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.123, allocations: 0 / 480.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1232, allocations: 79.89 kB / 480.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1236, allocations: 15.98 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.1241, allocations: 352.7 kB / 480.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1244, allocations: 0.716 MB / 481.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.1245, allocations: 19.44 kB / 481.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1245, allocations: 0 / 481.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004323/0.1288, allocations: 1.977 MB / 483.5 MB, free: 2.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches