Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001471/0.001471, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001939/0.001939, allocations: 156.9 kB / 24.27 MB, free: 172 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.502/1.502, allocations: 177 MB / 204.5 MB, free: 5.629 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.4255/0.4255, allocations: 34.25 MB / 295.2 MB, free: 0.6953 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.478e-05, allocations: 8.781 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004342/0.004377, allocations: 1.712 MB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.00646, allocations: 0.9736 MB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.00656, allocations: 3.938 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.006873, allocations: 47.69 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.007283, allocations: 95.62 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.007545, allocations: 79.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.007755, allocations: 111.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.007854, allocations: 7.984 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.007984, allocations: 51.89 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.008073, allocations: 27.86 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.008095, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.008211, allocations: 51.91 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.008274, allocations: 15.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.008329, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.008583, allocations: 119.6 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.008587, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008588, allocations: 3.938 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.008592, allocations: 0 / 380.6 MB, free: 15.48 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.0006543/0.009246, allocations: 341.6 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.009286, allocations: 8.031 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.009354, allocations: 16.84 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.009675, allocations: 158.3 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.009691, allocations: 384 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.009723, allocations: 12.3 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.009902, allocations: 58.23 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.009912, allocations: 192 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.009925, allocations: 4.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.009932, allocations: 3.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.01002, allocations: 23.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.01041, allocations: 232.5 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01062, allocations: 62.61 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.01069, allocations: 16.86 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.01071, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01089, allocations: 75.31 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.0109, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006533/0.01155, allocations: 181.4 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.0116, allocations: 51.41 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01186, allocations: 202.7 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01188, allocations: 29.7 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.01197, allocations: 112.1 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.01201, allocations: 23.8 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.01206, allocations: 29.64 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.01225, allocations: 326.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.01232, allocations: 23.92 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.0124, allocations: 33.7 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01254, allocations: 61.7 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01254, allocations: 0 / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002436/0.01278, allocations: 109.5 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.0128, allocations: 8 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01281, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.01283, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01293, allocations: 19.98 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01294, allocations: 160 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.01299, allocations: 3.938 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.013, allocations: 8 kB / 382.8 MB, free: 13.1 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.0001327/0.01313, allocations: 125.8 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.01317, allocations: 19.84 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.01347, allocations: 135.1 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01347, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01348, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01348, allocations: 4.359 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.01402, allocations: 350.9 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.01402, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.01407, allocations: 11.98 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01407, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01408, allocations: 4 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01408, allocations: 32 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01409, allocations: 4 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.0144, allocations: 216.2 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01443, allocations: 15.89 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.01445, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.01454, allocations: 0 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.01459, allocations: 11.98 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.01461, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.01477, allocations: 151.2 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01477, allocations: 0 / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.01505, allocations: 23.94 kB / 383.9 MB, free: 11.97 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.002246/0.0173, allocations: 496.5 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.01754, allocations: 63.84 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01754, allocations: 4.062 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.01763, allocations: 27.98 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.01803, allocations: 31.97 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.01866, allocations: 233.5 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.01905, allocations: 92.3 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.01912, allocations: 25.33 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.01917, allocations: 16.5 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01917, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of Templates: time 0.005972/0.02514, allocations: 1.862 MB / 386.7 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.034954383969307]