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.0008615/0.0008615, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.001166/0.001166, allocations: 167.4 kB / 24.91 MB, free: 9.254 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 0.9338/0.9338, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2253/0.2253, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.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.693e-06/1.693e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.861e-05, allocations: 11.19 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002365/0.002384, allocations: 2.021 MB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.00375, allocations: 1.128 MB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.003847, allocations: 7.938 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.004237, allocations: 263 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.004639, allocations: 278.8 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.005533, allocations: 0.6392 MB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.005858, allocations: 358.9 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.005997, allocations: 59.8 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.006166, allocations: 183.5 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.00634, allocations: 175.5 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.006363, allocations: 16 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.006495, allocations: 103.8 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.006595, allocations: 95.62 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.006644, allocations: 63.7 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.006913, allocations: 274.8 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006915, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006916, allocations: 3.938 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.006921, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.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.0004864/0.007408, allocations: 0.5773 MB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.007438, allocations: 8.031 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.007485, allocations: 32.91 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.007715, allocations: 264 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.007727, allocations: 8.375 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.007752, allocations: 16.31 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007873, allocations: 95.48 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007884, allocations: 4.141 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.007895, allocations: 8.125 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.007901, allocations: 4 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.007946, allocations: 29.89 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.008261, allocations: 274.7 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.008339, allocations: 65.97 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.008364, allocations: 20.84 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.008384, allocations: 4 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.00841, allocations: 30.56 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.008411, allocations: 0 / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004626/0.008873, allocations: 219.4 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.008912, allocations: 55.34 kB / 330.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.009186, allocations: 413 kB / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.009203, allocations: 33.7 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.009271, allocations: 149.7 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.00931, allocations: 67.47 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.009347, allocations: 25.7 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.009443, allocations: 354.7 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.009466, allocations: 19.98 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.009488, allocations: 14.34 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.00955, allocations: 63.62 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.009551, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000101/0.009652, allocations: 108.4 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.009663, allocations: 7.938 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.009667, allocations: 0 / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.009678, allocations: 3.938 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.009759, allocations: 31.98 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.009763, allocations: 3.984 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.009793, allocations: 8 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.009803, allocations: 7.984 kB / 331.8 MB, free: 0.8906 MB / 298.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 7.194e-05/0.009875, allocations: 116.6 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.009906, allocations: 31.97 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.01008, allocations: 141.7 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01009, allocations: 3.938 kB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01009, allocations: 0 / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01009, allocations: 8 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.01043, allocations: 375.1 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01043, allocations: 0 / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.01049, allocations: 35.86 kB / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0105, allocations: 0 / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.0105, allocations: 7.984 kB / 332.5 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0105, allocations: 0 / 332.5 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01051, allocations: 3.984 kB / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01064, allocations: 205.2 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01066, allocations: 31.7 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01068, allocations: 8 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.01073, allocations: 7.984 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.01076, allocations: 7.984 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.01076, allocations: 4 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.01089, allocations: 199.4 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01089, allocations: 0 / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01106, allocations: 47.94 kB / 333.1 MB, free: 15.62 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.001802/0.01286, allocations: 0.9164 MB / 334 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01296, allocations: 68.67 kB / 334 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.01297, allocations: 4 kB / 334 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.01301, allocations: 44.77 kB / 334.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01325, allocations: 89.25 kB / 334.2 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.0138, allocations: 0.6013 MB / 334.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.827e-05/0.01387, allocations: 120.2 kB / 334.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.01395, allocations: 53.89 kB / 334.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01405, allocations: 91.36 kB / 335 MB, free: 14.09 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01405, allocations: 0 / 335 MB, free: 14.09 MB / 314.7 MB Notification: Performance of Templates: time 0.00528/0.01933, allocations: 3.766 MB / 338.8 MB, free: 10.36 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: 2.847556697204709]