Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001313/0.001313, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00135/0.00135, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 0.9117/0.9117, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2425/0.2425, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.017e-05, allocations: 6.25 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002791/0.002811, allocations: 1.633 MB / 378.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.00374, allocations: 0.5337 MB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.0038, allocations: 0 / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.004011, allocations: 23.78 kB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.004286, allocations: 83.56 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.004588, allocations: 111.6 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.004741, allocations: 71.7 kB / 378.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.004837, allocations: 15.98 kB / 379 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.004903, allocations: 27.92 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.004966, allocations: 19.91 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.004981, allocations: 4 kB / 379 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.005064, allocations: 31.98 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.005108, allocations: 11.94 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.005135, allocations: 7.984 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.005292, allocations: 79.67 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005294, allocations: 0 / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005295, allocations: 0 / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.005298, allocations: 0 / 379.1 MB, free: 1.719 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004002/0.005698, allocations: 424 kB / 379.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.005738, allocations: 12.03 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.005775, allocations: 8.891 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005922, allocations: 142.8 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005932, allocations: 384 / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005949, allocations: 384 / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.006055, allocations: 54.95 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.006066, allocations: 4.188 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.006075, allocations: 8.109 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006082, allocations: 4 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.838e-05/0.00611, allocations: 11.94 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.006395, allocations: 252.4 kB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006559, allocations: 39.05 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.006585, allocations: 15.77 kB / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.006609, allocations: 0 / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.006638, allocations: 45.27 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.00664, allocations: 4 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003396/0.006979, allocations: 89.52 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.007007, allocations: 51.41 kB / 380.3 MB, free: 448 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007143, allocations: 205 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007156, allocations: 33.64 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.007222, allocations: 150.8 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.007247, allocations: 19.84 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.007303, allocations: 23.38 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.007448, allocations: 0.4923 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.007465, allocations: 4 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.007481, allocations: 3.984 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.007521, allocations: 23.69 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007524, allocations: 3.938 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.282e-05/0.007616, allocations: 57.58 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.00763, allocations: 12 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007634, allocations: 0 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007646, allocations: 0 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.007708, allocations: 8 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007711, allocations: 0 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.00774, allocations: 7.984 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007746, allocations: 0 / 381.3 MB, free: 15.35 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 (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 8.946e-05/0.007835, allocations: 164.5 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.007868, allocations: 7.953 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.007999, allocations: 70.33 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008002, allocations: 4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.008003, allocations: 0 / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008006, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.008305, allocations: 298 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.008307, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.00836, allocations: 11.98 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008363, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.008368, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008371, allocations: 3.938 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008372, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.008511, allocations: 207.8 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.008523, allocations: 11.95 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.008536, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.008599, allocations: 4 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.008625, allocations: 3.984 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.008631, allocations: 7.938 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.00874, allocations: 147.2 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.00874, allocations: 0 / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.009002, allocations: 19.92 kB / 382.3 MB, free: 14.33 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 (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.001048/0.01005, allocations: 384.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.01014, allocations: 31.61 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01014, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.01017, allocations: 15.81 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.01047, allocations: 28.55 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.01082, allocations: 178.7 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.01087, allocations: 67.27 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01091, allocations: 8 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.01099, allocations: 78.19 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01099, allocations: 0 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003776/0.01476, allocations: 1.305 MB / 384.3 MB, free: 12.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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: 2.7808688268996775]