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.001878/0.001878, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002021/0.002021, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.3536/0.3536, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|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.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|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.462e-06/1.462e-06, allocations: 0 / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.162e-05, allocations: 6.25 kB / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003965/0.003997, allocations: 2.019 MB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.006318, allocations: 1.105 MB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.006431, allocations: 4 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.007, allocations: 270.9 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.007563, allocations: 270.9 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.009171, allocations: 0.6391 MB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.009681, allocations: 363 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.009862, allocations: 52.73 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.01013, allocations: 199.4 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.01044, allocations: 191.6 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.01048, allocations: 12 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.01069, allocations: 103.8 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.01087, allocations: 107.6 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.01095, allocations: 59.66 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.01148, allocations: 334.7 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01148, allocations: 4 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.01148, allocations: 4 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01149, allocations: 0 / 381 MB, free: 15.27 MB / 362.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.0009966/0.01249, allocations: 0.72 MB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01252, allocations: 15.98 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.01263, allocations: 52.66 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.01307, allocations: 278.7 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.01309, allocations: 8.375 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.01313, allocations: 16.33 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.01336, allocations: 94.2 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01337, allocations: 192 / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.01339, allocations: 16.11 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.0134, allocations: 4 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.01356, allocations: 55.84 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.01442, allocations: 0.515 MB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.01463, allocations: 87.03 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.01472, allocations: 31.67 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.01475, allocations: 7.938 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.01478, allocations: 37.61 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.01479, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009926/0.01578, allocations: 374.7 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.01583, allocations: 51.41 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.0165, allocations: 0.5455 MB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.01652, allocations: 33.7 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.01679, allocations: 275.2 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.01687, allocations: 67.42 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.01694, allocations: 39.36 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003467/0.01729, allocations: 0.5508 MB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.01741, allocations: 43.98 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01752, allocations: 43.88 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.01776, allocations: 105.4 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01776, allocations: 3.938 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003661/0.01812, allocations: 185.3 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.01814, allocations: 7.938 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01815, allocations: 0 / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.01817, allocations: 4 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.01834, allocations: 39.91 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.01834, allocations: 4 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.01841, allocations: 4 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01843, allocations: 8 kB / 385.2 MB, free: 10.78 MB / 362.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 0.0001777/0.0186, allocations: 168.6 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.0187, allocations: 51.72 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.0192, allocations: 216.1 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01921, allocations: 4 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01921, allocations: 0 / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01922, allocations: 3.984 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.02023, allocations: 0.6416 MB / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02023, allocations: 0 / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.02035, allocations: 31.98 kB / 386.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02035, allocations: 3.938 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.02037, allocations: 4 kB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02037, allocations: 0 / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.02038, allocations: 0 / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.02107, allocations: 349.2 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.02113, allocations: 35.7 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.02117, allocations: 8 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.02126, allocations: 4 kB / 386.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.02131, allocations: 15.97 kB / 386.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.02132, allocations: 4 kB / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000431/0.02175, allocations: 363 kB / 387.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02175, allocations: 0 / 387.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.02207, allocations: 55.86 kB / 387.2 MB, free: 8.773 MB / 362.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.005642/0.02772, allocations: 0.7609 MB / 387.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.02812, allocations: 123.5 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02812, allocations: 3.938 kB / 388.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.02827, allocations: 70.62 kB / 388.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.02887, allocations: 92.77 kB / 388.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.03, allocations: 0.6174 MB / 388.8 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.03025, allocations: 212.8 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.03038, allocations: 49.91 kB / 389.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.03047, allocations: 36.48 kB / 389.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03047, allocations: 4 kB / 389.1 MB, free: 7.129 MB / 362.7 MB Notification: Performance of Templates: time 0.008534/0.039, allocations: 3.434 MB / 392.6 MB, free: 3.738 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.103814536007121]