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.001011/0.001011, allocations: 92.22 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.001249/0.001249, allocations: 173 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.023/1.023, 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.01096/0.01096, allocations: 1.317 MB / 261.3 MB, free: 11.75 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.873e-06/1.873e-06, allocations: 0 / 331.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.098e-05, allocations: 4.562 kB / 331.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.003957/0.003988, allocations: 4.197 MB / 335.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.006409, allocations: 1.932 MB / 337.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.006768, allocations: 23.81 kB / 337.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.00737, allocations: 222.2 kB / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.007893, allocations: 297.9 kB / 337.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.008369, allocations: 347.2 kB / 338.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.009024, allocations: 0.9152 MB / 339.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.009385, allocations: 213.2 kB / 339.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.009857, allocations: 0.4948 MB / 339.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.01012, allocations: 259.2 kB / 340.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.01018, allocations: 84 kB / 340.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.01037, allocations: 139.9 kB / 340.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.01057, allocations: 279 kB / 340.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.01077, allocations: 283.2 kB / 340.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.01132, allocations: 0.7628 MB / 341.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01132, allocations: 0 / 341.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01132, allocations: 0 / 341.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.01133, allocations: 4 kB / 341.7 MB, free: 7.66 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.001217/0.01255, allocations: 1.359 MB / 343 MB, free: 6.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.01259, allocations: 12.03 kB / 343 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.01281, allocations: 180.1 kB / 343.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.01334, allocations: 0.6317 MB / 343.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.01338, allocations: 45.69 kB / 343.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.01343, allocations: 60.33 kB / 344 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.01399, allocations: 0.4904 MB / 344.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.01401, allocations: 11.88 kB / 344.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01404, allocations: 24 kB / 344.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01405, allocations: 12 kB / 344.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.01437, allocations: 235.6 kB / 344.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01616, allocations: 2.279 MB / 347 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.01652, allocations: 228.8 kB / 347.2 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.01663, allocations: 92.22 kB / 347.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.01666, allocations: 8.328 kB / 347.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.01687, allocations: 194.5 kB / 347.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.473e-06/0.01687, allocations: 4 kB / 347.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001576/0.01845, allocations: 1.377 MB / 348.9 MB, free: 132 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.0185, allocations: 110.8 kB / 349 MB, free: 16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.01919, allocations: 0.8939 MB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.01922, allocations: 37.7 kB / 349.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.01952, allocations: 0.5423 MB / 350.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.01961, allocations: 174.7 kB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.01971, allocations: 108 kB / 350.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01982, allocations: 0.4964 MB / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.01995, allocations: 86.27 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.02017, allocations: 317.5 kB / 351.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.02056, allocations: 385.8 kB / 352 MB, free: 12.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.02056, allocations: 8 kB / 352 MB, free: 12.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006296/0.02119, allocations: 476.5 kB / 352.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.02121, allocations: 4.562 kB / 352.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.02122, allocations: 8 kB / 352.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.02124, allocations: 11.98 kB / 352.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.02151, allocations: 127.8 kB / 352.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.02153, allocations: 11.94 kB / 352.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.02168, allocations: 20 kB / 352.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.02172, allocations: 23.98 kB / 352.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002721/0.022, allocations: 212.1 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002179/0.02221, allocations: 317.5 kB / 353.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003421/0.02256, allocations: 393.8 kB / 353.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.02256, allocations: 0 / 353.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004837/0.02304, allocations: 468.7 kB / 354.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.02305, allocations: 10.81 kB / 354.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.02306, allocations: 4 kB / 354.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.02306, allocations: 8 kB / 354.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.02331, allocations: 127.8 kB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.02332, allocations: 11.94 kB / 354.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.02346, allocations: 24.31 kB / 354.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.02348, allocations: 32 kB / 354.3 MB, free: 10.31 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.0001271/0.02361, allocations: 306.3 kB / 354.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.02369, allocations: 99.44 kB / 354.7 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.02425, allocations: 390.5 kB / 355 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02426, allocations: 4 kB / 355 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.02426, allocations: 0 / 355 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02427, allocations: 4 kB / 355.1 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.02543, allocations: 1.176 MB / 356.2 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.02543, allocations: 8.062 kB / 356.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.02568, allocations: 99.89 kB / 356.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.02569, allocations: 7.938 kB / 356.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.02571, allocations: 15.98 kB / 356.4 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.02571, allocations: 7.938 kB / 356.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02571, allocations: 0 / 356.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.02633, allocations: 0.6501 MB / 357 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.02649, allocations: 143.3 kB / 357.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.02654, allocations: 12 kB / 357.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.02667, allocations: 19.98 kB / 357.2 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.02673, allocations: 32.44 kB / 357.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.02675, allocations: 16 kB / 357.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004705/0.02722, allocations: 0.5614 MB / 357.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02722, allocations: 0 / 357.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.02773, allocations: 231.9 kB / 358 MB, free: 6.449 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.0008602/0.02859, allocations: 402.7 kB / 358.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.02921, allocations: 482.2 kB / 358.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02921, allocations: 0 / 358.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.02938, allocations: 149 kB / 359 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.02984, allocations: 161.3 kB / 359.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.03213, allocations: 1.643 MB / 360.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.03227, allocations: 191.7 kB / 361 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.03251, allocations: 105.3 kB / 361.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.03262, allocations: 60.48 kB / 361.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03262, allocations: 0 / 361.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of Templates: time 0.01262/0.04524, allocations: 8.121 MB / 369.3 MB, free: 11.33 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.6989120980724692]