Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001412/0.001412, 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.002325/0.002325, 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.637 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.3563/0.3563, allocations: 34.25 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.496e-05, allocations: 6.25 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00327/0.003305, allocations: 1.726 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005198, allocations: 0.9775 MB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.005268, allocations: 3.938 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.00556, allocations: 47.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.005913, allocations: 95.53 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.006129, allocations: 75.61 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.006329, allocations: 115.5 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.006417, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.006527, allocations: 47.91 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.006618, allocations: 35.83 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.006638, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.006751, allocations: 43.92 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.006814, allocations: 23.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.00687, allocations: 23.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.007102, allocations: 115.5 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.007108, allocations: 4 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007108, allocations: 3.938 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007113, allocations: 0 / 380.6 MB, free: 15.49 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.0008442/0.007957, allocations: 337.6 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.008001, allocations: 12.03 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.008064, allocations: 12.84 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.008347, allocations: 154.3 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.008362, allocations: 8.375 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.008388, allocations: 384 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.008549, allocations: 62.17 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.00856, allocations: 192 / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.00857, allocations: 384 / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008576, allocations: 3.938 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.00867, allocations: 23.98 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.009047, allocations: 232.5 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.009247, allocations: 66.59 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.009312, allocations: 24.84 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.009329, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.009504, allocations: 71.33 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.009505, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006632/0.01017, allocations: 177.4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.01022, allocations: 55.41 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.01047, allocations: 206.6 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.0105, allocations: 25.7 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.0106, allocations: 104.1 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.01064, allocations: 31.78 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.01068, allocations: 25.66 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.01088, allocations: 326.8 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.01095, allocations: 23.92 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.01103, allocations: 37.7 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01117, allocations: 61.69 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01117, allocations: 4 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000229/0.0114, allocations: 109.9 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.01142, allocations: 4.031 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01143, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.01146, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01156, allocations: 16 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01157, allocations: 160 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.01162, allocations: 11.98 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.01163, allocations: 3.938 kB / 382.8 MB, free: 13.11 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.000126/0.01176, allocations: 121.8 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.0118, allocations: 27.83 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.0121, allocations: 123 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.0121, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01211, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01211, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.01267, allocations: 354.9 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01267, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.01271, allocations: 8 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01272, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01273, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01273, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01273, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01304, allocations: 228.2 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01307, allocations: 11.91 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.01309, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01317, allocations: 4 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.01322, allocations: 11.98 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01323, allocations: 0 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.0134, allocations: 151.2 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0134, allocations: 0 / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01369, allocations: 31.92 kB / 383.9 MB, free: 11.98 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.002234/0.01592, allocations: 488.3 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.01614, allocations: 63.84 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01614, allocations: 0 / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.01622, allocations: 28.11 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.01664, allocations: 31.48 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.01724, allocations: 237.5 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01736, allocations: 96.3 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.01742, allocations: 17.27 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.01747, allocations: 20.5 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01747, allocations: 0 / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.005515/0.02298, allocations: 1.878 MB / 386.7 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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: 4.93546248099301]