Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 110.5 kB / 21.22 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 209.3 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.172 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2309/0.2309, allocations: 46.93 MB / 361.4 MB, free: 4.367 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.86 kB / 0.4972 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3646, allocations: 66.04 MB / 0.5617 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003887/0.3684, allocations: 2.072 MB / 0.5637 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.3707, allocations: 1.142 MB / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3708, allocations: 3.938 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.3713, allocations: 263.1 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.3719, allocations: 263.1 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3734, allocations: 0.6562 MB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.3739, allocations: 362.8 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3741, allocations: 56.5 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.3743, allocations: 155.4 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.3746, allocations: 243.1 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3747, allocations: 8 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3748, allocations: 71.92 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.375, allocations: 107.6 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3751, allocations: 122.9 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.3756, allocations: 337.2 kB / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3756, allocations: 0 / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3756, allocations: 0 / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3756, allocations: 0 / 0.5674 GB, free: 14.67 MB / 414.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.000882/0.3765, allocations: 0.6049 MB / 0.5679 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3765, allocations: 12.03 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.3766, allocations: 44.61 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.377, allocations: 264.7 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.377, allocations: 8.375 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.3771, allocations: 12.38 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.3773, allocations: 119 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3774, allocations: 4.188 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3774, allocations: 7.938 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3774, allocations: 4 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.3776, allocations: 103.8 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.3783, allocations: 479.4 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3786, allocations: 110.4 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.3787, allocations: 36.84 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3787, allocations: 7.984 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3787, allocations: 34.56 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3787, allocations: 0 / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001079/0.3798, allocations: 458.8 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3798, allocations: 59.31 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3805, allocations: 0.5644 MB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3806, allocations: 29.7 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3807, allocations: 212.4 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.3808, allocations: 59.47 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.3809, allocations: 37.7 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.381, allocations: 350.8 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3812, allocations: 71.89 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3813, allocations: 75.95 kB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3816, allocations: 154.8 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3816, allocations: 0 / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003946/0.382, allocations: 237.1 kB / 0.5714 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.382, allocations: 4 kB / 0.5714 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.382, allocations: 3.938 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.382, allocations: 4 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3822, allocations: 43.91 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3822, allocations: 4 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.3823, allocations: 0 / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3823, allocations: 8 kB / 0.5714 GB, free: 10.3 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.0001838/0.3824, allocations: 177.8 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.3825, allocations: 47.66 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.3831, allocations: 283.6 kB / 0.5719 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3831, allocations: 4 kB / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3831, allocations: 0 / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3831, allocations: 4 kB / 0.5719 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.3841, allocations: 0.6495 MB / 0.5725 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3841, allocations: 0 / 0.5725 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3842, allocations: 31.98 kB / 0.5726 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3842, allocations: 4 kB / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3842, allocations: 0 / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3842, allocations: 7.938 kB / 0.5726 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3842, allocations: 4 kB / 0.5726 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.3847, allocations: 337.7 kB / 0.5729 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.3847, allocations: 31.77 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3848, allocations: 0 / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.3849, allocations: 8 kB / 0.573 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3849, allocations: 15.97 kB / 0.573 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3849, allocations: 11.94 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.3854, allocations: 427.1 kB / 0.5734 GB, free: 8.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 0.5734 GB, free: 8.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.3857, allocations: 51.94 kB / 0.5734 GB, free: 8.16 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.002884/0.3886, allocations: 0.6853 MB / 0.5741 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.389, allocations: 159.8 kB / 0.5743 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.389, allocations: 0 / 0.5743 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3892, allocations: 94.02 kB / 0.5743 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.3898, allocations: 84.14 kB / 0.5744 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3911, allocations: 0.74 MB / 0.5751 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.3916, allocations: 0.826 MB / 0.576 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.3917, allocations: 49.91 kB / 0.576 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.3918, allocations: 35.42 kB / 0.576 GB, free: 5.727 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3918, allocations: 4 kB / 0.576 GB, free: 5.723 MB / 414.1 MB Notification: Performance of Templates: time 0.008651/0.4004, allocations: 3.463 MB / 0.5794 GB, free: 2.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.193998605944216]