Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009815/0.0009815, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00107/0.00107, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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 0.974/0.974, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2664/0.2664, allocations: 34.86 MB / 296.6 MB, free: 444 kB / 266.7 MB " [Timeout remaining time 180] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 4 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.863e-05, allocations: 2.312 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002062/0.00208, allocations: 1.705 MB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003162, allocations: 0.9812 MB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.003232, allocations: 3.938 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.003485, allocations: 55.73 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.00375, allocations: 103.5 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.003913, allocations: 79.66 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004049, allocations: 115.5 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.004083, allocations: 4.234 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.00417, allocations: 55.83 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.004245, allocations: 39.89 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.004258, allocations: 4 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.004329, allocations: 31.92 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.00437, allocations: 11.94 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.004409, allocations: 23.91 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.00456, allocations: 79.69 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.004565, allocations: 11.98 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004566, allocations: 0 / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004571, allocations: 0 / 382.6 MB, free: 14.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004549/0.005026, allocations: 435.9 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.005068, allocations: 12.03 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.005103, allocations: 12.83 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.005254, allocations: 146.7 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.005271, allocations: 384 / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.005282, allocations: 8.359 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.005393, allocations: 58.88 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.005401, allocations: 8.188 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005409, allocations: 384 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.005417, allocations: 3.938 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.443e-05/0.005441, allocations: 7.984 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.005575, allocations: 117.2 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.00565, allocations: 43.11 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.005671, allocations: 15.67 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.005685, allocations: 3.938 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.652e-05/0.005772, allocations: 65.05 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.005773, allocations: 4 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000141/0.005914, allocations: 73.64 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.005939, allocations: 55.39 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006043, allocations: 230.5 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006053, allocations: 29.64 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.006101, allocations: 150.8 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.006125, allocations: 11.91 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.006154, allocations: 27.36 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.006265, allocations: 0.4923 MB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.006279, allocations: 7.984 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.006303, allocations: 31.36 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.00634, allocations: 39.61 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006342, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.934e-05/0.006411, allocations: 69.58 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.006421, allocations: 4 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006426, allocations: 4 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006436, allocations: 0 / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.006484, allocations: 8 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006488, allocations: 3.938 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.006515, allocations: 11.98 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.00652, allocations: 3.984 kB / 384.8 MB, free: 12.03 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 6.747e-05/0.006588, allocations: 170.8 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.006602, allocations: 11.95 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.006705, allocations: 74.83 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006707, allocations: 0 / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006709, allocations: 0 / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.006713, allocations: 3.938 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.418e-05/0.006797, allocations: 121.2 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006798, allocations: 0 / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.006814, allocations: 8 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.006816, allocations: 4 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.006821, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006822, allocations: 3.938 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006823, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.006905, allocations: 120.2 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.006918, allocations: 12.12 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.006933, allocations: 8 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.006952, allocations: 4 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.006972, allocations: 3.984 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.006981, allocations: 8 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.00704, allocations: 159.8 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00704, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.007174, allocations: 12 kB / 385.5 MB, free: 11.25 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.0007543/0.007928, allocations: 379 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.008013, allocations: 39.61 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008014, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.00804, allocations: 15.69 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.008214, allocations: 39.34 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.008474, allocations: 186.2 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.008506, allocations: 63.34 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.008535, allocations: 16.55 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.008603, allocations: 86.12 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008603, allocations: 4 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.002987/0.01159, allocations: 1.774 MB / 388.1 MB, free: 8.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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: 2.8574855751357973]