Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.00141/0.00141, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001581/0.001581, allocations: 169.9 kB / 25.61 MB, free: 8.922 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.031/1.031, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1478/0.1478, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.67e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001916/0.001943, allocations: 1.629 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003009, allocations: 1.278 MB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.003075, allocations: 0 / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.003288, allocations: 31.77 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.003567, allocations: 87.55 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.003807, allocations: 107.6 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.003934, allocations: 67.83 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.004026, allocations: 15.8 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.004083, allocations: 39.83 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.00417, allocations: 27.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004183, allocations: 4 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.004313, allocations: 91.81 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.004352, allocations: 19.91 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.004372, allocations: 8 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004548, allocations: 135.5 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004551, allocations: 3.984 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004552, allocations: 0 / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004556, allocations: 0 / 380.8 MB, free: 22.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003206/0.004876, allocations: 432 kB / 381.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.00491, allocations: 15.98 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.004946, allocations: 8.891 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005058, allocations: 132.5 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.005066, allocations: 384 / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.005084, allocations: 4.375 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.692e-05/0.00518, allocations: 111.9 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.00519, allocations: 192 / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.005197, allocations: 8.125 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.005203, allocations: 0 / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.005221, allocations: 7.984 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.005407, allocations: 256.4 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.005521, allocations: 46.98 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.005535, allocations: 11.69 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.005549, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.005564, allocations: 41.41 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.005565, allocations: 4 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002521/0.005817, allocations: 85.56 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005847, allocations: 77.11 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.005919, allocations: 196.1 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.005925, allocations: 29.69 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.005951, allocations: 146.8 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.005968, allocations: 19.86 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.005995, allocations: 27.34 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.006035, allocations: 496.1 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.006047, allocations: 11.98 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.00607, allocations: 53.02 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.006097, allocations: 19.69 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006098, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.034e-05/0.006158, allocations: 61.58 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.006168, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006173, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.006181, allocations: 4.031 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.006221, allocations: 11.98 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.006224, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.006244, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.006248, allocations: 7.938 kB / 383.1 MB, free: 19.52 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 (5): * Single equations (assignments): 5 * 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 3.933e-05/0.006288, allocations: 152.6 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.00631, allocations: 15.89 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.006395, allocations: 62.14 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006397, allocations: 4 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006398, allocations: 7.938 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006401, allocations: 0 / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.006568, allocations: 310.2 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006569, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.006595, allocations: 8 kB / 383.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006597, allocations: 0 / 383.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.006601, allocations: 3.984 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.006602, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006604, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.014e-05/0.006674, allocations: 215.8 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.006681, allocations: 3.953 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.006691, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.006723, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.006749, allocations: 3.984 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.006752, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.006786, allocations: 147.2 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006786, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.006974, allocations: 39.86 kB / 384.1 MB, free: 18.48 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 (5): * Single equations (assignments): 5 * 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.001044/0.008018, allocations: 0.4904 MB / 384.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.008094, allocations: 31.66 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008095, allocations: 0 / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.008113, allocations: 19.62 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.00831, allocations: 30.7 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.008558, allocations: 163.9 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.415e-05/0.008582, allocations: 63.2 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.008619, allocations: 15.97 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.008671, allocations: 86.19 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008671, allocations: 0 / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of Templates: time 0.003222/0.01189, allocations: 2.055 MB / 387 MB, free: 15.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.290960646700114]