Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001448/0.001448, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001587/0.001587, allocations: 216.8 kB / 24.47 MB, free: 4.359 MB / 14.72 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.583/1.583, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2637/0.2637, allocations: 46.88 MB / 361.1 MB, free: 4.664 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 79.88 kB / 0.4968 GB, free: 8.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4938, allocations: 65.97 MB / 0.5613 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003182/0.497, allocations: 1.752 MB / 0.563 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.4996, allocations: 1.733 MB / 0.5647 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.4997, allocations: 3 kB / 0.5647 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.5001, allocations: 43.48 kB / 0.5647 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.5004, allocations: 100.9 kB / 0.5648 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.5006, allocations: 78.69 kB / 0.5649 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.5008, allocations: 102.6 kB / 0.565 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.5009, allocations: 4.219 kB / 0.565 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.501, allocations: 52.86 kB / 0.565 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.5012, allocations: 45.02 kB / 0.5651 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.5012, allocations: 9 kB / 0.5651 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.5014, allocations: 111.5 kB / 0.5652 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.5014, allocations: 21.22 kB / 0.5652 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.5015, allocations: 36.19 kB / 0.5653 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.5018, allocations: 170.5 kB / 0.5654 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.5018, allocations: 0 / 0.5654 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5018, allocations: 0 / 0.5654 GB, free: 31.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5018, allocations: 0 / 0.5654 GB, free: 31.78 MB / 446.1 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.0005864/0.5024, allocations: 436.3 kB / 0.5658 GB, free: 31.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5024, allocations: 12.44 kB / 0.5658 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.5025, allocations: 7.984 kB / 0.5658 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5028, allocations: 211.4 kB / 0.5661 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5028, allocations: 6.625 kB / 0.5661 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.5029, allocations: 4.125 kB / 0.5661 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.503, allocations: 72.19 kB / 0.5661 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.503, allocations: 0 / 0.5661 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.503, allocations: 4 kB / 0.5661 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5031, allocations: 0 / 0.5661 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.5031, allocations: 22.95 kB / 0.5662 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.5035, allocations: 285.2 kB / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.5036, allocations: 54.94 kB / 0.5665 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.5037, allocations: 22.3 kB / 0.5665 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5037, allocations: 0 / 0.5665 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.5038, allocations: 69.84 kB / 0.5666 GB, free: 30.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5038, allocations: 0 / 0.5666 GB, free: 30.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.5044, allocations: 176.4 kB / 0.5667 GB, free: 30.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5044, allocations: 77.72 kB / 0.5668 GB, free: 30.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.5046, allocations: 162.9 kB / 0.567 GB, free: 30.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.5046, allocations: 33.39 kB / 0.567 GB, free: 30.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.5046, allocations: 97.81 kB / 0.5671 GB, free: 30.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.5047, allocations: 31.69 kB / 0.5671 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.5047, allocations: 28.83 kB / 0.5671 GB, free: 30.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.5048, allocations: 323.3 kB / 0.5675 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.5048, allocations: 18.25 kB / 0.5675 GB, free: 29.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.5049, allocations: 52.91 kB / 0.5675 GB, free: 29.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.886e-05/0.505, allocations: 54.19 kB / 0.5676 GB, free: 29.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.505, allocations: 384 / 0.5676 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.5051, allocations: 103.2 kB / 0.5677 GB, free: 29.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5051, allocations: 8.75 kB / 0.5677 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5051, allocations: 0 / 0.5677 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.5052, allocations: 3.125 kB / 0.5677 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.5053, allocations: 20.39 kB / 0.5677 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5053, allocations: 0 / 0.5677 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.5053, allocations: 10.12 kB / 0.5677 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.5053, allocations: 3.219 kB / 0.5677 GB, free: 29.73 MB / 446.1 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 7.885e-05/0.5054, allocations: 132.5 kB / 0.5678 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5054, allocations: 7.172 kB / 0.5679 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.5056, allocations: 115.5 kB / 0.568 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5056, allocations: 3.984 kB / 0.568 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5056, allocations: 3.438 kB / 0.568 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5057, allocations: 7.125 kB / 0.568 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.506, allocations: 390 kB / 0.5683 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.506, allocations: 0 / 0.5683 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.5061, allocations: 13.62 kB / 0.5684 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5061, allocations: 3 kB / 0.5684 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5061, allocations: 7.125 kB / 0.5684 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5061, allocations: 11.12 kB / 0.5684 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5061, allocations: 0 / 0.5684 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.5063, allocations: 203.4 kB / 0.5686 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.5063, allocations: 84.47 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.5063, allocations: 3.938 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.5064, allocations: 3.656 kB / 0.5687 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.5064, allocations: 14.09 kB / 0.5687 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.5065, allocations: 3.094 kB / 0.5687 GB, free: 28.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.945e-05/0.5066, allocations: 131.3 kB / 0.5688 GB, free: 28.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5066, allocations: 192 / 0.5688 GB, free: 28.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.5069, allocations: 50.14 kB / 0.5689 GB, free: 28.79 MB / 446.1 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 (8): * Single equations (assignments): 6 * 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.001915/0.5088, allocations: 0.5474 MB / 0.5694 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.509, allocations: 50.3 kB / 0.5694 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.509, allocations: 3 kB / 0.5694 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.509, allocations: 26.25 kB / 0.5695 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.5094, allocations: 34.17 kB / 0.5695 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.5098, allocations: 216.8 kB / 0.5697 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.51, allocations: 0.6984 MB / 0.5704 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.51, allocations: 24.67 kB / 0.5704 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.5101, allocations: 23.89 kB / 0.5704 GB, free: 27.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5101, allocations: 0 / 0.5704 GB, free: 27.62 MB / 446.1 MB Notification: Performance of Templates: time 0.006087/0.5162, allocations: 2.371 MB / 0.5727 GB, free: 27.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.660808851011097]