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.001013/0.001013, allocations: 88.42 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001025/0.001025, allocations: 177.2 kB / 23.22 MB, free: 1.316 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.02/1.02, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.01376/0.01376, allocations: 1.326 MB / 261.3 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 1.814e-06/1.814e-06, allocations: 0 / 383.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.981e-05, allocations: 8.391 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.004008/0.004038, allocations: 3.913 MB / 387.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.00653, allocations: 1.897 MB / 389.5 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.006864, allocations: 23.81 kB / 389.5 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.007483, allocations: 214.3 kB / 389.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.00796, allocations: 293.9 kB / 390 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.008452, allocations: 349.8 kB / 390.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.009129, allocations: 0.9191 MB / 391.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.009423, allocations: 205.2 kB / 391.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.00989, allocations: 490.9 kB / 391.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.01018, allocations: 263.1 kB / 392.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.83e-05/0.01025, allocations: 88 kB / 392.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.01043, allocations: 135.9 kB / 392.4 MB, free: 5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.0106, allocations: 279 kB / 392.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.0108, allocations: 291.2 kB / 393 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.01167, allocations: 1.184 MB / 394.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.01167, allocations: 0 / 394.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01167, allocations: 0 / 394.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.01169, allocations: 4 kB / 394.2 MB, free: 3.25 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.001389/0.01308, allocations: 1.24 MB / 395.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.01311, allocations: 12.03 kB / 395.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.01333, allocations: 124.2 kB / 395.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.01404, allocations: 0.681 MB / 396.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.01407, allocations: 41.69 kB / 396.3 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.01414, allocations: 56.38 kB / 396.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.01482, allocations: 0.6176 MB / 396.9 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.01484, allocations: 11.89 kB / 396.9 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.01488, allocations: 24 kB / 397 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01489, allocations: 16 kB / 397 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.01543, allocations: 425 kB / 397.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.01754, allocations: 2.132 MB / 399.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.01804, allocations: 349.1 kB / 399.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.01821, allocations: 149.4 kB / 400 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.01824, allocations: 12.31 kB / 400 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.01853, allocations: 251.1 kB / 400.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.525e-06/0.01853, allocations: 0 / 400.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002064/0.02059, allocations: 1.77 MB / 402 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.02064, allocations: 106.8 kB / 402.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008158/0.02146, allocations: 1.118 MB / 403.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.02149, allocations: 33.7 kB / 403.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.02172, allocations: 468.7 kB / 403.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.0218, allocations: 170.5 kB / 403.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.0219, allocations: 102.3 kB / 404 MB, free: 9.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.02197, allocations: 322 kB / 404.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.02217, allocations: 175.3 kB / 404.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.02244, allocations: 332.5 kB / 404.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.02289, allocations: 0.4953 MB / 405.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.0229, allocations: 8 kB / 405.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006039/0.0235, allocations: 0.5942 MB / 405.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.02352, allocations: 8 kB / 405.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.02353, allocations: 4 kB / 405.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.02354, allocations: 4 kB / 405.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.02382, allocations: 144.3 kB / 406.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.02383, allocations: 7.938 kB / 406.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.02397, allocations: 23.98 kB / 406.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.02399, allocations: 20 kB / 406.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003684/0.02436, allocations: 406 kB / 406.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002391/0.0246, allocations: 316.5 kB / 406.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004203/0.02502, allocations: 475.5 kB / 407.3 MB, free: 5.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.02502, allocations: 4 kB / 407.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0005703/0.02559, allocations: 0.5708 MB / 407.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.0256, allocations: 8.5 kB / 407.9 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.0256, allocations: 8 kB / 407.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.02561, allocations: 7.984 kB / 407.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.02585, allocations: 127.8 kB / 408 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.02586, allocations: 11.94 kB / 408 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.02599, allocations: 16 kB / 408.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.02601, allocations: 23.98 kB / 408.1 MB, free: 4.754 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.000119/0.02613, allocations: 221 kB / 408.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.0262, allocations: 91.39 kB / 408.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.0268, allocations: 0.5338 MB / 408.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02681, allocations: 4 kB / 408.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.02681, allocations: 0 / 408.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.02682, allocations: 7.984 kB / 408.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.02808, allocations: 1.239 MB / 410.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.02808, allocations: 4.125 kB / 410.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.02833, allocations: 112 kB / 410.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02833, allocations: 4 kB / 410.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.02836, allocations: 8 kB / 410.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.02836, allocations: 7.938 kB / 410.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.02836, allocations: 15.86 kB / 410.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.02916, allocations: 0.8261 MB / 411.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.02932, allocations: 143.4 kB / 411.3 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.02938, allocations: 16 kB / 411.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.02951, allocations: 23.92 kB / 411.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.02956, allocations: 36.38 kB / 411.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.02959, allocations: 16 kB / 411.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005834/0.03017, allocations: 0.7997 MB / 412.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03017, allocations: 0 / 412.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.03066, allocations: 227.9 kB / 412.4 MB, free: 356 kB / 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.001057/0.03171, allocations: 456 kB / 412.8 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1371/0.1689, allocations: 0.6265 MB / 413.5 MB, free: 39.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1689, allocations: 3.938 kB / 413.5 MB, free: 39.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.1692, allocations: 200.2 kB / 413.7 MB, free: 39.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.1699, allocations: 133.9 kB / 413.8 MB, free: 39.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1724, allocations: 1.884 MB / 415.7 MB, free: 38.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1728, allocations: 433.1 kB / 416.1 MB, free: 38.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.173, allocations: 60.81 kB / 416.2 MB, free: 38.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.173, allocations: 4 kB / 416.2 MB, free: 38.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01516/0.1881, allocations: 10.95 MB / 427.1 MB, free: 35.16 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 > BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.830816423986107]