Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0009223/0.0009223, allocations: 84.31 kB / 22.21 MB, free: 2.281 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.001368/0.001368, allocations: 168.4 kB / 25.61 MB, free: 8.898 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.006/1.006, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.2/0.2, allocations: 32.8 MB / 295.4 MB, free: 15.38 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.447e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002809/0.002834, allocations: 1.696 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.003753, allocations: 0.5607 MB / 379.5 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.003839, allocations: 4 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.004135, allocations: 67.72 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.004416, allocations: 103.5 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.004783, allocations: 175.5 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004963, allocations: 87.75 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005065, allocations: 28.14 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.005148, allocations: 39.91 kB / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.005249, allocations: 47.88 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.005264, allocations: 4 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.005364, allocations: 51.92 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.005428, allocations: 23.91 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.005458, allocations: 19.92 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.005651, allocations: 103.5 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005653, allocations: 4 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005654, allocations: 0 / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.00566, allocations: 0 / 380.3 MB, free: 22.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004391/0.006099, allocations: 451.9 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.006145, allocations: 11.98 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.006192, allocations: 12.89 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006342, allocations: 144.4 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006357, allocations: 4.375 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.006378, allocations: 4.375 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.006505, allocations: 66.88 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006517, allocations: 4.188 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006527, allocations: 8.125 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.006534, allocations: 0 / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.006572, allocations: 19.92 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.006891, allocations: 280.2 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.007064, allocations: 51.03 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.007089, allocations: 11.69 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.007109, allocations: 3.938 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.007133, allocations: 41.55 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.007134, allocations: 8 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006534/0.007787, allocations: 213.2 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.007813, allocations: 55.41 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.007926, allocations: 216 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.007936, allocations: 29.7 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.007981, allocations: 154.7 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.008015, allocations: 47.67 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.008063, allocations: 31.38 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.008139, allocations: 0.5 MB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.008166, allocations: 11.98 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.008194, allocations: 11.98 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.48e-05/0.008259, allocations: 46.91 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.00826, allocations: 3.938 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001268/0.008387, allocations: 85.58 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.00841, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.008416, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.00843, allocations: 4 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.008516, allocations: 31.92 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.00852, allocations: 3.984 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.008556, allocations: 4.562 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.008566, allocations: 4 kB / 382.8 MB, free: 19.81 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 (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 6.266e-05/0.008629, allocations: 164.5 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.008666, allocations: 11.95 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.008842, allocations: 106.4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008845, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.008847, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.00885, allocations: 4 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.009213, allocations: 393.2 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.009215, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.009282, allocations: 23.92 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.009287, allocations: 4 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009295, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.009298, allocations: 4 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009299, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.009426, allocations: 259.1 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.009436, allocations: 19.94 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.009449, allocations: 4 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.00949, allocations: 7.984 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.009533, allocations: 15.92 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.009538, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.009577, allocations: 160.5 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009577, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.009749, allocations: 27.94 kB / 384 MB, free: 18.54 MB / 314.7 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.0008894/0.01064, allocations: 432.5 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01074, allocations: 55.59 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01074, allocations: 4 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.01078, allocations: 31.61 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.01099, allocations: 34.77 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.01133, allocations: 271.7 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.01136, allocations: 75.19 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.01141, allocations: 20.59 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.01146, allocations: 86.2 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01146, allocations: 0 / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003435/0.0149, allocations: 1.824 MB / 386.8 MB, free: 15.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.335699674207717]