Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001493/0.001493, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2463/0.2463, allocations: 44.93 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [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.00242/0.00242, allocations: 66.09 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3771, allocations: 65.47 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003639/0.3807, allocations: 1.671 MB / 0.5591 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.382, allocations: 0.5583 MB / 0.5596 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.3821, allocations: 0 / 0.5596 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.3828, allocations: 463 kB / 0.5601 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.3834, allocations: 295.3 kB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.3839, allocations: 179 kB / 0.5605 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.3842, allocations: 175.6 kB / 0.5607 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3843, allocations: 16.22 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3845, allocations: 119.7 kB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.3848, allocations: 251.5 kB / 0.5611 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3848, allocations: 4 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.385, allocations: 47.98 kB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3851, allocations: 87.62 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.3852, allocations: 71.23 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.3856, allocations: 292.9 kB / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3856, allocations: 0 / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3856, allocations: 4 kB / 0.5616 GB, free: 3.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.3856, allocations: 0 / 0.5616 GB, free: 3.266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008633/0.3865, allocations: 0.5854 MB / 0.5621 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3866, allocations: 8.031 kB / 0.5621 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.3866, allocations: 48.61 kB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.387, allocations: 250.7 kB / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.387, allocations: 384 / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.387, allocations: 8.375 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3872, allocations: 61.8 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3872, allocations: 0 / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3872, allocations: 4 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3873, allocations: 4 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3875, allocations: 35.91 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.388, allocations: 340.4 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3881, allocations: 50.58 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.3882, allocations: 16.86 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3882, allocations: 0 / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3882, allocations: 42.58 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.176e-06/0.3882, allocations: 4 kB / 0.563 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009957/0.3892, allocations: 332.6 kB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3893, allocations: 51.41 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.3903, allocations: 0.8613 MB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3903, allocations: 25.7 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3905, allocations: 227.9 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.3906, allocations: 27.78 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3907, allocations: 21.72 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3909, allocations: 358.8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/0.391, allocations: 35.97 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.3911, allocations: 35.91 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3912, allocations: 68.83 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3913, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002762/0.3915, allocations: 149.3 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3916, allocations: 4 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3916, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3916, allocations: 4 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3917, allocations: 23.92 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3917, allocations: 3.938 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.3918, allocations: 7.984 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3918, allocations: 4 kB / 0.5651 GB, free: 15.43 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 (8): * Single equations (assignments): 8 * 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.0002252/0.392, allocations: 217.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.3921, allocations: 43.72 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.3924, allocations: 173.4 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3924, allocations: 4 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3924, allocations: 3.938 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3924, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.3932, allocations: 467.2 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3932, allocations: 7.938 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.3932, allocations: 15.98 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3933, allocations: 3.938 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3933, allocations: 4 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3933, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3933, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.3936, allocations: 252 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3937, allocations: 39.66 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3937, allocations: 7.969 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.3938, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3938, allocations: 11.98 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3938, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007399/0.3946, allocations: 0.6511 MB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3946, allocations: 0 / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3949, allocations: 27.94 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001978/0.3969, allocations: 494.5 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.3971, allocations: 71.89 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3971, allocations: 4 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3972, allocations: 35.97 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3977, allocations: 33.98 kB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3992, allocations: 0.8385 MB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3995, allocations: 228.1 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.34e-05/0.3995, allocations: 32.94 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3996, allocations: 19.44 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3996, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.006136/0.4057, allocations: 1.942 MB / 0.5706 GB, free: 9.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.315372057259083]