Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.001505/0.001505, allocations: 191 kB / 19.34 MB, free: 3.66 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.338/1.338, allocations: 222.9 MB / 243 MB, free: 15.18 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.2035/0.2035, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 66.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003673/0.124, allocations: 1.63 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.1249, allocations: 467 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.125, allocations: 0 / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.1256, allocations: 447.2 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.126, allocations: 259.4 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1265, allocations: 179.3 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1268, allocations: 167.7 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.127, allocations: 27.98 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1272, allocations: 111.7 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1274, allocations: 211.6 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1275, allocations: 4 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1276, allocations: 47.98 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1277, allocations: 87.69 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1279, allocations: 103 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1282, allocations: 282.9 kB / 474.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1283, allocations: 0 / 474.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1283, allocations: 0 / 474.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1283, allocations: 0 / 474.7 MB, free: 9.672 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.0008458/0.1291, allocations: 0.6414 MB / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1292, allocations: 12.03 kB / 475.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.1293, allocations: 40.47 kB / 475.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1296, allocations: 296.2 kB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1297, allocations: 4.375 kB / 475.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1297, allocations: 8.312 kB / 475.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1299, allocations: 73.72 kB / 475.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1299, allocations: 3.984 kB / 475.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1299, allocations: 0 / 475.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1299, allocations: 4 kB / 475.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1301, allocations: 43.97 kB / 475.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.1307, allocations: 416.5 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1309, allocations: 58.55 kB / 476.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.131, allocations: 24.97 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.131, allocations: 8 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1311, allocations: 34.55 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1311, allocations: 0 / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001506/0.1326, allocations: 0.4883 MB / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1326, allocations: 59.34 kB / 476.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1335, allocations: 0.8535 MB / 477.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1335, allocations: 25.7 kB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1337, allocations: 220 kB / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1337, allocations: 31.47 kB / 478 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.1338, allocations: 29.7 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.134, allocations: 358.8 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1341, allocations: 60.02 kB / 478.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1342, allocations: 55.95 kB / 478.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1345, allocations: 129 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1345, allocations: 0 / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003645/0.1349, allocations: 200.9 kB / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1349, allocations: 7.438 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1349, allocations: 0 / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1349, allocations: 0 / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1351, allocations: 31.91 kB / 478.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1351, allocations: 4 kB / 478.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.1352, allocations: 7.984 kB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1352, allocations: 4 kB / 478.9 MB, free: 5.254 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.0001977/0.1354, allocations: 221.7 kB / 479.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.1355, allocations: 43.44 kB / 479.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1359, allocations: 225.3 kB / 479.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1359, allocations: 3.938 kB / 479.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1359, allocations: 3.938 kB / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1359, allocations: 0 / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.1368, allocations: 0.6014 MB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1368, allocations: 0 / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.1369, allocations: 31.97 kB / 480 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1369, allocations: 0 / 480 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1369, allocations: 0 / 480 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1369, allocations: 12 kB / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.137, allocations: 0 / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.1373, allocations: 296.6 kB / 480.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.1374, allocations: 116.5 kB / 480.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1375, allocations: 4 kB / 480.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1376, allocations: 11.98 kB / 480.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1376, allocations: 7.984 kB / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1377, allocations: 8 kB / 480.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005627/0.1382, allocations: 0.6432 MB / 481.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1382, allocations: 0 / 481.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1385, allocations: 32 kB / 481.1 MB, free: 2.891 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.0011/0.1396, allocations: 462.7 kB / 481.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.14, allocations: 139.8 kB / 481.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.14, allocations: 3.938 kB / 481.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1401, allocations: 67.89 kB / 481.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1406, allocations: 33.12 kB / 481.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1417, allocations: 0.8596 MB / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1421, allocations: 0.8377 MB / 483.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.595e-05/0.1422, allocations: 32.45 kB / 483.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1422, allocations: 15.44 kB / 483.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1422, allocations: 4 kB / 483.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of Templates: time 0.005456/0.1477, allocations: 1.902 MB / 485.5 MB, free: 14.68 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches