Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001464/0.001464, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001558/0.001558, allocations: 210 kB / 24.48 MB, free: 3.938 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.601/1.601, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2489/0.2489, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [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.002093/0.002093, allocations: 67.89 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.38, allocations: 65.47 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003684/0.3837, allocations: 1.982 MB / 0.5601 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3858, allocations: 1.088 MB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3859, allocations: 4 kB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.3864, allocations: 267 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.387, allocations: 271 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3884, allocations: 0.6529 MB / 0.5623 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.3889, allocations: 358.9 kB / 0.5627 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.3891, allocations: 52.56 kB / 0.5627 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.3893, allocations: 155.4 kB / 0.5629 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.3895, allocations: 227.1 kB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.3896, allocations: 12 kB / 0.5631 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3897, allocations: 75.95 kB / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3899, allocations: 103.5 kB / 0.5633 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.39, allocations: 91.17 kB / 0.5634 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.3904, allocations: 337.1 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3904, allocations: 4 kB / 0.5637 GB, free: 1.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3904, allocations: 4 kB / 0.5637 GB, free: 1.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3905, allocations: 0 / 0.5637 GB, free: 1.836 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007907/0.3912, allocations: 0.5971 MB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3913, allocations: 11.98 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.3914, allocations: 48.61 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.3918, allocations: 268.6 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3918, allocations: 8.375 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.3918, allocations: 12.38 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3921, allocations: 133.7 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3921, allocations: 4 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3921, allocations: 4 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3921, allocations: 7.984 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3923, allocations: 87.88 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.393, allocations: 440 kB / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3932, allocations: 94.53 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3933, allocations: 44.83 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3933, allocations: 224 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3934, allocations: 46.44 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 8.32e-07/0.3934, allocations: 0 / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001019/0.3944, allocations: 451.1 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3944, allocations: 51.41 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.3951, allocations: 0.5683 MB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3951, allocations: 29.7 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3953, allocations: 204.4 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.3953, allocations: 71.45 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.3954, allocations: 29.72 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3956, allocations: 358.8 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3957, allocations: 75.89 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3958, allocations: 63.95 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.3961, allocations: 148.8 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3961, allocations: 4 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004379/0.3966, allocations: 243.6 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3966, allocations: 8 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3966, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3966, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3968, allocations: 35.92 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3968, allocations: 0 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.3968, allocations: 15.98 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3968, allocations: 4 kB / 0.5677 GB, free: 13.55 MB / 414.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 (17): * Single equations (assignments): 17 * 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.0001909/0.397, allocations: 185.7 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.3971, allocations: 47.66 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.3976, allocations: 277.5 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3976, allocations: 3.984 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3976, allocations: 0 / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3976, allocations: 0 / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.3985, allocations: 0.5938 MB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3985, allocations: 0 / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3986, allocations: 39.92 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3986, allocations: 0 / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3986, allocations: 4 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3986, allocations: 7.984 kB / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3986, allocations: 0 / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.3991, allocations: 339 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3992, allocations: 27.77 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3992, allocations: 0 / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.3993, allocations: 11.98 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.3993, allocations: 11.98 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3993, allocations: 12 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.3998, allocations: 435 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3998, allocations: 0 / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.4001, allocations: 47.94 kB / 0.5697 GB, free: 11.47 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 (17): * Single equations (assignments): 17 * 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.002933/0.4031, allocations: 0.759 MB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.4034, allocations: 166.7 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4034, allocations: 4 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.4036, allocations: 87.88 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.4042, allocations: 81.5 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4054, allocations: 0.7458 MB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.4056, allocations: 216.2 kB / 0.5717 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.4057, allocations: 31.42 kB / 0.5717 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4057, allocations: 0 / 0.5717 GB, free: 9.703 MB / 414.1 MB Notification: Performance of Templates: time 0.008019/0.4137, allocations: 4.93 MB / 0.5765 GB, free: 4.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 8.539280151948333]