Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.66/1.66, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4759/0.4759, allocations: 34.24 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.478e-05, allocations: 7.797 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003415/0.00345, allocations: 1.712 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.006703, allocations: 1.685 MB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.006783, allocations: 0 / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.00712, allocations: 43.64 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.007525, allocations: 107.5 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.007741, allocations: 83.59 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.007958, allocations: 115.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.008051, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.008172, allocations: 59.77 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.008316, allocations: 35.89 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.008342, allocations: 8 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.00854, allocations: 95.88 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.008603, allocations: 19.92 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.008659, allocations: 19.92 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.009003, allocations: 187.3 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009007, allocations: 4 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009008, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.009013, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.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.0006349/0.009648, allocations: 345.5 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.009683, allocations: 11.97 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.009753, allocations: 16.88 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.01004, allocations: 146.2 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.01006, allocations: 384 / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.01009, allocations: 12.31 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.01032, allocations: 101.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01034, allocations: 3.938 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01035, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01036, allocations: 3.984 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.01044, allocations: 19.98 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.01085, allocations: 236.5 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01105, allocations: 58.62 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.01112, allocations: 24.78 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01114, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01132, allocations: 71.39 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.01132, allocations: 0 / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006367/0.01196, allocations: 185.3 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.01203, allocations: 77.11 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.01227, allocations: 174.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.0123, allocations: 29.7 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.01238, allocations: 104.1 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.01241, allocations: 19.8 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.01246, allocations: 25.7 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.01265, allocations: 318.8 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.01272, allocations: 27.98 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01282, allocations: 68.27 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01297, allocations: 65.64 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01297, allocations: 0 / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002489/0.01322, allocations: 113.5 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01323, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01324, allocations: 4 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01325, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.01335, allocations: 23.98 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01336, allocations: 160 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.01341, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01342, allocations: 15.91 kB / 383.7 MB, free: 12.14 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 0.0001186/0.01354, allocations: 121.8 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.01358, allocations: 15.94 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.01386, allocations: 118.8 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01386, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01386, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01387, allocations: 4 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.01439, allocations: 350.9 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01439, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.01443, allocations: 8 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01443, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01445, allocations: 8 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01445, allocations: 0 / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01445, allocations: 3.984 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01476, allocations: 216.2 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.01479, allocations: 7.953 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01481, allocations: 12.03 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.01489, allocations: 3.984 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.01494, allocations: 11.92 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01496, allocations: 4 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.0151, allocations: 135.2 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0151, allocations: 0 / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.01541, allocations: 43.86 kB / 384.8 MB, free: 11.02 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.002527/0.01794, allocations: 0.5768 MB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.01815, allocations: 63.84 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01816, allocations: 0 / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.01824, allocations: 28 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.0186, allocations: 31.91 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.01911, allocations: 205.5 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01922, allocations: 97.44 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.01928, allocations: 17.28 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.01934, allocations: 16.5 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01934, allocations: 0 / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.00663/0.02597, allocations: 2.546 MB / 388.3 MB, free: 7.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.1697871800279245]