Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4663, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00383/0.4701, allocations: 1.656 MB / 0.5504 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.4711, allocations: 437 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.4712, allocations: 1.562 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.4719, allocations: 447.9 kB / 0.5513 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.4723, allocations: 258.8 kB / 0.5515 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.4727, allocations: 121.2 kB / 0.5517 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.473, allocations: 167.8 kB / 0.5518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4732, allocations: 11.62 kB / 0.5518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.4733, allocations: 113.5 kB / 0.5519 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.4737, allocations: 245.9 kB / 0.5522 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4737, allocations: 2.531 kB / 0.5522 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4738, allocations: 32.89 kB / 0.5522 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.474, allocations: 81.12 kB / 0.5523 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4741, allocations: 102.2 kB / 0.5524 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.4745, allocations: 254.5 kB / 0.5526 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4745, allocations: 0 / 0.5526 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4745, allocations: 0 / 0.5526 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.4745, allocations: 0 / 0.5526 GB, free: 10.6 MB / 398.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.0008949/0.4754, allocations: 0.5693 MB / 0.5532 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4754, allocations: 10.27 kB / 0.5532 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.4755, allocations: 43.44 kB / 0.5532 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4759, allocations: 243.2 kB / 0.5535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.4759, allocations: 1.438 kB / 0.5535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.4759, allocations: 7.375 kB / 0.5535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.4761, allocations: 53.72 kB / 0.5535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4761, allocations: 0 / 0.5535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4761, allocations: 5 kB / 0.5535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.4761, allocations: 5.047 kB / 0.5535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4762, allocations: 26.27 kB / 0.5536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.4768, allocations: 355.7 kB / 0.5539 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.4771, allocations: 43.41 kB / 0.5539 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.4771, allocations: 10.67 kB / 0.5539 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4772, allocations: 5.062 kB / 0.5539 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4772, allocations: 35.69 kB / 0.554 GB, free: 9.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4772, allocations: 3.938 kB / 0.554 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007557/0.478, allocations: 226.1 kB / 0.5542 GB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.478, allocations: 56.39 kB / 0.5543 GB, free: 9.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.4791, allocations: 0.8557 MB / 0.5551 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4791, allocations: 34.52 kB / 0.5551 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.4793, allocations: 221.2 kB / 0.5553 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4794, allocations: 22.31 kB / 0.5554 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.4794, allocations: 17.78 kB / 0.5554 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4796, allocations: 355.7 kB / 0.5557 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.4797, allocations: 18.61 kB / 0.5557 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.4798, allocations: 19.23 kB / 0.5557 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4799, allocations: 51.36 kB / 0.5558 GB, free: 8.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4799, allocations: 1.531 kB / 0.5558 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000255/0.4802, allocations: 116 kB / 0.5559 GB, free: 7.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4802, allocations: 4 kB / 0.5559 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4802, allocations: 3.984 kB / 0.5559 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4802, allocations: 256 / 0.5559 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.4803, allocations: 12 kB / 0.5559 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4803, allocations: 4 kB / 0.5559 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.4804, allocations: 15.92 kB / 0.5559 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4804, allocations: 0 / 0.5559 GB, free: 7.953 MB / 398.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.0002307/0.4806, allocations: 213.7 kB / 0.5562 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.4807, allocations: 47.66 kB / 0.5562 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.481, allocations: 137.1 kB / 0.5563 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.481, allocations: 0 / 0.5563 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.481, allocations: 4 kB / 0.5563 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.481, allocations: 7.938 kB / 0.5563 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.4817, allocations: 417.5 kB / 0.5567 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4817, allocations: 0 / 0.5567 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4817, allocations: 16 kB / 0.5568 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4817, allocations: 0 / 0.5568 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4817, allocations: 7.922 kB / 0.5568 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4817, allocations: 0 / 0.5568 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4817, allocations: 4 kB / 0.5568 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.482, allocations: 207.2 kB / 0.557 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.4821, allocations: 35.72 kB / 0.557 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4821, allocations: 3.938 kB / 0.557 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.4822, allocations: 7.984 kB / 0.557 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4822, allocations: 7.938 kB / 0.557 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.4822, allocations: 7.938 kB / 0.557 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.4829, allocations: 0.6472 MB / 0.5577 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4829, allocations: 0 / 0.5577 GB, free: 6.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4832, allocations: 31.88 kB / 0.5577 GB, free: 6.09 MB / 398.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.001502/0.4847, allocations: 392.7 kB / 0.5581 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4849, allocations: 43.97 kB / 0.5581 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4849, allocations: 4 kB / 0.5581 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.485, allocations: 27.92 kB / 0.5581 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4855, allocations: 32.22 kB / 0.5582 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4868, allocations: 0.7789 MB / 0.5589 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.4873, allocations: 0.8258 MB / 0.5597 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.4874, allocations: 8 kB / 0.5597 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.4874, allocations: 11.44 kB / 0.5597 GB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4874, allocations: 3.938 kB / 0.5598 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Templates: time 0.005806/0.4932, allocations: 1.495 MB / 0.5612 GB, free: 2.578 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.386593849398196]