Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001294/0.001294, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001435/0.001435, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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.2021/0.2021, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.323e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002809/0.002832, allocations: 1.665 MB / 441.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003988, allocations: 0.5686 MB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.004052, allocations: 4 kB / 442.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.004327, allocations: 71.7 kB / 442.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.004648, allocations: 107.5 kB / 442.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.005066, allocations: 192.7 kB / 442.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005238, allocations: 91.75 kB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.005334, allocations: 20.2 kB / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.005417, allocations: 47.89 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.005523, allocations: 51.88 kB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005543, allocations: 4 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.005651, allocations: 59.89 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.005716, allocations: 31.8 kB / 443 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.005755, allocations: 15.94 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.005953, allocations: 119.6 kB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005955, allocations: 0 / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.8e-07/0.005955, allocations: 0 / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005959, allocations: 0 / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005632/0.006522, allocations: 353.5 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.006559, allocations: 8.031 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.006602, allocations: 12.84 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006801, allocations: 157.5 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.006811, allocations: 4.375 kB / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.006834, allocations: 4.375 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.007011, allocations: 70.22 kB / 443.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.007022, allocations: 192 / 443.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.007033, allocations: 4.125 kB / 443.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.007037, allocations: 0 / 443.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.007197, allocations: 47.91 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.007613, allocations: 260.5 kB / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.007847, allocations: 66.48 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.007927, allocations: 29 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.007946, allocations: 0 / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.007973, allocations: 30.56 kB / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.755e-06/0.007976, allocations: 3.984 kB / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00156/0.009536, allocations: 436.9 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.009577, allocations: 51.41 kB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.009791, allocations: 206.3 kB / 444.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.009817, allocations: 29.7 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.0099, allocations: 116 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.009937, allocations: 35.69 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.009984, allocations: 25.66 kB / 445.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.01014, allocations: 334.8 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.01029, allocations: 56.53 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01042, allocations: 51.95 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.01072, allocations: 128.7 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.01072, allocations: 0 / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003778/0.0111, allocations: 173.5 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01111, allocations: 4 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01112, allocations: 4 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01113, allocations: 0 / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01125, allocations: 23.98 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01125, allocations: 4 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.01132, allocations: 15.92 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01134, allocations: 4 kB / 445.8 MB, free: 2.234 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001174/0.01145, allocations: 138.4 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.01149, allocations: 15.91 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.01194, allocations: 187 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01194, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01195, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.01195, allocations: 4 kB / 446.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.01265, allocations: 455.6 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01265, allocations: 0 / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01276, allocations: 27.92 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01276, allocations: 0 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01278, allocations: 8 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01278, allocations: 3.938 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01279, allocations: 3.984 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.01321, allocations: 269.6 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.01323, allocations: 15.89 kB / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01325, allocations: 4 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01335, allocations: 15.92 kB / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.0134, allocations: 15.92 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01341, allocations: 4 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01355, allocations: 164.2 kB / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01355, allocations: 96 / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.01382, allocations: 35.88 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001877/0.01569, allocations: 482.1 kB / 447.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.01606, allocations: 131.7 kB / 447.8 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01607, allocations: 0 / 447.8 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.01623, allocations: 67.89 kB / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01655, allocations: 26.61 kB / 447.9 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1705/0.1871, allocations: 338.4 kB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.1872, allocations: 106.9 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1873, allocations: 29.73 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.1874, allocations: 23.81 kB / 448.4 MB, free: 21.38 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1874, allocations: 0 / 448.4 MB, free: 21.38 MB / 366.1 MB Notification: Performance of Templates: time 0.005043/0.1924, allocations: 1.637 MB / 450 MB, free: 21.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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: 4.6094383001327515]