Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001003/0.001003, allocations: 77.97 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.001084/0.001084, allocations: 172.7 kB / 24.82 MB, free: 9.262 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.25/0.25, allocations: 32.82 MB / 294.6 MB, free: 1.242 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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.609e-05, allocations: 2.312 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003224/0.00325, allocations: 1.762 MB / 378.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.00496, allocations: 0.9936 MB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.00505, allocations: 0 / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.005349, allocations: 51.69 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.005697, allocations: 111.5 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.00593, allocations: 75.61 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.006102, allocations: 107.7 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.006196, allocations: 7.984 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.006311, allocations: 55.78 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.006387, allocations: 23.91 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.006407, allocations: 8 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.006505, allocations: 43.92 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.006565, allocations: 35.83 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.006607, allocations: 23.94 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.006806, allocations: 111.5 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.006808, allocations: 0 / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006808, allocations: 0 / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.006813, allocations: 3.984 kB / 380 MB, free: 0.8867 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004868/0.007299, allocations: 475.6 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.007337, allocations: 8.031 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.007379, allocations: 20.84 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.007556, allocations: 165.2 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.007573, allocations: 384 / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.00759, allocations: 8.375 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.007709, allocations: 62.88 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.007719, allocations: 7.875 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.007727, allocations: 3.984 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007734, allocations: 4 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.007767, allocations: 4 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.008071, allocations: 268.4 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.008176, allocations: 55.11 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.008205, allocations: 11.69 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.00822, allocations: 7.984 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.008322, allocations: 68.98 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.008323, allocations: 0 / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003805/0.008704, allocations: 141.8 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.008735, allocations: 51.41 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.008934, allocations: 266.6 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.008959, allocations: 33.7 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.009043, allocations: 162.8 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.009076, allocations: 27.77 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.009118, allocations: 27.38 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.009274, allocations: 0.5118 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.0093, allocations: 12 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.00934, allocations: 35.36 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.48e-05/0.009405, allocations: 39.36 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009406, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001379/0.009544, allocations: 101.4 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.009558, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.009562, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.009575, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.009649, allocations: 16.03 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.009653, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.009698, allocations: 11.98 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.009705, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.94e-05/0.009794, allocations: 162.5 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.009825, allocations: 23.84 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.01001, allocations: 107.2 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01001, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01001, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01002, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.01037, allocations: 381.5 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01038, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.01041, allocations: 8 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01042, allocations: 4 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01043, allocations: 3.984 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01043, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01043, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01063, allocations: 267.3 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.01065, allocations: 11.91 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01067, allocations: 12.03 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01074, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.01077, allocations: 7.984 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.01079, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01091, allocations: 188.5 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01091, allocations: 0 / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.01119, allocations: 31.92 kB / 383.7 MB, free: 12.83 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001245/0.01244, allocations: 437 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01256, allocations: 55.59 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01256, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.01261, allocations: 23.69 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.01294, allocations: 35.69 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.01335, allocations: 262.4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.01341, allocations: 75.33 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.01346, allocations: 21.27 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.01355, allocations: 90.31 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01355, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.005147/0.0187, allocations: 2.073 MB / 386.8 MB, free: 9.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.0960603109560907]