Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001757/0.001757, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001867/0.001867, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.2335/0.2335, allocations: 44.94 MB / 358.8 MB, free: 6.07 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [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.002224/0.002224, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3796, allocations: 65.48 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00344/0.383, allocations: 1.633 MB / 0.5591 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3851, allocations: 1.24 MB / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3851, allocations: 0 / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3854, allocations: 31.84 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.3857, allocations: 91.53 kB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3861, allocations: 131 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3862, allocations: 79.69 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3864, allocations: 12 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.3864, allocations: 31.86 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3866, allocations: 35.83 kB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3866, allocations: 4 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3868, allocations: 95.88 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.3868, allocations: 19.92 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.3869, allocations: 19.88 kB / 0.5608 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3871, allocations: 141.9 kB / 0.5609 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3872, allocations: 0 / 0.5609 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3872, allocations: 0 / 0.5609 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3872, allocations: 4 kB / 0.5609 GB, free: 3.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000612/0.3878, allocations: 337.6 kB / 0.5613 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3878, allocations: 12.03 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3879, allocations: 8.891 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3881, allocations: 145 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.3881, allocations: 384 / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.3881, allocations: 8.375 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3883, allocations: 105.2 kB / 0.5615 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3883, allocations: 0 / 0.5615 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3884, allocations: 4 kB / 0.5615 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3884, allocations: 7.922 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3885, allocations: 35.97 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.3889, allocations: 228.5 kB / 0.5618 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.389, allocations: 42.55 kB / 0.5618 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.3891, allocations: 28.88 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3891, allocations: 0 / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3892, allocations: 34.56 kB / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3892, allocations: 0 / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007938/0.39, allocations: 213.4 kB / 0.5621 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.39, allocations: 81.11 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3902, allocations: 145.8 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3902, allocations: 29.7 kB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.3903, allocations: 88.14 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3903, allocations: 35.73 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.3903, allocations: 21.72 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3905, allocations: 322.8 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3906, allocations: 35.91 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3908, allocations: 71.39 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.391, allocations: 72.84 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.391, allocations: 0 / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002842/0.3913, allocations: 117.5 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3913, allocations: 4 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3913, allocations: 0 / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3913, allocations: 0 / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3914, allocations: 23.97 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3914, allocations: 0 / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.3915, allocations: 15.98 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3915, allocations: 3.938 kB / 0.5631 GB, free: 1.496 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001021/0.3916, allocations: 117.8 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3917, allocations: 7.953 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.392, allocations: 126.3 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.392, allocations: 0 / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.392, allocations: 4 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.392, allocations: 0 / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.3926, allocations: 338.4 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3926, allocations: 0 / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.3927, allocations: 19.98 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3927, allocations: 0 / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3927, allocations: 7.984 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3927, allocations: 4.078 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3927, allocations: 11.92 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.393, allocations: 203.5 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.3931, allocations: 3.953 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3931, allocations: 8 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.3932, allocations: 7.984 kB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3932, allocations: 11.92 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3932, allocations: 3.938 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3933, allocations: 121.8 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3933, allocations: 3.938 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3936, allocations: 35.88 kB / 0.5641 GB, free: 416 kB / 398.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 (7): * Single equations (assignments): 7 * 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.001897/0.3955, allocations: 0.5211 MB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.3958, allocations: 71.94 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3958, allocations: 0 / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.396, allocations: 51.84 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3963, allocations: 22 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.3968, allocations: 209.8 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.3969, allocations: 79.67 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.397, allocations: 19.97 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.397, allocations: 23.42 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.397, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.005373/0.4024, allocations: 1.959 MB / 0.567 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.320709014311433]