Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo): time 0.006031/0.006031, allocations: 1.325 MB / 261.3 MB, free: 11.74 MB / 250.7 MB " [Timeout remaining time 180] Using package BikeTrailer with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BikeTrailer.Examples.TestTrailerWithoutDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive") translateModel(BikeTrailer.Examples.TestTrailerWithoutDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 331.3 MB, free: 18.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.751e-05, allocations: 5.125 kB / 331.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.003687/0.003714, allocations: 4.193 MB / 335.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.005976, allocations: 1.936 MB / 337.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.006332, allocations: 23.81 kB / 337.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.00691, allocations: 226.2 kB / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.007364, allocations: 290 kB / 337.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.007862, allocations: 355.1 kB / 338.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.00842, allocations: 0.9113 MB / 339.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.008672, allocations: 209.2 kB / 339.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.009065, allocations: 0.491 MB / 339.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.009326, allocations: 263.2 kB / 340.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.009385, allocations: 84 kB / 340.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.00956, allocations: 139.8 kB / 340.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.009685, allocations: 283 kB / 340.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.009847, allocations: 283.2 kB / 340.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.01057, allocations: 0.7628 MB / 341.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01057, allocations: 4 kB / 341.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01057, allocations: 0 / 341.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01058, allocations: 0 / 341.7 MB, free: 7.668 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001184/0.01177, allocations: 1.355 MB / 343 MB, free: 6.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.01181, allocations: 11.97 kB / 343 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.0121, allocations: 172.1 kB / 343.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.01275, allocations: 0.6356 MB / 343.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.01279, allocations: 41.69 kB / 343.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.01286, allocations: 68.33 kB / 344 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.01343, allocations: 498.1 kB / 344.4 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.01345, allocations: 7.938 kB / 344.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.01348, allocations: 27.94 kB / 344.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01349, allocations: 12 kB / 344.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.01381, allocations: 228.9 kB / 344.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.01569, allocations: 2.283 MB / 347 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.01614, allocations: 228.8 kB / 347.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01625, allocations: 92.23 kB / 347.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.01628, allocations: 4.328 kB / 347.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.0165, allocations: 194.5 kB / 347.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.0165, allocations: 0 / 347.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001563/0.01806, allocations: 1.381 MB / 348.9 MB, free: 152 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.0181, allocations: 106.8 kB / 349 MB, free: 20 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.01884, allocations: 0.8978 MB / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.01888, allocations: 37.69 kB / 349.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.01922, allocations: 0.5464 MB / 350.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.01931, allocations: 170.5 kB / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.01942, allocations: 111.9 kB / 350.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.0196, allocations: 0.4887 MB / 351.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.01973, allocations: 86.25 kB / 351.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.01994, allocations: 321.5 kB / 351.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.02029, allocations: 385.8 kB / 352 MB, free: 12.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02029, allocations: 0 / 352 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005013/0.02079, allocations: 481 kB / 352.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.02081, allocations: 8 kB / 352.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02082, allocations: 4 kB / 352.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.02084, allocations: 8 kB / 352.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.02125, allocations: 123.9 kB / 352.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.02126, allocations: 19.92 kB / 352.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.02141, allocations: 24 kB / 352.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.02144, allocations: 20 kB / 352.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002211/0.02166, allocations: 216.1 kB / 352.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002074/0.02186, allocations: 313.6 kB / 353.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00033/0.02219, allocations: 393.8 kB / 353.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.0222, allocations: 4 kB / 353.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004641/0.02266, allocations: 472.5 kB / 354 MB, free: 10.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.02267, allocations: 6.812 kB / 354.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.02268, allocations: 4 kB / 354.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.02268, allocations: 11.98 kB / 354.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.02291, allocations: 128.4 kB / 354.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.02292, allocations: 11.94 kB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.02306, allocations: 23.95 kB / 354.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.02308, allocations: 27.98 kB / 354.3 MB, free: 10.33 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.track.nextTimeEvent,$whenCondition1,track.nextTimeEventScaled,$PRE.track.nextTimeEventScaled,track.nextTimeEvent,trailer.energyDrive.local_reset,trailer.energyBike.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001277/0.02321, allocations: 304.6 kB / 354.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.02329, allocations: 103.4 kB / 354.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.02376, allocations: 382.6 kB / 355 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02376, allocations: 4 kB / 355 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.02377, allocations: 0 / 355 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.02378, allocations: 7.984 kB / 355 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02523, allocations: 1.18 MB / 356.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.02523, allocations: 3.938 kB / 356.2 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.02547, allocations: 103.8 kB / 356.3 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.02547, allocations: 4 kB / 356.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.02549, allocations: 8 kB / 356.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.0255, allocations: 4 kB / 356.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0255, allocations: 3.938 kB / 356.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.02609, allocations: 0.6542 MB / 357 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.02625, allocations: 139.3 kB / 357.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.0263, allocations: 19.98 kB / 357.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.02642, allocations: 12 kB / 357.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.02648, allocations: 36.38 kB / 357.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.0265, allocations: 16 kB / 357.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004422/0.02694, allocations: 0.5653 MB / 357.8 MB, free: 6.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02694, allocations: 0 / 357.8 MB, free: 6.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004876/0.02743, allocations: 231.9 kB / 358 MB, free: 6.469 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (trailer.energyBike.y,trailer.vehicle.windSpeed.s,trailer.vehicle.windSpeed.v,bike.s,bike.v,trailer.energyDrive.y) * Number of discrete variables: 3 ($whenCondition1,track.nextTimeEvent,track.nextTimeEventScaled) * Number of discrete states: 2 (track.nextTimeEvent,track.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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.0008104/0.02824, allocations: 408 kB / 358.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.02882, allocations: 479.5 kB / 358.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.02883, allocations: 0 / 358.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.02898, allocations: 147.4 kB / 359 MB, free: 5.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.02945, allocations: 156.2 kB / 359.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.03147, allocations: 1.647 MB / 360.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.03159, allocations: 199.6 kB / 361 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.03179, allocations: 93.31 kB / 361.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.0319, allocations: 60.48 kB / 361.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0319, allocations: 0 / 361.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of Templates: time 0.01125/0.04314, allocations: 8.116 MB / 369.3 MB, free: 11.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.sim & ./BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive -abortSlowSimulation -alarm=240 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8825180819258094]