Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001777/0.001777, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002283/0.002283, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.237/0.237, allocations: 44.91 MB / 359.6 MB, free: 6.246 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [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.002395/0.002395, allocations: 67.89 kB / 0.4943 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.383, allocations: 65.47 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003635/0.3867, allocations: 1.622 MB / 0.5598 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3878, allocations: 0.5544 MB / 0.5604 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3879, allocations: 3.938 kB / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3881, allocations: 27.8 kB / 0.5604 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3884, allocations: 75.67 kB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.3888, allocations: 123.6 kB / 0.5606 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.389, allocations: 63.84 kB / 0.5607 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3891, allocations: 8 kB / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.3891, allocations: 27.84 kB / 0.5607 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.3892, allocations: 23.86 kB / 0.5607 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3892, allocations: 0 / 0.5607 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.3893, allocations: 35.92 kB / 0.5608 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.3894, allocations: 15.94 kB / 0.5608 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.3894, allocations: 31.78 kB / 0.5608 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3896, allocations: 78.06 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3896, allocations: 0 / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3896, allocations: 4 kB / 0.5609 GB, free: 5.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3896, allocations: 4 kB / 0.5609 GB, free: 5.004 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.0005395/0.3902, allocations: 309.8 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3902, allocations: 12.03 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3903, allocations: 4.891 kB / 0.5612 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3905, allocations: 148.9 kB / 0.5613 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3905, allocations: 4.375 kB / 0.5613 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3905, allocations: 4.375 kB / 0.5613 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3907, allocations: 53.81 kB / 0.5614 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3907, allocations: 4 kB / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3907, allocations: 0 / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3907, allocations: 0 / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.3908, allocations: 23.97 kB / 0.5614 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3912, allocations: 259.9 kB / 0.5617 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3915, allocations: 46.56 kB / 0.5617 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.3915, allocations: 16.94 kB / 0.5617 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3915, allocations: 4 kB / 0.5617 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3916, allocations: 30.56 kB / 0.5618 GB, free: 3.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3916, allocations: 0 / 0.5618 GB, free: 3.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006162/0.3922, allocations: 157.3 kB / 0.5619 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3922, allocations: 55.41 kB / 0.562 GB, free: 3.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3924, allocations: 163.4 kB / 0.5621 GB, free: 3.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3924, allocations: 25.7 kB / 0.5621 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.3925, allocations: 96.12 kB / 0.5622 GB, free: 3.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3925, allocations: 19.86 kB / 0.5623 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3926, allocations: 21.7 kB / 0.5623 GB, free: 3.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3928, allocations: 314.8 kB / 0.5626 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.3928, allocations: 27.92 kB / 0.5626 GB, free: 3.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.3929, allocations: 27.91 kB / 0.5626 GB, free: 3.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3931, allocations: 52.83 kB / 0.5627 GB, free: 2.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3931, allocations: 0 / 0.5627 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.3933, allocations: 89.83 kB / 0.5628 GB, free: 2.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3933, allocations: 4 kB / 0.5628 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.3933, allocations: 4 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3933, allocations: 0 / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.3934, allocations: 12 kB / 0.5628 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3934, allocations: 3.938 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3934, allocations: 15.91 kB / 0.5628 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.3934, allocations: 4 kB / 0.5628 GB, free: 2.848 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 (5): * Single equations (assignments): 5 * 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.0001042/0.3935, allocations: 121.7 kB / 0.5629 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3936, allocations: 11.94 kB / 0.5629 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.3939, allocations: 98.38 kB / 0.563 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3939, allocations: 4 kB / 0.563 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3939, allocations: 0 / 0.563 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3939, allocations: 7.938 kB / 0.563 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.3944, allocations: 329.6 kB / 0.5634 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3944, allocations: 0 / 0.5634 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.3944, allocations: 19.98 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3944, allocations: 0 / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3945, allocations: 3.938 kB / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3945, allocations: 0 / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3945, allocations: 0 / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3948, allocations: 187.4 kB / 0.5636 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.3948, allocations: 7.953 kB / 0.5636 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3948, allocations: 11.92 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3949, allocations: 4 kB / 0.5636 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3949, allocations: 0 / 0.5636 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3949, allocations: 11.98 kB / 0.5636 GB, free: 1.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.395, allocations: 125.5 kB / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.395, allocations: 0 / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3953, allocations: 11.95 kB / 0.5637 GB, free: 1.82 MB / 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 (5): * Single equations (assignments): 5 * 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.00159/0.3969, allocations: 407.8 kB / 0.5641 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3971, allocations: 51.97 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3971, allocations: 0 / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.3972, allocations: 31.91 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3976, allocations: 12 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.3981, allocations: 223.8 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3985, allocations: 0.7041 MB / 0.5651 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3986, allocations: 11.44 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3986, allocations: 0 / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of Templates: time 0.003769/0.4023, allocations: 1.481 MB / 0.5666 GB, free: 15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.887017383007333]