Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002224/0.002224, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.63/1.63, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2558/0.2558, allocations: 44.93 MB / 358.8 MB, free: 6.148 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.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.002193/0.002193, allocations: 67.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3735, allocations: 65.48 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003881/0.3774, allocations: 1.964 MB / 0.5594 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3793, allocations: 0.9829 MB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.3794, allocations: 4 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.3799, allocations: 255.1 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.3804, allocations: 271.1 kB / 0.5609 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3815, allocations: 0.494 MB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.3819, allocations: 334.8 kB / 0.5617 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.382, allocations: 60.55 kB / 0.5617 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.3823, allocations: 143.4 kB / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3825, allocations: 219.2 kB / 0.5621 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3826, allocations: 12 kB / 0.5621 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3827, allocations: 67.98 kB / 0.5621 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.3828, allocations: 95.61 kB / 0.5622 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.3829, allocations: 91.22 kB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.3834, allocations: 325.1 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3834, allocations: 0 / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3834, allocations: 0 / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3834, allocations: 0 / 0.5626 GB, free: 2.176 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.0007955/0.3842, allocations: 0.5912 MB / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3842, allocations: 11.98 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/0.3843, allocations: 44.66 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3846, allocations: 256.7 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3847, allocations: 8.375 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.3847, allocations: 12.38 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3849, allocations: 113.7 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.385, allocations: 7.984 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.385, allocations: 4 kB / 0.5636 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.385, allocations: 0 / 0.5636 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.3852, allocations: 71.89 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.3858, allocations: 412 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.386, allocations: 82.48 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.3861, allocations: 32.84 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3862, allocations: 15.92 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3862, allocations: 34.56 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3862, allocations: 0 / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009892/0.3872, allocations: 392.6 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3872, allocations: 55.41 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.3879, allocations: 0.5604 MB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.388, allocations: 25.7 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3882, allocations: 208.4 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.3882, allocations: 59.48 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.3883, allocations: 33.7 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.3886, allocations: 350.8 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3887, allocations: 55.91 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3888, allocations: 51.97 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.3891, allocations: 119.1 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3891, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003748/0.3894, allocations: 209.2 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3894, allocations: 4 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3894, allocations: 0 / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3895, allocations: 4 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3896, allocations: 31.97 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3896, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.3897, allocations: 8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3897, allocations: 7.938 kB / 0.5664 GB, free: 14.18 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.0001767/0.3899, allocations: 173.8 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.39, allocations: 47.66 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3905, allocations: 243.6 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3905, allocations: 0 / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3905, allocations: 3.938 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3905, allocations: 0 / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009166/0.3915, allocations: 0.5331 MB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3915, allocations: 8 kB / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3916, allocations: 31.98 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3916, allocations: 3.938 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3916, allocations: 11.98 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3916, allocations: 0 / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3916, allocations: 0 / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.3921, allocations: 309.2 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.3921, allocations: 27.77 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.3921, allocations: 7.984 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.3922, allocations: 11.98 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3923, allocations: 11.98 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3923, allocations: 8 kB / 0.5677 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000487/0.3928, allocations: 423 kB / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3928, allocations: 0 / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.3931, allocations: 47.94 kB / 0.5682 GB, free: 12.23 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.003088/0.3962, allocations: 0.7502 MB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.3965, allocations: 131.8 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3965, allocations: 0 / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3967, allocations: 71.91 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3973, allocations: 78.36 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3985, allocations: 0.6957 MB / 0.5699 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3988, allocations: 216.1 kB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3989, allocations: 41.91 kB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.399, allocations: 35.42 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.399, allocations: 0 / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.008479/0.4074, allocations: 3.56 MB / 0.5736 GB, free: 7.016 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.391037669032812]