Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001901/0.001901, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002351/0.002351, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2163/0.2163, allocations: 44.94 MB / 359.6 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [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.002105/0.002105, allocations: 64.14 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 65.48 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003977/0.3942, allocations: 1.647 MB / 0.5598 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3967, allocations: 1.271 MB / 0.5611 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.3968, allocations: 0 / 0.5611 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.397, allocations: 27.8 kB / 0.5611 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.3975, allocations: 83.61 kB / 0.5612 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.398, allocations: 186.8 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3983, allocations: 79.81 kB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3984, allocations: 8 kB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.3985, allocations: 39.8 kB / 0.5615 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3986, allocations: 31.83 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3986, allocations: 8 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3988, allocations: 87.94 kB / 0.5616 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.3989, allocations: 23.92 kB / 0.5616 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.399, allocations: 19.88 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3993, allocations: 153.8 kB / 0.5618 GB, free: 3.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3993, allocations: 4 kB / 0.5618 GB, free: 3.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3993, allocations: 0 / 0.5618 GB, free: 3.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3993, allocations: 4 kB / 0.5618 GB, free: 3.84 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.0006334/0.3999, allocations: 337.6 kB / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4, allocations: 12.03 kB / 0.5621 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.4, allocations: 8.891 kB / 0.5621 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4002, allocations: 138.3 kB / 0.5623 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4003, allocations: 8.375 kB / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4003, allocations: 384 / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.4005, allocations: 113.2 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4005, allocations: 0 / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4005, allocations: 8 kB / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4006, allocations: 0 / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4007, allocations: 35.97 kB / 0.5624 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.4012, allocations: 248.4 kB / 0.5626 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4013, allocations: 50.55 kB / 0.5627 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.4014, allocations: 28.94 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.4014, allocations: 3.984 kB / 0.5627 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4014, allocations: 30.56 kB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4014, allocations: 0 / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008631/0.4023, allocations: 241.3 kB / 0.563 GB, free: 2.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4024, allocations: 77.11 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.4025, allocations: 148.2 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4026, allocations: 25.7 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.4026, allocations: 100.1 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4027, allocations: 23.8 kB / 0.5633 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.4027, allocations: 29.64 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4029, allocations: 318.8 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.403, allocations: 47.89 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.4032, allocations: 79.39 kB / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4034, allocations: 80.8 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4034, allocations: 4 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003431/0.4038, allocations: 125.6 kB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4038, allocations: 15.97 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4038, allocations: 0 / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4038, allocations: 0 / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4039, allocations: 27.91 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4039, allocations: 0 / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.404, allocations: 4 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.404, allocations: 15.92 kB / 0.5641 GB, free: 1.301 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 (7): * Single equations (assignments): 7 * 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.0001071/0.4041, allocations: 113.8 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.4042, allocations: 7.953 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4045, allocations: 138.3 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4045, allocations: 7.938 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4045, allocations: 0 / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4045, allocations: 0 / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.4051, allocations: 354.4 kB / 0.5647 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4051, allocations: 8 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.4052, allocations: 15.98 kB / 0.5647 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.4052, allocations: 0 / 0.5647 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4052, allocations: 4 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4053, allocations: 3.984 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4053, allocations: 7.953 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.4056, allocations: 219.4 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.4057, allocations: 11.95 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4057, allocations: 4 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.4058, allocations: 11.98 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.4058, allocations: 7.922 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.4058, allocations: 4 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4059, allocations: 113.5 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.4063, allocations: 43.86 kB / 0.5651 GB, free: 176 kB / 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 (7): * Single equations (assignments): 7 * 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.001967/0.4082, allocations: 0.5286 MB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.4085, allocations: 87.88 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4085, allocations: 0 / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4087, allocations: 43.95 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.409, allocations: 19.98 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.4096, allocations: 243.8 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.005e-05/0.4097, allocations: 83.33 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.4097, allocations: 23.36 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4097, allocations: 0 / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.00535/0.4151, allocations: 2.205 MB / 0.5682 GB, free: 13.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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: 7.993478377349675]