Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001488/0.001488, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001354/0.001354, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1486/0.1486, allocations: 32.38 MB / 270.4 MB, free: 14.81 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.407e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002322/0.002346, allocations: 1.656 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004542/0.0028, allocations: 323.3 kB / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.002837, allocations: 4 kB / 349.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.003132, allocations: 459 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.003322, allocations: 251.4 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003504, allocations: 107.7 kB / 350.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003638, allocations: 175.6 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.003688, allocations: 12.17 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.003766, allocations: 115.8 kB / 350.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.003886, allocations: 235.7 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.003899, allocations: 4 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.003949, allocations: 31.97 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.003999, allocations: 91.64 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.004022, allocations: 39.75 kB / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004158, allocations: 199.1 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00416, allocations: 0 / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00416, allocations: 0 / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004163, allocations: 0 / 351.3 MB, free: 5.762 MB / 282.7 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.0003695/0.004533, allocations: 0.6815 MB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.004567, allocations: 8.031 kB / 352 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.004619, allocations: 52.59 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004776, allocations: 241 kB / 352.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.004785, allocations: 4.375 kB / 352.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.004805, allocations: 8.375 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.004905, allocations: 62.88 kB / 352.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.004916, allocations: 4.188 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.004926, allocations: 3.938 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.004934, allocations: 0 / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.004963, allocations: 8 kB / 352.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.005275, allocations: 423.6 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.005341, allocations: 46.92 kB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.005362, allocations: 15.62 kB / 352.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.00538, allocations: 8 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.005397, allocations: 33.39 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005398, allocations: 0 / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003389/0.005737, allocations: 208.9 kB / 353.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.005755, allocations: 51.41 kB / 353.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.00606, allocations: 0.6238 MB / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.006068, allocations: 25.7 kB / 353.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.006166, allocations: 286.7 kB / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.006186, allocations: 23.84 kB / 354.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.006208, allocations: 23.38 kB / 354.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006316, allocations: 0.5586 MB / 354.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.006332, allocations: 4 kB / 354.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.006346, allocations: 12 kB / 354.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.006381, allocations: 35.61 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.006382, allocations: 0 / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.254e-05/0.006454, allocations: 97.64 kB / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.006462, allocations: 8 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.006465, allocations: 3.984 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.006472, allocations: 0 / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.006524, allocations: 12 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.006527, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.006553, allocations: 12.27 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.006557, allocations: 4 kB / 354.9 MB, free: 1.996 MB / 282.7 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 5.223e-05/0.00661, allocations: 164.5 kB / 355.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.006639, allocations: 47.67 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.006745, allocations: 121.4 kB / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006747, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.006748, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.00675, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.007005, allocations: 481.2 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007006, allocations: 4 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.007039, allocations: 15.98 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007041, allocations: 4 kB / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.007046, allocations: 3.938 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007047, allocations: 0 / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007047, allocations: 0 / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.007149, allocations: 259.5 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.007168, allocations: 31.72 kB / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.00718, allocations: 0 / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.007219, allocations: 7.984 kB / 356 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.007243, allocations: 7.984 kB / 356 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.007247, allocations: 8 kB / 356 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.007453, allocations: 422.8 kB / 356.4 MB, free: 384 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007453, allocations: 0 / 356.4 MB, free: 384 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.007616, allocations: 31.92 kB / 356.5 MB, free: 352 kB / 282.7 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.0008353/0.008451, allocations: 361.2 kB / 356.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.008555, allocations: 43.59 kB / 356.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008556, allocations: 0 / 356.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.008582, allocations: 23.83 kB / 356.9 MB, free: 4 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.008833, allocations: 38.05 kB / 356.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/0.009555, allocations: 0.5862 MB / 357.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.984e-05/0.009635, allocations: 119.3 kB / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.009663, allocations: 11.98 kB / 357.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.009688, allocations: 16.5 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009689, allocations: 0 / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.00432/0.01401, allocations: 1.574 MB / 359.2 MB, free: 13.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.14136611064896]