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.0009211/0.0009211, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001056/0.001056, allocations: 169 kB / 23.28 MB, free: 1.219 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 0.8903/0.8903, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.00856/0.00856, allocations: 1.321 MB / 261.6 MB, free: 11.59 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.523e-06/1.523e-06, allocations: 4 kB / 331.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.287e-06/1.081e-05, allocations: 2.312 kB / 331.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.003068/0.003079, allocations: 4.122 MB / 335.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005012, allocations: 1.928 MB / 337.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.005288, allocations: 19.88 kB / 337.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.005751, allocations: 230.2 kB / 338 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.006138, allocations: 289.9 kB / 338.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.00652, allocations: 347.2 kB / 338.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.007015, allocations: 0.9191 MB / 339.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.007226, allocations: 205.2 kB / 339.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.007544, allocations: 0.4949 MB / 340.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.00775, allocations: 255.2 kB / 340.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.007809, allocations: 88 kB / 340.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.007931, allocations: 139.9 kB / 340.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.008037, allocations: 279 kB / 341 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.008174, allocations: 295.2 kB / 341.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.008631, allocations: 0.7588 MB / 342 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.008633, allocations: 0 / 342 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.008633, allocations: 0 / 342 MB, free: 7.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008638, allocations: 0 / 342 MB, free: 7.48 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.0009027/0.009541, allocations: 1.363 MB / 343.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.00957, allocations: 12.03 kB / 343.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.009746, allocations: 176 kB / 343.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.01015, allocations: 0.6162 MB / 344.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.01017, allocations: 37.69 kB / 344.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.01022, allocations: 64.33 kB / 344.3 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.01057, allocations: 474 kB / 344.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.01059, allocations: 3.938 kB / 344.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.01061, allocations: 24 kB / 344.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.01062, allocations: 12 kB / 344.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.0108, allocations: 184.9 kB / 345 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.0122, allocations: 2.302 MB / 347.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.01244, allocations: 214.7 kB / 347.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.0125, allocations: 76.22 kB / 347.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01252, allocations: 8.328 kB / 347.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.01266, allocations: 174.5 kB / 347.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.283e-06/0.01266, allocations: 0 / 347.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001014/0.01368, allocations: 1.036 MB / 348.8 MB, free: 436 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.0137, allocations: 106.8 kB / 348.9 MB, free: 304 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.01422, allocations: 0.8661 MB / 349.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01425, allocations: 41.69 kB / 349.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.01452, allocations: 0.55 MB / 350.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.0146, allocations: 170.5 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.0147, allocations: 111.9 kB / 350.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01482, allocations: 0.4965 MB / 351.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.0149, allocations: 70.19 kB / 351.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.01507, allocations: 305.5 kB / 351.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.01533, allocations: 353.8 kB / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01533, allocations: 0 / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003836/0.01571, allocations: 448.4 kB / 352.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01572, allocations: 8 kB / 352.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01573, allocations: 4 kB / 352.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01574, allocations: 8 kB / 352.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.01597, allocations: 128.4 kB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01598, allocations: 8 kB / 352.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01611, allocations: 23.98 kB / 352.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.01613, allocations: 20 kB / 352.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001519/0.01628, allocations: 200 kB / 352.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001571/0.01644, allocations: 301.5 kB / 353 MB, free: 11.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002422/0.01668, allocations: 357.7 kB / 353.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.01668, allocations: 8 kB / 353.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003599/0.01704, allocations: 428.9 kB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.01705, allocations: 12.06 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-06/0.01705, allocations: 4 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.01706, allocations: 8 kB / 353.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.01726, allocations: 127.8 kB / 353.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01726, allocations: 4.125 kB / 353.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01738, allocations: 27.98 kB / 353.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.0174, allocations: 20 kB / 353.9 MB, free: 10.84 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.000119/0.01751, allocations: 310.3 kB / 354.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.01759, allocations: 107.3 kB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.01794, allocations: 354.7 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01794, allocations: 4 kB / 354.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01795, allocations: 7.984 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01795, allocations: 0 / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.01881, allocations: 1.005 MB / 355.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01881, allocations: 0 / 355.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.01902, allocations: 99.83 kB / 355.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01903, allocations: 12.03 kB / 355.8 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01905, allocations: 15.98 kB / 355.8 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01905, allocations: 4 kB / 355.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01905, allocations: 0 / 355.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.01951, allocations: 0.6148 MB / 356.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.01964, allocations: 135.3 kB / 356.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.01968, allocations: 12 kB / 356.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.0198, allocations: 12 kB / 356.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01983, allocations: 32.44 kB / 356.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01985, allocations: 19.98 kB / 356.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.02016, allocations: 0.5066 MB / 357.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02016, allocations: 4 kB / 357.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.02059, allocations: 235.9 kB / 357.4 MB, free: 7.273 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.0006746/0.02127, allocations: 405.2 kB / 357.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.02166, allocations: 427.5 kB / 358.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.02167, allocations: 4 kB / 358.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.02178, allocations: 131.4 kB / 358.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.02217, allocations: 147.5 kB / 358.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.02385, allocations: 1.628 MB / 360.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.02397, allocations: 199.7 kB / 360.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.02416, allocations: 93.3 kB / 360.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.02439, allocations: 202.1 kB / 360.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.02439, allocations: 0 / 360.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of Templates: time 0.01035/0.03474, allocations: 8.393 MB / 369 MB, free: 11.89 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.900878531858325]