Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001333/0.001333, allocations: 192 kB / 18.56 MB, free: 4.562 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.295/1.295, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.2099/0.2099, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 60.48 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1179, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00306/0.121, allocations: 1.607 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.1218, allocations: 447.2 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.1219, allocations: 0 / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1224, allocations: 455.1 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1228, allocations: 247.5 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1233, allocations: 178.5 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1235, allocations: 163.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1236, allocations: 16.17 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1237, allocations: 111.7 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.124, allocations: 211.6 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.124, allocations: 4 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.1241, allocations: 35.97 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1242, allocations: 83.69 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.1243, allocations: 99 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1246, allocations: 251.2 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1246, allocations: 3.938 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1246, allocations: 4 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1246, allocations: 0 / 473.1 MB, free: 10.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006892/0.1253, allocations: 0.6326 MB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1254, allocations: 8.031 kB / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1254, allocations: 44.38 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1257, allocations: 292.2 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1257, allocations: 8.359 kB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1257, allocations: 384 / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1259, allocations: 73.53 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1259, allocations: 0 / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1259, allocations: 0 / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1259, allocations: 0 / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.126, allocations: 27.98 kB / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1265, allocations: 388.7 kB / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1267, allocations: 50.5 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.1268, allocations: 20.94 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1268, allocations: 0 / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1269, allocations: 30.56 kB / 474.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1269, allocations: 0 / 474.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006483/0.1275, allocations: 239.9 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1276, allocations: 51.41 kB / 475 MB, free: 8.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.1283, allocations: 0.8651 MB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1283, allocations: 29.7 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1284, allocations: 220 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1285, allocations: 11.81 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1285, allocations: 17.72 kB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1286, allocations: 366.8 kB / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.1287, allocations: 19.98 kB / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.1288, allocations: 19.98 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1289, allocations: 56.95 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1289, allocations: 4 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000193/0.1291, allocations: 121.1 kB / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1292, allocations: 12 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1292, allocations: 0 / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1292, allocations: 0 / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.1292, allocations: 11.98 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1293, allocations: 0 / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1293, allocations: 7.938 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1293, allocations: 4 kB / 476.7 MB, free: 6.672 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 (5): * Single equations (assignments): 5 * 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.0001658/0.1295, allocations: 213.8 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1296, allocations: 35.53 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.1298, allocations: 156.9 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1298, allocations: 0 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1299, allocations: 0 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1299, allocations: 3.938 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.1304, allocations: 474.3 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1304, allocations: 4 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.1305, allocations: 16 kB / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1305, allocations: 0 / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1305, allocations: 3.938 kB / 477.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1305, allocations: 3.984 kB / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1305, allocations: 0 / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1307, allocations: 207.3 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1308, allocations: 120.5 kB / 477.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1308, allocations: 7.938 kB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.1309, allocations: 4 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.131, allocations: 8.266 kB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.131, allocations: 0 / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00056/0.1315, allocations: 0.6549 MB / 478.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1315, allocations: 0 / 478.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1318, allocations: 28 kB / 478.6 MB, free: 4.648 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 (5): * Single equations (assignments): 5 * 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.0008515/0.1326, allocations: 402 kB / 479 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1329, allocations: 59.95 kB / 479.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1329, allocations: 0 / 479.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.133, allocations: 28.05 kB / 479.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1334, allocations: 26.08 kB / 479.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.1343, allocations: 0.8029 MB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1347, allocations: 0.826 MB / 480.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1348, allocations: 8 kB / 480.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1348, allocations: 15.42 kB / 480.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1348, allocations: 0 / 480.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004576/0.1394, allocations: 1.465 MB / 482.2 MB, free: 1.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches