Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 95.17 kB / 18 MB, free: 5.609 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.001074/0.001074, allocations: 176.6 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.405/1.405, allocations: 223.3 MB / 243 MB, free: 14.42 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.2064/0.2064, allocations: 44.25 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 8 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 61.91 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002473/0.1147, allocations: 1.566 MB / 474.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1164, allocations: 0.8889 MB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1166, allocations: 0 / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.1171, allocations: 255.4 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.1175, allocations: 171.5 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.119, allocations: 0.609 MB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.1194, allocations: 263.2 kB / 476.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.1196, allocations: 60.58 kB / 476.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1198, allocations: 103.5 kB / 476.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1201, allocations: 171.4 kB / 477 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.1201, allocations: 4 kB / 477 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1203, allocations: 47.91 kB / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1204, allocations: 79.73 kB / 477.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.1205, allocations: 116.8 kB / 477.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1208, allocations: 191.6 kB / 477.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1208, allocations: 4 kB / 477.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1208, allocations: 0 / 477.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1208, allocations: 0 / 477.4 MB, free: 8.773 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007382/0.1215, allocations: 0.5487 MB / 478 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1216, allocations: 12.03 kB / 478 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.1217, allocations: 36.47 kB / 478 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.122, allocations: 306.3 kB / 478.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.122, allocations: 8.312 kB / 478.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1221, allocations: 8.375 kB / 478.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1223, allocations: 108.6 kB / 478.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1223, allocations: 0 / 478.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1223, allocations: 4 kB / 478.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1224, allocations: 4 kB / 478.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1225, allocations: 67.95 kB / 478.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.1232, allocations: 460.3 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1233, allocations: 66.55 kB / 479 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.1234, allocations: 44.95 kB / 479.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1234, allocations: 0 / 479.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1235, allocations: 42.5 kB / 479.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1235, allocations: 0 / 479.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003657/0.1238, allocations: 153.2 kB / 479.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1239, allocations: 55.34 kB / 479.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.1244, allocations: 0.525 MB / 479.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1245, allocations: 29.7 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1246, allocations: 192.1 kB / 480 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1246, allocations: 11.72 kB / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1247, allocations: 21.7 kB / 480.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1248, allocations: 338.8 kB / 480.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.1249, allocations: 31.97 kB / 480.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.125, allocations: 32.23 kB / 480.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1251, allocations: 72.95 kB / 480.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1252, allocations: 0 / 480.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002224/0.1254, allocations: 129.1 kB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1254, allocations: 8 kB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1254, allocations: 0 / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1254, allocations: 4 kB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1256, allocations: 15.92 kB / 480.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1256, allocations: 4 kB / 480.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1256, allocations: 7.938 kB / 480.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1257, allocations: 4 kB / 480.7 MB, free: 5.246 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 (6): * Single equations (assignments): 6 * 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.0001498/0.1258, allocations: 169.8 kB / 480.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.1259, allocations: 31.53 kB / 480.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.1262, allocations: 156.7 kB / 481.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1262, allocations: 3.938 kB / 481.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1262, allocations: 0 / 481.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1262, allocations: 0 / 481.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.1265, allocations: 281.5 kB / 481.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1265, allocations: 0 / 481.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.1266, allocations: 15.98 kB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1266, allocations: 3.938 kB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1266, allocations: 8 kB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1266, allocations: 3.938 kB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1266, allocations: 0 / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1269, allocations: 235.1 kB / 481.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.127, allocations: 116.7 kB / 481.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.127, allocations: 4 kB / 481.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.1271, allocations: 11.94 kB / 481.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1272, allocations: 4 kB / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1272, allocations: 3.984 kB / 481.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.1276, allocations: 395.1 kB / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1276, allocations: 0 / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1279, allocations: 35.83 kB / 482.2 MB, free: 3.699 MB / 350.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 (6): * Single equations (assignments): 6 * 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.001394/0.1293, allocations: 0.5848 MB / 482.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1295, allocations: 63.91 kB / 482.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1295, allocations: 0 / 482.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.1296, allocations: 35.97 kB / 482.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.1301, allocations: 57.52 kB / 482.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1312, allocations: 0.6824 MB / 483.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.1317, allocations: 0.7946 MB / 484.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.1317, allocations: 23.44 kB / 484.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1317, allocations: 0 / 484.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Templates: time 0.007124/0.1389, allocations: 3.683 MB / 488.1 MB, free: 13.98 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches