Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001218/0.001218, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001372/0.001372, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.637 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.2644/0.2644, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.754e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002525/0.002552, allocations: 1.723 MB / 377.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004005, allocations: 0.9858 MB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.004095, allocations: 0 / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.004424, allocations: 59.69 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.004774, allocations: 111.5 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.004991, allocations: 75.61 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.005161, allocations: 103.6 kB / 379.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.0052, allocations: 4.234 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.005293, allocations: 51.83 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.00537, allocations: 27.91 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.005386, allocations: 4 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.005461, allocations: 28 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.005522, allocations: 35.84 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.005564, allocations: 23.86 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005747, allocations: 95.66 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00575, allocations: 0 / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005751, allocations: 0 / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005755, allocations: 3.938 kB / 379.4 MB, free: 1.246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005479/0.006303, allocations: 467.7 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.006353, allocations: 8.031 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.006415, allocations: 16.84 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.006646, allocations: 177.2 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.006666, allocations: 384 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.006683, allocations: 4.375 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.00683, allocations: 54.94 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.006844, allocations: 3.938 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006855, allocations: 4 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.006871, allocations: 0 / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.006911, allocations: 15.92 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.007093, allocations: 152.6 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.007197, allocations: 47.11 kB / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.007228, allocations: 19.69 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.007244, allocations: 3.984 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.007347, allocations: 68.98 kB / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.007348, allocations: 0 / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002216/0.00757, allocations: 89.58 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.007604, allocations: 55.41 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.007776, allocations: 270.6 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.007793, allocations: 29.7 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.007863, allocations: 166.9 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.007899, allocations: 11.91 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.007936, allocations: 31.36 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.00806, allocations: 0.5001 MB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.008085, allocations: 8 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.008118, allocations: 31.3 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.00817, allocations: 35.38 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008172, allocations: 0 / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001095/0.008282, allocations: 77.53 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008296, allocations: 6.031 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.008304, allocations: 12.28 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.008321, allocations: 3.984 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.008391, allocations: 12 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008397, allocations: 0 / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.008431, allocations: 4 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.008437, allocations: 0 / 381.8 MB, free: 14.67 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 (7): * Single equations (assignments): 7 * 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.842e-05/0.008525, allocations: 164.6 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.008542, allocations: 15.91 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008681, allocations: 94.64 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008683, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.008687, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.008691, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.008811, allocations: 172.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008813, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.008834, allocations: 4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008836, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.008844, allocations: 4 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.008847, allocations: 3.938 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008848, allocations: 0 / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.008964, allocations: 124.3 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.008982, allocations: 11.91 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.009001, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.009026, allocations: 11.92 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.009058, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.009071, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.009178, allocations: 192.5 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009178, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.009338, allocations: 23.98 kB / 382.6 MB, free: 13.78 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: 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 (6): * Single equations (assignments): 4 * 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.0008604/0.0102, allocations: 378.6 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01032, allocations: 43.61 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01032, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.01036, allocations: 31.66 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.01057, allocations: 35.47 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.01097, allocations: 242.5 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01101, allocations: 67.33 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.01104, allocations: 12.44 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01108, allocations: 24.48 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01108, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003879/0.01496, allocations: 1.665 MB / 385.1 MB, free: 11.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.3816922763362527]