Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001354/0.001354, 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.001493/0.001493, allocations: 207 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2331/0.2331, allocations: 44.94 MB / 358.8 MB, free: 6.078 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002419/0.002419, allocations: 67.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3994, allocations: 65.46 MB / 0.5575 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003749/0.4032, allocations: 1.599 MB / 0.559 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.4045, allocations: 0.5222 MB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.4046, allocations: 0 / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.4052, allocations: 451.1 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.4059, allocations: 299.3 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.4063, allocations: 127.5 kB / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.4066, allocations: 159.6 kB / 0.5605 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4067, allocations: 8.188 kB / 0.5605 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.4069, allocations: 111.8 kB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.4073, allocations: 243.5 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.4073, allocations: 0 / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.4074, allocations: 27.92 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.4075, allocations: 83.69 kB / 0.561 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.4076, allocations: 63.25 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.4079, allocations: 261 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4079, allocations: 0 / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4079, allocations: 0 / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.408, allocations: 0 / 0.5613 GB, free: 3.418 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.0008151/0.4088, allocations: 0.5755 MB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4088, allocations: 8.031 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.4089, allocations: 44.66 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4092, allocations: 246.7 kB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4092, allocations: 384 / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.4092, allocations: 4.312 kB / 0.5621 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4094, allocations: 58.59 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4094, allocations: 0 / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4094, allocations: 0 / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4094, allocations: 0 / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/0.4095, allocations: 23.98 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.41, allocations: 316.4 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4101, allocations: 34.56 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.4102, allocations: 12.92 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.4102, allocations: 0 / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4102, allocations: 38.55 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 3.156e-06/0.4102, allocations: 3.984 kB / 0.5626 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000314/0.4105, allocations: 101.3 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4106, allocations: 55.41 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.4116, allocations: 0.8574 MB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.4116, allocations: 25.7 kB / 0.5636 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4118, allocations: 212 kB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.4118, allocations: 11.89 kB / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.4118, allocations: 17.7 kB / 0.5638 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.412, allocations: 358.7 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.4121, allocations: 15.92 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.4121, allocations: 12.12 kB / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.597e-05/0.4122, allocations: 24.84 kB / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4122, allocations: 4 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.4123, allocations: 93.34 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4124, allocations: 6.812 kB / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4124, allocations: 0 / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4124, allocations: 0 / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4124, allocations: 7.984 kB / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4124, allocations: 4.094 kB / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.4125, allocations: 4 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4125, allocations: 0 / 0.5644 GB, free: 104 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.0002289/0.4127, allocations: 213.7 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.4128, allocations: 47.72 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.413, allocations: 100.7 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.413, allocations: 0 / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.413, allocations: 3.938 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.413, allocations: 4 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.4133, allocations: 233.2 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4133, allocations: 0 / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.4133, allocations: 7.984 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4133, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4133, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4134, allocations: 3.984 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4134, allocations: 4 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.4136, allocations: 187.2 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.4136, allocations: 35.7 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4137, allocations: 4.031 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.4137, allocations: 4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.4137, allocations: 3.938 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4138, allocations: 4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006885/0.4144, allocations: 0.6472 MB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4144, allocations: 0 / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4147, allocations: 19.98 kB / 0.5658 GB, free: 14.53 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.001412/0.4161, allocations: 364.7 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4163, allocations: 23.97 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4163, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.4163, allocations: 11.94 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4167, allocations: 39.77 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.418, allocations: 0.7868 MB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.4182, allocations: 211.5 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.4183, allocations: 7.984 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.4183, allocations: 11.44 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4183, allocations: 0 / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Templates: time 0.0052/0.4235, allocations: 1.445 MB / 0.5686 GB, free: 11.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 5.188296066597104]