Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.00139/0.00139, allocations: 84.61 kB / 20.68 MB, free: 1.039 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.001678/0.001678, allocations: 163 kB / 23.95 MB, free: 4.172 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.444/1.444, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 34.27 MB / 294.9 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.26e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003581/0.003614, allocations: 1.615 MB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004781, allocations: 0.5298 MB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.004845, allocations: 0 / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.005177, allocations: 95.61 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.005517, allocations: 115.5 kB / 445 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.005805, allocations: 95.69 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.005996, allocations: 91.67 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.006099, allocations: 12 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.006188, allocations: 43.88 kB / 445.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.006305, allocations: 55.88 kB / 445.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.006326, allocations: 4 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.006431, allocations: 47.91 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.006484, allocations: 15.94 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.00653, allocations: 19.92 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.006748, allocations: 111.5 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006751, allocations: 4 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006752, allocations: 0 / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.006761, allocations: 4 kB / 445.5 MB, free: 2.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005467/0.007308, allocations: 345.5 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.007346, allocations: 8.031 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.007389, allocations: 12.89 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.007627, allocations: 150 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.007634, allocations: 384 / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.007668, allocations: 8.375 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.007819, allocations: 50.23 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.007832, allocations: 4.188 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.007849, allocations: 12.12 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.007853, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.00796, allocations: 35.84 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.008346, allocations: 232.5 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.00847, allocations: 38.56 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.00853, allocations: 24.88 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.008557, allocations: 3.938 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.008585, allocations: 30.56 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.008586, allocations: 8 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000947/0.009533, allocations: 221.5 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.009581, allocations: 55.39 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.009851, allocations: 234.7 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.009872, allocations: 29.7 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.009963, allocations: 116.1 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.009997, allocations: 27.81 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.01004, allocations: 21.72 kB / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.0102, allocations: 326.8 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.01029, allocations: 27.97 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.01036, allocations: 23.98 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.01052, allocations: 65.05 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.01052, allocations: 4 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002235/0.01075, allocations: 101.6 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01076, allocations: 4 kB / 447.7 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01077, allocations: 0 / 447.7 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01078, allocations: 0 / 447.7 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01089, allocations: 19.98 kB / 447.7 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01089, allocations: 0 / 447.7 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.01094, allocations: 11.98 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.01095, allocations: 4 kB / 447.8 MB, free: 156 kB / 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 (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 0.0001129/0.01107, allocations: 138.4 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2179/0.229, allocations: 14.73 kB / 447.9 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.2294, allocations: 116.3 kB / 448 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2294, allocations: 5.156 kB / 448 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2294, allocations: 3.078 kB / 448 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2294, allocations: 1.969 kB / 448 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.2299, allocations: 344.3 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2299, allocations: 1.344 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.23, allocations: 16.36 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.23, allocations: 1.344 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.23, allocations: 9.828 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.23, allocations: 1 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.23, allocations: 1.781 kB / 448.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.2303, allocations: 207.7 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.2303, allocations: 12.97 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2303, allocations: 1.859 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.2304, allocations: 4.812 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2304, allocations: 12.45 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.2304, allocations: 2.875 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.2306, allocations: 178.2 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2306, allocations: 3.469 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.2309, allocations: 22.86 kB / 448.8 MB, free: 18.8 MB / 366.1 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.001887/0.2328, allocations: 489.4 kB / 449.3 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.233, allocations: 66.38 kB / 449.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.233, allocations: 0 / 449.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.2331, allocations: 34.41 kB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2335, allocations: 21.14 kB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.234, allocations: 275 kB / 449.7 MB, free: 18.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.163e-05/0.2341, allocations: 102.1 kB / 449.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.2341, allocations: 9.578 kB / 449.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2342, allocations: 15.22 kB / 449.8 MB, free: 18.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2342, allocations: 0 / 449.8 MB, free: 18.4 MB / 366.1 MB Notification: Performance of Templates: time 0.00469/0.2389, allocations: 1.366 MB / 451.2 MB, free: 18.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.952055837959051]