Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001483/0.001483, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001534/0.001534, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2265/0.2265, allocations: 44.95 MB / 358.8 MB, free: 6.035 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [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.00281/0.00281, allocations: 67.91 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4005, allocations: 65.48 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003571/0.404, allocations: 1.586 MB / 0.559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4051, allocations: 0.5144 MB / 0.5595 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.4051, allocations: 0 / 0.5595 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.4058, allocations: 455.1 kB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.4063, allocations: 295.3 kB / 0.5602 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.4067, allocations: 131.3 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.407, allocations: 167.6 kB / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.4071, allocations: 8.172 kB / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4072, allocations: 111.8 kB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.4075, allocations: 239.5 kB / 0.5609 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.4075, allocations: 4 kB / 0.5609 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.4076, allocations: 27.92 kB / 0.5609 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4077, allocations: 79.64 kB / 0.561 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.4078, allocations: 71.23 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4081, allocations: 261 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4081, allocations: 4 kB / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4081, allocations: 0 / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4081, allocations: 0 / 0.5613 GB, free: 3.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008077/0.4089, allocations: 0.566 MB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.4089, allocations: 8.031 kB / 0.5619 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.409, allocations: 44.66 kB / 0.5619 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.4093, allocations: 250.6 kB / 0.5621 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4093, allocations: 4.375 kB / 0.5621 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4094, allocations: 4.375 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4095, allocations: 46.61 kB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4095, allocations: 4 kB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4095, allocations: 11.98 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4095, allocations: 0 / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.4096, allocations: 19.98 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.4101, allocations: 316.4 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.4101, allocations: 30.56 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.4102, allocations: 16.91 kB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.4102, allocations: 4 kB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4102, allocations: 34.56 kB / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4102, allocations: 0 / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002894/0.4105, allocations: 97.34 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4106, allocations: 55.39 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.4115, allocations: 0.8574 MB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.4116, allocations: 25.7 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.4118, allocations: 216 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.4119, allocations: 11.89 kB / 0.5638 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.4119, allocations: 13.72 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003074/0.4122, allocations: 362.9 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.4122, allocations: 15.98 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.4123, allocations: 4 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4124, allocations: 24.84 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4124, allocations: 0 / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001625/0.4126, allocations: 97.33 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4126, allocations: 8 kB / 0.5643 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4126, allocations: 96 / 0.5643 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4126, allocations: 4 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.4126, allocations: 4 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4127, allocations: 3.984 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.4127, allocations: 4 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4127, allocations: 3.938 kB / 0.5644 GB, free: 224 kB / 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 (2): * Single equations (assignments): 2 * 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.0002598/0.413, allocations: 213.7 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.413, allocations: 39.91 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.4134, allocations: 112.6 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4134, allocations: 4.031 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4134, allocations: 0 / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4134, allocations: 0 / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.4137, allocations: 229 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4137, allocations: 4 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.4137, allocations: 7.984 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4137, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4137, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4137, allocations: 4 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4137, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4139, allocations: 195.2 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.414, allocations: 35.72 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.414, allocations: 3.938 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.4141, allocations: 4 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.4141, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4141, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006898/0.4148, allocations: 0.6511 MB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4148, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.4151, allocations: 16 kB / 0.5658 GB, free: 14.65 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 (2): * Single equations (assignments): 2 * 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.001416/0.4165, allocations: 373.8 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.4166, allocations: 19.92 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4166, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.4167, allocations: 16.06 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.417, allocations: 25.08 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4182, allocations: 0.7906 MB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4185, allocations: 211.5 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.4185, allocations: 7.984 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.4186, allocations: 11.44 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4186, allocations: 0 / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Templates: time 0.005316/0.4239, allocations: 1.442 MB / 0.5686 GB, free: 11.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.2159876842051744]