Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001123/0.001123, allocations: 67.77 kB / 21.69 MB, free: 2.848 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.00154/0.00154, allocations: 164.7 kB / 24.99 MB, free: 8.785 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2633/0.2633, allocations: 32.8 MB / 294.6 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.786e-05, allocations: 6.312 kB / 376 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003168/0.003196, allocations: 1.661 MB / 377.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004259, allocations: 0.5376 MB / 378.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.004333, allocations: 0 / 378.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.004682, allocations: 107.7 kB / 378.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.005043, allocations: 127.4 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.005368, allocations: 111.6 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.005569, allocations: 95.73 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.005679, allocations: 12 kB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.005786, allocations: 51.88 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005919, allocations: 67.84 kB / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.00594, allocations: 4 kB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.006048, allocations: 43.88 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.006112, allocations: 31.91 kB / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.006151, allocations: 19.86 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.006378, allocations: 95.66 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006381, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006382, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.006388, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005349/0.006923, allocations: 459.8 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.006965, allocations: 8.031 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.007026, allocations: 20.78 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.007223, allocations: 157.2 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.007235, allocations: 384 / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.007257, allocations: 4.375 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.007401, allocations: 58.94 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.007414, allocations: 4.188 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.007426, allocations: 8.125 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.007434, allocations: 0 / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.007478, allocations: 12 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.007922, allocations: 307.6 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.008005, allocations: 35.06 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.008041, allocations: 19.7 kB / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.008064, allocations: 4 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.008089, allocations: 33.39 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.008091, allocations: 3.938 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007483/0.008839, allocations: 177.3 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.008877, allocations: 59.41 kB / 380.3 MB, free: 468 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.009098, allocations: 263.1 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.009113, allocations: 25.7 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.00921, allocations: 158.9 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.009247, allocations: 27.75 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.009294, allocations: 31.38 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.009446, allocations: 0.5039 MB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.404e-05/0.00948, allocations: 8 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.009509, allocations: 11.98 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.009587, allocations: 35.91 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.009588, allocations: 7.938 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001364/0.009725, allocations: 85.44 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.00974, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009745, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.009759, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.00986, allocations: 23.98 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009866, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.009898, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.009908, allocations: 4 kB / 381.5 MB, free: 15.22 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 (8): * Single equations (assignments): 8 * 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 8.846e-05/0.009996, allocations: 168.5 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01004, allocations: 19.91 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.01022, allocations: 91.12 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01022, allocations: 0 / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01023, allocations: 432 / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01023, allocations: 0 / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.01068, allocations: 385 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01068, allocations: 4 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.01075, allocations: 15.98 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01076, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01077, allocations: 3.984 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.01077, allocations: 11.97 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01077, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.01097, allocations: 235.5 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.01099, allocations: 15.89 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01101, allocations: 4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.01108, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.01112, allocations: 15.92 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.01113, allocations: 4 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.01125, allocations: 179.2 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01125, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.01155, allocations: 27.92 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001332/0.01288, allocations: 453.1 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01303, allocations: 39.67 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01303, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.01308, allocations: 35.59 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.01344, allocations: 19.98 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.01399, allocations: 253.5 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.01405, allocations: 75.33 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.01412, allocations: 17.02 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01416, allocations: 16.5 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01416, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Templates: time 0.004597/0.01876, allocations: 1.417 MB / 385 MB, free: 11.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.215357839129865]