Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001724/0.001724, 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.002107/0.002107, 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.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2199/0.2199, allocations: 44.95 MB / 359.6 MB, free: 6.059 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") [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.002301/0.002301, allocations: 71.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003379/0.3094, allocations: 1.64 MB / 0.5598 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3116, allocations: 1.263 MB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.3116, allocations: 7.938 kB / 0.5611 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3119, allocations: 27.84 kB / 0.5611 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.3122, allocations: 83.62 kB / 0.5612 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.3127, allocations: 178.9 kB / 0.5613 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3129, allocations: 75.77 kB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.313, allocations: 15.98 kB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.313, allocations: 39.78 kB / 0.5615 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.3132, allocations: 27.86 kB / 0.5615 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3132, allocations: 4 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3134, allocations: 91.94 kB / 0.5616 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.3134, allocations: 27.91 kB / 0.5616 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.3135, allocations: 23.8 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3138, allocations: 149.9 kB / 0.5618 GB, free: 3.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3138, allocations: 4 kB / 0.5618 GB, free: 3.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3138, allocations: 0 / 0.5618 GB, free: 3.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3138, allocations: 4 kB / 0.5618 GB, free: 3.832 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.0006239/0.3144, allocations: 337.7 kB / 0.5621 GB, free: 3.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3145, allocations: 11.97 kB / 0.5621 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.3145, allocations: 12.83 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3147, allocations: 142.3 kB / 0.5623 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.3147, allocations: 384 / 0.5623 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3148, allocations: 4.375 kB / 0.5623 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.315, allocations: 101.2 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.315, allocations: 0 / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.315, allocations: 8 kB / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.315, allocations: 0 / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3152, allocations: 43.95 kB / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.3156, allocations: 256.3 kB / 0.5627 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3158, allocations: 42.56 kB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.3158, allocations: 24.94 kB / 0.5627 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3159, allocations: 4 kB / 0.5627 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3159, allocations: 38.55 kB / 0.5628 GB, free: 2.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3159, allocations: 0 / 0.5628 GB, free: 2.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008418/0.3168, allocations: 225.3 kB / 0.563 GB, free: 2.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3168, allocations: 81.11 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.317, allocations: 153.6 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.317, allocations: 25.7 kB / 0.5632 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.3171, allocations: 96.09 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3171, allocations: 31.72 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3172, allocations: 17.72 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3173, allocations: 326.8 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3175, allocations: 35.97 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3176, allocations: 79.38 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3179, allocations: 92.89 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3179, allocations: 0 / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003482/0.3182, allocations: 125.6 kB / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3182, allocations: 6.188 kB / 0.564 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3182, allocations: 0 / 0.564 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3183, allocations: 4 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3184, allocations: 23.92 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3184, allocations: 0 / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.3185, allocations: 11.98 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3185, allocations: 3.938 kB / 0.564 GB, free: 1.312 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.0001085/0.3186, allocations: 125.8 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.3186, allocations: 7.953 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.319, allocations: 150.8 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.319, allocations: 0 / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.319, allocations: 3.984 kB / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.319, allocations: 0 / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.3196, allocations: 358 kB / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3196, allocations: 0 / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.3197, allocations: 23.98 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3197, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3197, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3197, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3197, allocations: 7.875 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3201, allocations: 219.4 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.3201, allocations: 3.953 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3201, allocations: 8 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.3202, allocations: 11.98 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3202, allocations: 11.92 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3202, allocations: 4 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.3204, allocations: 115.2 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 0 / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.3207, allocations: 39.88 kB / 0.5651 GB, free: 172 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.001906/0.3226, allocations: 0.537 MB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.3229, allocations: 95.86 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3229, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.323, allocations: 43.97 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3234, allocations: 20.27 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.3239, allocations: 247.5 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.324, allocations: 83.31 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.3241, allocations: 19.42 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3241, allocations: 0 / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004473/0.3286, allocations: 2.208 MB / 0.5682 GB, free: 13.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.956931367982179]