Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001756/0.001756, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.002224/0.002224, allocations: 168.8 kB / 23.96 MB, free: 4.164 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.576/1.576, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.2131/0.2131, allocations: 34.27 MB / 294.9 MB, free: 14.58 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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.451e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003491/0.003526, allocations: 1.599 MB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.005701, allocations: 1.243 MB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.005777, allocations: 4 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.006041, allocations: 31.78 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.006411, allocations: 87.48 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.006744, allocations: 110.8 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.00693, allocations: 71.72 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.007039, allocations: 11.98 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.007115, allocations: 31.91 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.007242, allocations: 27.91 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.007264, allocations: 8 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.007455, allocations: 91.81 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.007522, allocations: 15.92 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.007564, allocations: 15.98 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.007863, allocations: 147.5 kB / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007866, allocations: 0 / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007867, allocations: 0 / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007872, allocations: 0 / 446.2 MB, free: 1.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006192/0.008492, allocations: 321.7 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.008535, allocations: 8.031 kB / 446.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.008581, allocations: 12.83 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.008819, allocations: 141.6 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.008836, allocations: 4.375 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.008865, allocations: 4.375 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.009079, allocations: 85.66 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.009095, allocations: 4.141 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.009117, allocations: 8.125 kB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.009122, allocations: 3.938 kB / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.523e-05/0.009218, allocations: 23.98 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.009631, allocations: 228.6 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.009864, allocations: 42.56 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.009928, allocations: 20.88 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.009953, allocations: 7.938 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.009982, allocations: 30.56 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.009983, allocations: 0 / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006197/0.0106, allocations: 149.7 kB / 447.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.01067, allocations: 85.11 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01084, allocations: 144.2 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01087, allocations: 25.7 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.01094, allocations: 96.12 kB / 447.6 MB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.01097, allocations: 19.8 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.01102, allocations: 17.72 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2049/0.216, allocations: 318.8 kB / 447.9 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2161, allocations: 21.11 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2162, allocations: 58.97 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2164, allocations: 54.38 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2164, allocations: 2.25 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002718/0.2166, allocations: 95.8 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2167, allocations: 6.969 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2167, allocations: 0 / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2167, allocations: 0.6094 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.2168, allocations: 13.38 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2168, allocations: 3.75 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.2168, allocations: 5.75 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2169, allocations: 3.859 kB / 448.2 MB, free: 19 MB / 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 (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.167e-05/0.2169, allocations: 116 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.217, allocations: 14.5 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.2173, allocations: 95.81 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2173, allocations: 0 / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2173, allocations: 6.234 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2173, allocations: 0.75 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.2177, allocations: 295.6 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2177, allocations: 5.062 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.2177, allocations: 13.78 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2177, allocations: 1 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2177, allocations: 7.234 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2177, allocations: 0 / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2177, allocations: 0.7031 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.218, allocations: 185.6 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.218, allocations: 12.52 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.218, allocations: 5.547 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.2181, allocations: 4.672 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.2181, allocations: 4.156 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2181, allocations: 2.406 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.2182, allocations: 118.7 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2182, allocations: 0 / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.2185, allocations: 42.44 kB / 449.1 MB, free: 18.4 MB / 366.1 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.001791/0.2203, allocations: 0.5354 MB / 449.6 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2205, allocations: 54.77 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2205, allocations: 3.938 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.2206, allocations: 29.14 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2209, allocations: 19.34 kB / 449.8 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.2213, allocations: 180.5 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.107e-05/0.2213, allocations: 78.67 kB / 450 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.2214, allocations: 14.81 kB / 450 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.2215, allocations: 20.31 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2215, allocations: 0 / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of Templates: time 0.005471/0.2269, allocations: 1.825 MB / 451.9 MB, free: 17.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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: 5.114505749195814]