Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.00127/0.00127, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002456/0.003726, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001496/0.001496, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001787/0.003282, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.178/1.203, allocations: 49.5 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.17/0.17, allocations: 32.35 MB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02701/0.1971, allocations: 12.28 MB / 265.9 MB, free: 4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.297e-05, allocations: 6.25 kB / 267.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002411/0.002434, allocations: 1.974 MB / 269.3 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003631, allocations: 0.8465 MB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003737, allocations: 3.938 kB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.003979, allocations: 43.7 kB / 270.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.004152, allocations: 63.56 kB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.004409, allocations: 107.6 kB / 270.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004605, allocations: 139.6 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.004702, allocations: 26.27 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.004847, allocations: 108.5 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.004935, allocations: 31.89 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.004958, allocations: 8 kB / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.00505, allocations: 43.92 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.00511, allocations: 27.86 kB / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.005155, allocations: 19.94 kB / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.005363, allocations: 123.5 kB / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.55e-05/0.005378, allocations: 0 / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005379, allocations: 0 / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.005392, allocations: 7.938 kB / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000514/0.005906, allocations: 401.4 kB / 271.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.005937, allocations: 8.031 kB / 271.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.005978, allocations: 20.92 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.006241, allocations: 153.5 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.006257, allocations: 384 / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.006279, allocations: 16.12 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.006456, allocations: 133.4 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.006463, allocations: 4 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006474, allocations: 7.984 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006479, allocations: 0 / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.006519, allocations: 22.77 kB / 271.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.006882, allocations: 378.1 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.007056, allocations: 101.3 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.007082, allocations: 20.83 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.007095, allocations: 8 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.007216, allocations: 95.84 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.007217, allocations: 4 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001459/0.007363, allocations: 69.67 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.007392, allocations: 55.34 kB / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007499, allocations: 185 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.007517, allocations: 29.7 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.007567, allocations: 108 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.007592, allocations: 35.72 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.007625, allocations: 25.66 kB / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.007704, allocations: 338.7 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.007729, allocations: 10.83 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.007762, allocations: 48.28 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.007825, allocations: 69.88 kB / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007827, allocations: 0 / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.727e-05/0.007924, allocations: 96.75 kB / 273.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007937, allocations: 4 kB / 273.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007943, allocations: 4 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.007953, allocations: 4 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.008033, allocations: 27.92 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.008038, allocations: 7.984 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.008076, allocations: 11.94 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008085, allocations: 11.94 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.965e-05/0.008155, allocations: 124.5 kB / 273.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.008171, allocations: 11.98 kB / 273.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.008289, allocations: 83.19 kB / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008291, allocations: 0 / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.008293, allocations: 0 / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008295, allocations: 0 / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.746e-05/0.008383, allocations: 97.78 kB / 273.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008385, allocations: 0 / 273.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.008443, allocations: 15.94 kB / 273.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.00846, allocations: 11.91 kB / 273.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.008463, allocations: 0 / 273.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008473, allocations: 8 kB / 273.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.008475, allocations: 7.984 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008476, allocations: 0 / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008605, allocations: 114.6 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.008619, allocations: 0 / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.008652, allocations: 7.984 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.008683, allocations: 11.98 kB / 273.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.008695, allocations: 0 / 273.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.00874, allocations: 53.59 kB / 273.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00874, allocations: 3.938 kB / 273.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.008873, allocations: 27.94 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001102/0.009975, allocations: 0.5432 MB / 274.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.0101, allocations: 64.69 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.01011, allocations: 0 / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.01014, allocations: 21.05 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.0103, allocations: 52.03 kB / 274.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.0109, allocations: 272.3 kB / 274.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.01113, allocations: 67.84 kB / 274.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.01118, allocations: 17.12 kB / 274.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.01126, allocations: 71.36 kB / 275 MB, free: 10.54 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01126, allocations: 0 / 275 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Templates: time 0.004136/0.01539, allocations: 2.252 MB / 277.2 MB, free: 8.289 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.070219428278506]