Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.00192/0.00192, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002315/0.002315, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.638/1.638, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2359/0.2359, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [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.002205/0.002205, allocations: 67.91 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3815, allocations: 65.47 MB / 0.5575 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003543/0.3851, allocations: 1.648 MB / 0.5591 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3863, allocations: 0.7556 MB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.3863, allocations: 0 / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3866, allocations: 31.84 kB / 0.5598 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.3869, allocations: 43.83 kB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.731e-06/0.3869, allocations: 0 / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3871, allocations: 39.89 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3871, allocations: 0 / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.3871, allocations: 11.88 kB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.3872, allocations: 19.91 kB / 0.5599 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3872, allocations: 0 / 0.5599 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.3873, allocations: 12 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3874, allocations: 16.89 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3874, allocations: 11.88 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3876, allocations: 74.06 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3876, allocations: 0 / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3876, allocations: 4 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3876, allocations: 3.938 kB / 0.5601 GB, free: 4.648 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004369/0.388, allocations: 292 kB / 0.5603 GB, free: 4.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3881, allocations: 12.03 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3881, allocations: 4.891 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3883, allocations: 114.5 kB / 0.5605 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3883, allocations: 12.36 kB / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3883, allocations: 384 / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3885, allocations: 123.3 kB / 0.5606 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3885, allocations: 4.125 kB / 0.5606 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3885, allocations: 7.938 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.3886, allocations: 27.92 kB / 0.5606 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.3887, allocations: 43.86 kB / 0.5607 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.3894, allocations: 0.8395 MB / 0.5615 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3895, allocations: 169.1 kB / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3896, allocations: 80.14 kB / 0.5617 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.3896, allocations: 79.28 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.3897, allocations: 109.8 kB / 0.5619 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3897, allocations: 0 / 0.5619 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.615e-05/0.3898, allocations: 45.64 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.3898, allocations: 126.7 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3901, allocations: 194.1 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3901, allocations: 25.7 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3902, allocations: 151.5 kB / 0.5624 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/0.3902, allocations: 4 kB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.3903, allocations: 41.66 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3904, allocations: 318.8 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.3905, allocations: 35.97 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3906, allocations: 157.1 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.3909, allocations: 200.9 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3909, allocations: 4 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003435/0.3912, allocations: 197.3 kB / 0.5634 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3913, allocations: 14.73 kB / 0.5634 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3913, allocations: 8 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3913, allocations: 4 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3914, allocations: 35.92 kB / 0.5634 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.3915, allocations: 8 kB / 0.5634 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3915, allocations: 24.28 kB / 0.5634 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3916, allocations: 8 kB / 0.5634 GB, free: 0.8477 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001628/0.3917, allocations: 221 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.3918, allocations: 116.8 kB / 0.5638 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.3919, allocations: 120.6 kB / 0.5639 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.005e-05/0.392, allocations: 176.3 kB / 0.5641 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.17e-05/0.3921, allocations: 184.3 kB / 0.5642 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001064/0.3922, allocations: 180.3 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3924, allocations: 376.8 kB / 0.5648 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.638e-05/0.3925, allocations: 105 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.3925, allocations: 108.9 kB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.429e-05/0.3926, allocations: 188.2 kB / 0.5651 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.103e-05/0.3927, allocations: 184.2 kB / 0.5653 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.764e-05/0.3928, allocations: 192.1 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-05/0.3929, allocations: 176.3 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3931, allocations: 319.7 kB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.3932, allocations: 112.9 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3933, allocations: 188.1 kB / 0.5663 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3933, allocations: 101 kB / 0.5664 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.3934, allocations: 184.2 kB / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.3935, allocations: 105 kB / 0.5666 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3936, allocations: 132 kB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3936, allocations: 4 kB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3939, allocations: 16 kB / 0.5668 GB, free: 13.24 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 (0): * Single equations (assignments): 0 * 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.0007424/0.3946, allocations: 274.4 kB / 0.567 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3948, allocations: 72.78 kB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3948, allocations: 0 / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.3948, allocations: 4.25 kB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3952, allocations: 470.2 kB / 0.5676 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3956, allocations: 245 kB / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.843e-05/0.3957, allocations: 87.5 kB / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.3959, allocations: 53.02 kB / 0.5679 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.3959, allocations: 11.44 kB / 0.5679 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3959, allocations: 0 / 0.5679 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.003453/0.3994, allocations: 0.7546 MB / 0.5687 GB, free: 11.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.35208055190742]