Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.00149/0.00149, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001627/0.001627, allocations: 206.4 kB / 23.72 MB, free: 4.414 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2349/0.2349, allocations: 44.94 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.00221/0.00221, allocations: 75.89 kB / 0.4935 GB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3948, allocations: 65.46 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003226/0.398, allocations: 1.682 MB / 0.5591 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3992, allocations: 0.5544 MB / 0.5597 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.3993, allocations: 3.938 kB / 0.5597 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3996, allocations: 67.77 kB / 0.5597 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.3999, allocations: 111.6 kB / 0.5598 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.4004, allocations: 187.1 kB / 0.56 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.4006, allocations: 91.75 kB / 0.5601 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4007, allocations: 20.23 kB / 0.5601 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.4008, allocations: 39.83 kB / 0.5602 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.4009, allocations: 63.73 kB / 0.5602 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.4009, allocations: 4 kB / 0.5602 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.401, allocations: 47.98 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.4011, allocations: 31.86 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.4011, allocations: 31.78 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.4014, allocations: 125.8 kB / 0.5604 GB, free: 4.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4014, allocations: 0 / 0.5604 GB, free: 4.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4014, allocations: 0 / 0.5604 GB, free: 4.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.4014, allocations: 7.938 kB / 0.5604 GB, free: 4.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005609/0.4019, allocations: 349.6 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.402, allocations: 8.031 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.402, allocations: 12.88 kB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4022, allocations: 146.3 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4022, allocations: 384 / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.4023, allocations: 8.375 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4025, allocations: 73.72 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4025, allocations: 0 / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.4025, allocations: 0 / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.4025, allocations: 4 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.4027, allocations: 43.95 kB / 0.5611 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.4031, allocations: 268.3 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.4034, allocations: 54.55 kB / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.4035, allocations: 28.97 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4035, allocations: 0 / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4035, allocations: 34.56 kB / 0.5614 GB, free: 3.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.4035, allocations: 3.938 kB / 0.5614 GB, free: 3.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001544/0.405, allocations: 433.4 kB / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4051, allocations: 51.41 kB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.4053, allocations: 226.2 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4053, allocations: 25.7 kB / 0.5621 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.4054, allocations: 112.1 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.4055, allocations: 31.7 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.4055, allocations: 29.7 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4057, allocations: 322.8 kB / 0.5626 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4058, allocations: 51.95 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.406, allocations: 59.95 kB / 0.5627 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.4063, allocations: 128.8 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4063, allocations: 4 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000366/0.4067, allocations: 169.5 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4067, allocations: 4 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4067, allocations: 0 / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4067, allocations: 0 / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4068, allocations: 31.97 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.4068, allocations: 7.938 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.4069, allocations: 11.98 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4069, allocations: 4 kB / 0.5631 GB, free: 1.531 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 (11): * Single equations (assignments): 11 * 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.0001185/0.407, allocations: 129.8 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.4071, allocations: 19.84 kB / 0.5632 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.4075, allocations: 187.4 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4075, allocations: 7.984 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4075, allocations: 3.938 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4075, allocations: 0 / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007398/0.4083, allocations: 443.6 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4083, allocations: 4 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4084, allocations: 27.97 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4084, allocations: 8 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4084, allocations: 4 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4084, allocations: 0 / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4084, allocations: 3.938 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.4088, allocations: 277.1 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.4089, allocations: 11.89 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4089, allocations: 4 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.409, allocations: 16.08 kB / 0.5642 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.409, allocations: 11.92 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.409, allocations: 8 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.4092, allocations: 164.2 kB / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4092, allocations: 0 / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.4095, allocations: 23.98 kB / 0.5644 GB, free: 116 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001905/0.4114, allocations: 0.492 MB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.4117, allocations: 123.8 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4117, allocations: 0 / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.4119, allocations: 72.02 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4123, allocations: 19.94 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.413, allocations: 328.8 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4131, allocations: 113.7 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4132, allocations: 32.45 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.4133, allocations: 15.44 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4133, allocations: 0 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.004929/0.4182, allocations: 1.705 MB / 0.5672 GB, free: 13.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.2094117775559425]