Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.0008933/0.0008933, 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.0009181/0.0009181, 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.9358/0.9358, allocations: 177 MB / 205.1 MB, free: 5.48 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.2386/0.2386, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.7e-05, allocations: 3.016 kB / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003438/0.003465, allocations: 2.313 MB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005472, allocations: 1.368 MB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.005679, allocations: 7.875 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.006182, allocations: 290.8 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.006707, allocations: 354.4 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.007106, allocations: 219.5 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.007651, allocations: 0.5763 MB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.007781, allocations: 33.22 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.008073, allocations: 299.1 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.008304, allocations: 263.3 kB / 385 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.008337, allocations: 20 kB / 385 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.008445, allocations: 59.92 kB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.008537, allocations: 123.5 kB / 385.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.008619, allocations: 103.6 kB / 385.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.008932, allocations: 326.5 kB / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008937, allocations: 0 / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008938, allocations: 0 / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.008944, allocations: 0 / 385.6 MB, free: 11.41 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001024/0.009968, allocations: 0.8417 MB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01001, allocations: 8.031 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.01008, allocations: 68.56 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.0104, allocations: 359.1 kB / 386.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.01043, allocations: 8.375 kB / 386.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.01045, allocations: 16.38 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.01066, allocations: 193.7 kB / 387.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01067, allocations: 192 / 387.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01068, allocations: 12.31 kB / 387.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01069, allocations: 7.938 kB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.01077, allocations: 55.88 kB / 387.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.01132, allocations: 0.9411 MB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01155, allocations: 255.7 kB / 388.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.01162, allocations: 86.41 kB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01164, allocations: 11.94 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.01184, allocations: 211.2 kB / 388.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.01184, allocations: 0 / 388.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.000774/0.01261, allocations: 0.5641 MB / 389.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.01267, allocations: 162.2 kB / 389.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.01301, allocations: 0.5686 MB / 390 MB, free: 6.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01304, allocations: 41.7 kB / 390 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01317, allocations: 291.7 kB / 390.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.01324, allocations: 131 kB / 390.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.01332, allocations: 79.81 kB / 390.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01347, allocations: 0.5546 MB / 391 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.01353, allocations: 44.97 kB / 391.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01364, allocations: 157.8 kB / 391.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.01382, allocations: 229.6 kB / 391.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01382, allocations: 3.938 kB / 391.5 MB, free: 5.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000306/0.01412, allocations: 325.2 kB / 391.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01414, allocations: 4 kB / 391.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01414, allocations: 4 kB / 391.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01416, allocations: 8.156 kB / 391.8 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01432, allocations: 87.89 kB / 391.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01433, allocations: 12 kB / 391.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.01442, allocations: 19.92 kB / 391.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01443, allocations: 16 kB / 391.9 MB, free: 4.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001162/0.01455, allocations: 195 kB / 392.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.01462, allocations: 75.58 kB / 392.2 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.015, allocations: 389.6 kB / 392.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.015, allocations: 12 kB / 392.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01501, allocations: 0 / 392.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01501, allocations: 7.938 kB / 392.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.01628, allocations: 1.297 MB / 393.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01628, allocations: 7.938 kB / 393.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.01637, allocations: 55.92 kB / 394 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01637, allocations: 4 kB / 394 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01639, allocations: 20.14 kB / 394 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.01639, allocations: 7.938 kB / 394 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01639, allocations: 0 / 394 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.01689, allocations: 1.014 MB / 395 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.01693, allocations: 55.55 kB / 395.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.01697, allocations: 19.98 kB / 395.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.01714, allocations: 15.98 kB / 395.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01719, allocations: 35.95 kB / 395.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.01721, allocations: 19.98 kB / 395.2 MB, free: 1.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.01741, allocations: 370.6 kB / 395.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01741, allocations: 3.938 kB / 395.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.01775, allocations: 87.98 kB / 395.6 MB, free: 0.8516 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008927/0.01865, allocations: 455.4 kB / 396 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.01888, allocations: 212.2 kB / 396.3 MB, free: 328 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01888, allocations: 4.312 kB / 396.3 MB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.01899, allocations: 119.4 kB / 396.4 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.0196, allocations: 167.3 kB / 396.5 MB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02075, allocations: 0.8592 MB / 397.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.0209, allocations: 137.9 kB / 397.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.02103, allocations: 83.39 kB / 397.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.02122, allocations: 178.1 kB / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02123, allocations: 0 / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of Templates: time 0.0083/0.02953, allocations: 6.849 MB / 404.6 MB, free: 7.977 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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: 3.0419674697332084]