Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002801/0.002801, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2269/0.2269, allocations: 44.95 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 65.78 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3947, allocations: 65.48 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004193/0.3989, allocations: 1.644 MB / 0.5591 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.4, allocations: 0.7634 MB / 0.5598 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.4001, allocations: 3.938 kB / 0.5598 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.4003, allocations: 27.84 kB / 0.5598 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.4006, allocations: 47.83 kB / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.4006, allocations: 0 / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.4008, allocations: 27.91 kB / 0.5599 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.4008, allocations: 4 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.4008, allocations: 15.91 kB / 0.5599 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.4009, allocations: 15.88 kB / 0.56 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.4009, allocations: 0 / 0.56 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.401, allocations: 12 kB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.401, allocations: 16.89 kB / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.4011, allocations: 23.86 kB / 0.56 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.4012, allocations: 70.06 kB / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4012, allocations: 0 / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4012, allocations: 0 / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4012, allocations: 0 / 0.5601 GB, free: 4.828 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004206/0.4016, allocations: 290 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4017, allocations: 8.031 kB / 0.5604 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.4017, allocations: 12.83 kB / 0.5604 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4019, allocations: 118.5 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4019, allocations: 384 / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.4019, allocations: 4.375 kB / 0.5605 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.4021, allocations: 127.3 kB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4021, allocations: 192 / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4021, allocations: 7.938 kB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.4022, allocations: 23.98 kB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.4023, allocations: 43.84 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.403, allocations: 0.8357 MB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4031, allocations: 169.1 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.4031, allocations: 80.14 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.4032, allocations: 79.28 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.4032, allocations: 109.8 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4032, allocations: 4 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.947e-05/0.4033, allocations: 45.53 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.4034, allocations: 126.7 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.4036, allocations: 198 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4036, allocations: 25.7 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4037, allocations: 147.5 kB / 0.5624 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.4037, allocations: 3.984 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.4038, allocations: 45.61 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4039, allocations: 322.8 kB / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.404, allocations: 27.98 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4041, allocations: 163 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.4044, allocations: 204.9 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4044, allocations: 0 / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003164/0.4047, allocations: 197.1 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4047, allocations: 11.94 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4047, allocations: 8 kB / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.4048, allocations: 12.61 kB / 0.5634 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4049, allocations: 35.92 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4049, allocations: 8 kB / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.405, allocations: 31.83 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.405, allocations: 8 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001477/0.4052, allocations: 209 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.4052, allocations: 124.8 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.4053, allocations: 116.6 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/0.4054, allocations: 176.3 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-05/0.4055, allocations: 184.3 kB / 0.5642 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/0.4056, allocations: 188.3 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4058, allocations: 372.8 kB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-05/0.4059, allocations: 105 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.4059, allocations: 109 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.406, allocations: 184.2 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.913e-05/0.4061, allocations: 180.2 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.063e-05/0.4062, allocations: 184.2 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.848e-05/0.4063, allocations: 176.3 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.4065, allocations: 319.7 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.4065, allocations: 108.9 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4066, allocations: 188.1 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.4067, allocations: 105 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.4068, allocations: 184.3 kB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.4068, allocations: 104.9 kB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.407, allocations: 132.1 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.407, allocations: 0 / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4072, allocations: 16 kB / 0.5668 GB, free: 13.43 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0007157/0.408, allocations: 291.9 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.4081, allocations: 76.78 kB / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4081, allocations: 0 / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.4081, allocations: 0 / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4085, allocations: 459.7 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.4089, allocations: 257 kB / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.409, allocations: 83.52 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.4091, allocations: 49.27 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.4092, allocations: 15.44 kB / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4092, allocations: 0 / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Templates: time 0.003397/0.4126, allocations: 0.7339 MB / 0.5687 GB, free: 11.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.218391807749867]