Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 109.2 kB / 17.03 MB, free: 5.707 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.001094/0.001094, allocations: 194.9 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.45/1.45, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2185/0.2185, allocations: 43.52 MB / 314.7 MB, free: 464 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.001458/0.001459, allocations: 76.61 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002927/0.1188, allocations: 1.559 MB / 443.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005427/0.1194, allocations: 339.5 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.1194, allocations: 4 kB / 443.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.1199, allocations: 451.1 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1202, allocations: 251.4 kB / 444.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1206, allocations: 155.3 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1208, allocations: 163.7 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1209, allocations: 8.188 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.121, allocations: 119.7 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1212, allocations: 207.6 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1212, allocations: 0 / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.1212, allocations: 27.92 kB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.1213, allocations: 83.69 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1214, allocations: 99.05 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1216, allocations: 247 kB / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1216, allocations: 4 kB / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1216, allocations: 0 / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1217, allocations: 0 / 445.6 MB, free: 2.438 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005286/0.1222, allocations: 0.6219 MB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1222, allocations: 23.81 kB / 446.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1223, allocations: 40.38 kB / 446.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1225, allocations: 296.2 kB / 446.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1225, allocations: 4.375 kB / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1225, allocations: 384 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1227, allocations: 61.62 kB / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1227, allocations: 0 / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1227, allocations: 0 / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1227, allocations: 3.984 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1228, allocations: 31.97 kB / 446.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1232, allocations: 392.7 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1233, allocations: 50.55 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1234, allocations: 28.92 kB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1234, allocations: 3.938 kB / 447.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.1234, allocations: 30.56 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1234, allocations: 0 / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002763/0.1237, allocations: 133.1 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1237, allocations: 51.41 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.1244, allocations: 0.8535 MB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1244, allocations: 25.7 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1246, allocations: 212 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1246, allocations: 11.83 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1247, allocations: 17.72 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1248, allocations: 362.7 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.1249, allocations: 19.98 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.1249, allocations: 19.97 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1251, allocations: 44.83 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1251, allocations: 0 / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000193/0.1253, allocations: 105.1 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1253, allocations: 9.25 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1253, allocations: 0 / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1253, allocations: 0 / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1254, allocations: 11.98 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1254, allocations: 0 / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.1255, allocations: 19.89 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1255, allocations: 3.938 kB / 449.1 MB, free: 14.76 MB / 334.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 (3): * Single equations (assignments): 3 * 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.0001816/0.1257, allocations: 213.7 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1257, allocations: 39.53 kB / 449.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.126, allocations: 132.9 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.126, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.126, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.126, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1263, allocations: 293.5 kB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1263, allocations: 0 / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.1264, allocations: 11.98 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1264, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1264, allocations: 4 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1264, allocations: 0 / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1264, allocations: 0 / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1267, allocations: 207.3 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.1268, allocations: 104.6 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1268, allocations: 3.938 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.1269, allocations: 11.98 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1269, allocations: 4.047 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.127, allocations: 7.984 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1276, allocations: 0.6432 MB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1276, allocations: 4 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1278, allocations: 16 kB / 450.8 MB, free: 12.98 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 (3): * Single equations (assignments): 3 * 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.0007735/0.1286, allocations: 353.2 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1288, allocations: 39.95 kB / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1288, allocations: 0 / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.1289, allocations: 23.92 kB / 451.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1293, allocations: 33.95 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1304, allocations: 0.7795 MB / 452 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1308, allocations: 0.8221 MB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.1309, allocations: 15.97 kB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1309, allocations: 7.438 kB / 452.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1309, allocations: 0 / 452.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004823/0.1357, allocations: 1.344 MB / 454.2 MB, free: 9.605 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches