Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.00102/0.00102, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001133/0.001133, allocations: 168.3 kB / 25.61 MB, free: 8.598 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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.1334/0.1334, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.204e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002351/0.002373, allocations: 2.019 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003642, allocations: 1.105 MB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003749, allocations: 0 / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.004125, allocations: 274.9 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.004478, allocations: 267 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.005252, allocations: 0.6352 MB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.005534, allocations: 363 kB / 381.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.005674, allocations: 52.89 kB / 382 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.0058, allocations: 191.4 kB / 382.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.005959, allocations: 195.6 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.00598, allocations: 12 kB / 382.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.006099, allocations: 95.84 kB / 382.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.006184, allocations: 107.6 kB / 382.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.006227, allocations: 59.66 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.006463, allocations: 282.8 kB / 382.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006467, allocations: 4 kB / 382.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.006469, allocations: 0 / 382.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.006477, allocations: 0 / 382.9 MB, free: 19.95 MB / 314.7 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.0004571/0.006934, allocations: 0.7085 MB / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.006967, allocations: 11.98 kB / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.00702, allocations: 56.64 kB / 383.7 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.007213, allocations: 270.7 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.007225, allocations: 8.375 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.007248, allocations: 12.33 kB / 384 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.00737, allocations: 102.9 kB / 384.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007381, allocations: 4.188 kB / 384.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.00739, allocations: 8.125 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.007396, allocations: 4 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.00744, allocations: 31.91 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.007772, allocations: 415.9 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.007854, allocations: 81.22 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.007876, allocations: 19.67 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.007897, allocations: 4 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.007912, allocations: 37.61 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.007913, allocations: 3.938 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004325/0.008345, allocations: 258.3 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.008366, allocations: 51.41 kB / 385 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.008579, allocations: 482.4 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.008587, allocations: 33.7 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.00867, allocations: 267.1 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.008699, allocations: 59.53 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.008735, allocations: 35.36 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.008799, allocations: 0.539 MB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.008824, allocations: 19.98 kB / 386.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.008848, allocations: 19.98 kB / 386.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.008908, allocations: 77.72 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.008909, allocations: 0 / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000124/0.009033, allocations: 151.2 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.009045, allocations: 4 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.009051, allocations: 0 / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.009061, allocations: 7.938 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.009156, allocations: 27.98 kB / 386.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009159, allocations: 3.938 kB / 386.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.009191, allocations: 11.92 kB / 386.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.009201, allocations: 8 kB / 386.7 MB, free: 15.97 MB / 314.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 (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 6.078e-05/0.009262, allocations: 164.6 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.009301, allocations: 47.72 kB / 386.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.009489, allocations: 177.6 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.009491, allocations: 3.938 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009493, allocations: 3.938 kB / 387.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009497, allocations: 3.984 kB / 387.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.009833, allocations: 499 kB / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.009836, allocations: 3.938 kB / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.009898, allocations: 27.98 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0099, allocations: 8 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.009907, allocations: 4 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009908, allocations: 0 / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009909, allocations: 0 / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.01005, allocations: 310.1 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01007, allocations: 31.7 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.01009, allocations: 4 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/0.01013, allocations: 7.984 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.01016, allocations: 7.984 kB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01017, allocations: 8 kB / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.01029, allocations: 303 kB / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 4 kB / 388.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01048, allocations: 59.86 kB / 388.3 MB, free: 14.25 MB / 314.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 (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.001419/0.0119, allocations: 0.6513 MB / 389 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01202, allocations: 83.47 kB / 389.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01202, allocations: 0 / 389.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.01206, allocations: 62.25 kB / 389.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.01237, allocations: 87.97 kB / 389.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.0129, allocations: 0.5916 MB / 389.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.01295, allocations: 120.2 kB / 389.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.01302, allocations: 41.91 kB / 389.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.01311, allocations: 126.2 kB / 390.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01312, allocations: 0 / 390.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Templates: time 0.005443/0.01856, allocations: 3.851 MB / 393.9 MB, free: 8.934 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.5816029482521117]