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.002547/0.002547, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.003625/0.003625, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.69/1.69, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.02252/0.02252, allocations: 1.32 MB / 260.5 MB, free: 11.96 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 2.013e-06/2.013e-06, allocations: 0 / 383.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.132e-05, allocations: 2.281 kB / 383.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.006612/0.006643, allocations: 3.916 MB / 387.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.01061, allocations: 1.9 MB / 389.5 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004816/0.01109, allocations: 19.88 kB / 389.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.01193, allocations: 214.3 kB / 389.7 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00075/0.01268, allocations: 293.9 kB / 390 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.01351, allocations: 351.1 kB / 390.4 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.01469, allocations: 0.9152 MB / 391.3 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.01511, allocations: 209.2 kB / 391.5 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.01585, allocations: 490.9 kB / 392 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.01631, allocations: 259.1 kB / 392.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.01644, allocations: 88 kB / 392.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.01674, allocations: 139.9 kB / 392.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.01703, allocations: 279 kB / 392.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.0174, allocations: 291.2 kB / 393 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.01918, allocations: 1.18 MB / 394.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.01918, allocations: 0 / 394.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01918, allocations: 0 / 394.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.0192, allocations: 7.938 kB / 394.2 MB, free: 2.43 MB / 314.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.002309/0.02151, allocations: 1.236 MB / 395.4 MB, free: 1.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.02156, allocations: 16.02 kB / 395.4 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.02185, allocations: 124.2 kB / 395.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.02298, allocations: 0.6771 MB / 396.2 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.02303, allocations: 49.56 kB / 396.3 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.02313, allocations: 56.38 kB / 396.3 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.0243, allocations: 0.6254 MB / 397 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.02434, allocations: 7.891 kB / 397 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.02439, allocations: 20 kB / 397 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.02441, allocations: 16 kB / 397 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.0253, allocations: 428.9 kB / 397.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.02917, allocations: 2.124 MB / 399.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.03002, allocations: 349.1 kB / 399.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.03035, allocations: 145.5 kB / 400 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.03039, allocations: 12.31 kB / 400 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.03088, allocations: 243.2 kB / 400.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.265e-06/0.03088, allocations: 0 / 400.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.003899/0.03478, allocations: 1.778 MB / 402.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.03489, allocations: 106.8 kB / 402.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.03644, allocations: 1.118 MB / 403.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.03649, allocations: 37.7 kB / 403.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.03697, allocations: 472.7 kB / 403.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.03714, allocations: 170.5 kB / 403.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.03732, allocations: 102.3 kB / 404 MB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.0375, allocations: 322 kB / 404.4 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.03786, allocations: 171.4 kB / 404.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.03837, allocations: 336.4 kB / 404.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.03927, allocations: 0.4914 MB / 405.3 MB, free: 6.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.03927, allocations: 4 kB / 405.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001131/0.0404, allocations: 0.6023 MB / 406 MB, free: 6.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.04043, allocations: 8 kB / 406 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.04044, allocations: 4 kB / 406 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.04046, allocations: 4 kB / 406 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.04098, allocations: 135.8 kB / 406.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.04099, allocations: 4 kB / 406.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.04127, allocations: 23.98 kB / 406.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.04131, allocations: 20.19 kB / 406.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000662/0.04198, allocations: 410 kB / 406.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004791/0.04245, allocations: 320.4 kB / 406.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000765/0.04322, allocations: 479.5 kB / 407.3 MB, free: 4.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.04322, allocations: 3.938 kB / 407.3 MB, free: 4.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009775/0.0442, allocations: 0.5747 MB / 407.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.04422, allocations: 8 kB / 407.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.04422, allocations: 4 kB / 407.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.04423, allocations: 4 kB / 407.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.0448, allocations: 127.8 kB / 408.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.04482, allocations: 8.5 kB / 408.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.04507, allocations: 20.12 kB / 408.1 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.04511, allocations: 27.98 kB / 408.1 MB, free: 3.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (67): * Single equations (assignments): 67 * 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.0002172/0.04533, allocations: 217.1 kB / 408.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.04546, allocations: 91.39 kB / 408.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.04661, allocations: 0.5376 MB / 408.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.04662, allocations: 4 kB / 408.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.04663, allocations: 0 / 408.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.04664, allocations: 7.984 kB / 409 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.04887, allocations: 1.231 MB / 410.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.04888, allocations: 4 kB / 410.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.04938, allocations: 107.8 kB / 410.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.04938, allocations: 4 kB / 410.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.04942, allocations: 12 kB / 410.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.04943, allocations: 12.02 kB / 410.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.04943, allocations: 8 kB / 410.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.05089, allocations: 0.8299 MB / 411.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.05117, allocations: 147.3 kB / 411.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.05125, allocations: 12 kB / 411.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.05151, allocations: 23.92 kB / 411.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.0516, allocations: 32.44 kB / 411.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.05164, allocations: 20 kB / 411.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1999/0.2516, allocations: 0.7929 MB / 412.2 MB, free: 38.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2516, allocations: 0 / 412.2 MB, free: 38.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001332/0.2529, allocations: 229.1 kB / 412.4 MB, free: 38.46 MB / 330.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.002905/0.2558, allocations: 458.5 kB / 412.9 MB, free: 38.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.2573, allocations: 0.6317 MB / 413.5 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2573, allocations: 3.312 kB / 413.5 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.2577, allocations: 196.9 kB / 413.7 MB, free: 38.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.2586, allocations: 128.8 kB / 413.8 MB, free: 38.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.2618, allocations: 1.84 MB / 415.7 MB, free: 37.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.2624, allocations: 432.7 kB / 416.1 MB, free: 37.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.2629, allocations: 132.4 kB / 416.2 MB, free: 37.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2631, allocations: 52.88 kB / 416.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of SimCode: time 2.073e-06/0.2631, allocations: 1.125 kB / 416.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01942/0.2825, allocations: 7.656 MB / 423.9 MB, free: 35.5 MB / 330.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: 6.759717199020088]