Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 114.4 kB / 17.33 MB, free: 5.617 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.0009996/0.0009996, allocations: 191.6 kB / 18.25 MB, free: 4.961 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.381/1.381, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2154/0.2154, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 72.89 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003024/0.1208, allocations: 1.637 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.1216, allocations: 411.3 kB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.1217, allocations: 0 / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.122, allocations: 91.75 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1222, allocations: 67.84 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1226, allocations: 111.4 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1227, allocations: 71.88 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1229, allocations: 20.17 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.1229, allocations: 39.78 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1231, allocations: 55.88 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1231, allocations: 0 / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1232, allocations: 43.98 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1233, allocations: 19.92 kB / 471.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1233, allocations: 39.67 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1235, allocations: 96 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1235, allocations: 4 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1235, allocations: 0 / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1235, allocations: 0 / 471.4 MB, free: 12.05 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.0004892/0.124, allocations: 410.9 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1241, allocations: 12.03 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1241, allocations: 12.84 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1243, allocations: 204.7 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1244, allocations: 4.375 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1244, allocations: 4.375 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1245, allocations: 61.61 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1246, allocations: 0 / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1246, allocations: 0 / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1246, allocations: 4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1247, allocations: 27.92 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1251, allocations: 300.7 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1252, allocations: 54.5 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.1253, allocations: 20.94 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1253, allocations: 7.922 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1254, allocations: 30.56 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1254, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009263/0.1263, allocations: 245 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1263, allocations: 51.41 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1266, allocations: 232.7 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1266, allocations: 29.69 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.1267, allocations: 108.1 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1267, allocations: 27.7 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1267, allocations: 17.72 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1269, allocations: 322.8 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1269, allocations: 31.97 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.127, allocations: 23.98 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1272, allocations: 80.81 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1272, allocations: 8 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002153/0.1275, allocations: 113.4 kB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1275, allocations: 8 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1275, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1275, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.1276, allocations: 15.98 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1276, allocations: 7.938 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.992e-05/0.1277, allocations: 3.938 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1277, allocations: 11.98 kB / 473.8 MB, free: 9.379 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 (8): * Single equations (assignments): 8 * 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 9.562e-05/0.1278, allocations: 130.3 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1278, allocations: 11.81 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1281, allocations: 131.3 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1281, allocations: 0 / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1281, allocations: 7.938 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1282, allocations: 0 / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1287, allocations: 427.3 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1287, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.1288, allocations: 19.92 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1288, allocations: 4 kB / 474.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1288, allocations: 3.938 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1288, allocations: 0 / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1288, allocations: 4.031 kB / 474.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1291, allocations: 212.2 kB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1291, allocations: 92.94 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1292, allocations: 8 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1292, allocations: 4 kB / 474.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1293, allocations: 11.98 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1293, allocations: 4 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1294, allocations: 171.5 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1294, allocations: 0 / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1297, allocations: 27.98 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009684/0.1307, allocations: 445 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1309, allocations: 79.92 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1309, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.131, allocations: 39.92 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1314, allocations: 23.92 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.1319, allocations: 295.3 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1322, allocations: 0.7196 MB / 476.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.011e-05/0.1323, allocations: 24.89 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.1323, allocations: 11.44 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1323, allocations: 0 / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.003818/0.1362, allocations: 1.331 MB / 478 MB, free: 5.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches