Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001438/0.001438, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001499/0.001499, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2511/0.2511, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [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.002169/0.002169, allocations: 71.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3808, allocations: 65.47 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003783/0.3846, allocations: 1.967 MB / 0.5594 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3866, allocations: 0.9906 MB / 0.5604 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3867, allocations: 4 kB / 0.5604 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.3872, allocations: 255.2 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.3877, allocations: 267 kB / 0.5609 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3888, allocations: 493.4 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.3892, allocations: 342.8 kB / 0.5617 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3894, allocations: 48.55 kB / 0.5617 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3896, allocations: 155.3 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.3899, allocations: 227.2 kB / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3899, allocations: 12 kB / 0.5621 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3901, allocations: 91.97 kB / 0.5622 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3902, allocations: 95.61 kB / 0.5623 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.3903, allocations: 91.22 kB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.3908, allocations: 341 kB / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3908, allocations: 0 / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3908, allocations: 0 / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3908, allocations: 4 kB / 0.5627 GB, free: 2.164 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.0008511/0.3916, allocations: 0.601 MB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3917, allocations: 11.98 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.3918, allocations: 44.66 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3921, allocations: 256.7 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3922, allocations: 8.375 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.3922, allocations: 16.36 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3924, allocations: 109.7 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3925, allocations: 0 / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3925, allocations: 4 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3925, allocations: 8 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3926, allocations: 67.95 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.3933, allocations: 404 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3935, allocations: 86.55 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.3936, allocations: 28.84 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3936, allocations: 7.984 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3937, allocations: 38.56 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.3937, allocations: 0 / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009929/0.3947, allocations: 404.5 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3947, allocations: 55.41 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.3954, allocations: 0.5565 MB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3954, allocations: 29.7 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3956, allocations: 204.4 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.3956, allocations: 59.48 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.3957, allocations: 33.7 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3959, allocations: 354.8 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.396, allocations: 47.97 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3961, allocations: 47.97 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3963, allocations: 122.7 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3963, allocations: 3.938 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000378/0.3967, allocations: 209.1 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3967, allocations: 6.656 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3967, allocations: 4 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3967, allocations: 0 / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3969, allocations: 35.97 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3969, allocations: 0 / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.649e-05/0.397, allocations: 8 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.397, allocations: 8 kB / 0.5664 GB, free: 14.16 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.0001729/0.3972, allocations: 173.8 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.3972, allocations: 55.58 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.3977, allocations: 245.4 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3977, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3977, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3977, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.3986, allocations: 0.537 MB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3986, allocations: 4 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3987, allocations: 31.92 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3987, allocations: 0 / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3987, allocations: 15.98 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3987, allocations: 0 / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3987, allocations: 0 / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.3992, allocations: 301.2 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3992, allocations: 35.75 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3993, allocations: 4 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.3993, allocations: 7.984 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3994, allocations: 11.98 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3994, allocations: 8 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004928/0.3999, allocations: 435 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3999, allocations: 0 / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.4002, allocations: 47.94 kB / 0.5682 GB, free: 12.21 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.003057/0.4033, allocations: 0.7476 MB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4036, allocations: 123.8 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4036, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4037, allocations: 75.91 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.4043, allocations: 81.41 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4054, allocations: 0.7035 MB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.4057, allocations: 212.2 kB / 0.5701 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.4058, allocations: 41.91 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.4058, allocations: 35.42 kB / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4058, allocations: 0 / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Templates: time 0.008227/0.4141, allocations: 3.567 MB / 0.5737 GB, free: 6.984 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.385124109685421]