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.00121/0.00121, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00185/0.00306, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.00111/0.00111, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002593, allocations: 475.6 kB / 11.8 MB, free: 2.371 MB / 13.93 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.9019/0.9019, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08184/0.9837, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.01221/0.01221, allocations: 1.311 MB / 245.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.01386, allocations: 0.8661 MB / 246.3 MB, free: 12.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.103e-06/1.103e-06, allocations: 0 / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.913e-05, allocations: 6.25 kB / 247.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.003668/0.003687, allocations: 4.205 MB / 251.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.006042, allocations: 2.021 MB / 253.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.006329, allocations: 15.88 kB / 253.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.006808, allocations: 226.2 kB / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.007202, allocations: 285.9 kB / 254.3 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.007651, allocations: 351.1 kB / 254.7 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.008275, allocations: 0.9035 MB / 255.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.008521, allocations: 215.2 kB / 255.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.00902, allocations: 0.578 MB / 256.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.00929, allocations: 271.1 kB / 256.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.009356, allocations: 84 kB / 256.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.009543, allocations: 151.8 kB / 256.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.009676, allocations: 231.3 kB / 257.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.009842, allocations: 239.3 kB / 257.3 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.01047, allocations: 0.7161 MB / 258 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.01048, allocations: 0 / 258 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01048, allocations: 0 / 258 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01049, allocations: 3.938 kB / 258 MB, free: 0.8242 MB / 250.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.001148/0.01164, allocations: 1.363 MB / 259.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.01167, allocations: 15.97 kB / 259.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.0119, allocations: 205.9 kB / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.01237, allocations: 0.5054 MB / 260.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.0124, allocations: 45.67 kB / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.01253, allocations: 60.33 kB / 260.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.01297, allocations: 467.8 kB / 260.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.01299, allocations: 7.938 kB / 260.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01301, allocations: 20 kB / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01303, allocations: 20 kB / 260.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.01322, allocations: 163.8 kB / 260.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.01483, allocations: 1.708 MB / 262.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.01515, allocations: 245.8 kB / 262.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.01522, allocations: 61.48 kB / 262.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.01525, allocations: 8.328 kB / 262.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.01544, allocations: 174 kB / 263.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.01544, allocations: 3.938 kB / 263.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001338/0.01678, allocations: 0.9846 MB / 264.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.01681, allocations: 81.11 kB / 264.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.01727, allocations: 0.7787 MB / 264.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.0173, allocations: 33.7 kB / 264.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.01743, allocations: 338.5 kB / 265.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.01751, allocations: 174.5 kB / 265.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.01759, allocations: 98.3 kB / 265.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.01766, allocations: 329.9 kB / 265.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.01773, allocations: 58.28 kB / 265.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01786, allocations: 238.1 kB / 266.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.01809, allocations: 330.5 kB / 266.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.0181, allocations: 4 kB / 266.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002858/0.01838, allocations: 316.1 kB / 266.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.0184, allocations: 8 kB / 266.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0184, allocations: 4 kB / 266.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01842, allocations: 11.98 kB / 266.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.01873, allocations: 160.6 kB / 267 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.01873, allocations: 7.938 kB / 267 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01886, allocations: 28.27 kB / 267 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01888, allocations: 20 kB / 267 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001386/0.01902, allocations: 151 kB / 267.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001214/0.01914, allocations: 234.1 kB / 267.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002134/0.01935, allocations: 303.9 kB / 267.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.01935, allocations: 4 kB / 267.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0002698/0.01962, allocations: 323.8 kB / 268 MB, free: 6.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.01963, allocations: 10.34 kB / 268 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01964, allocations: 4.562 kB / 268 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.01964, allocations: 12 kB / 268 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.0199, allocations: 155.8 kB / 268.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01991, allocations: 12.05 kB / 268.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.02002, allocations: 35.83 kB / 268.2 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.02004, allocations: 16 kB / 268.3 MB, free: 5.984 MB / 266.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 9.222e-05/0.02013, allocations: 227.3 kB / 268.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.02019, allocations: 63.94 kB / 268.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.02046, allocations: 275.7 kB / 268.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02046, allocations: 8 kB / 268.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02047, allocations: 3.938 kB / 268.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.02047, allocations: 11.92 kB / 268.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.02125, allocations: 0.8138 MB / 269.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02125, allocations: 0 / 269.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.02153, allocations: 131.8 kB / 269.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.02164, allocations: 103.4 kB / 269.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.02165, allocations: 4 kB / 269.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.02167, allocations: 15.98 kB / 269.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02167, allocations: 7.938 kB / 269.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02167, allocations: 4 kB / 269.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.02203, allocations: 486.2 kB / 270.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.02207, allocations: 19.98 kB / 270.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.02219, allocations: 12 kB / 270.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.02223, allocations: 36.38 kB / 270.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.02225, allocations: 19.98 kB / 270.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.02252, allocations: 403.3 kB / 270.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02252, allocations: 0 / 270.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.02292, allocations: 235.9 kB / 271.1 MB, free: 3.066 MB / 266.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.001109/0.02402, allocations: 0.5732 MB / 271.7 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.0244, allocations: 418 kB / 272.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.02442, allocations: 19.88 kB / 272.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.02455, allocations: 141.7 kB / 272.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.02514, allocations: 0.9359 MB / 273.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.02907, allocations: 1.584 MB / 274.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.02919, allocations: 199.6 kB / 275 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.02938, allocations: 101.3 kB / 275 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.0296, allocations: 167.3 kB / 275.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0296, allocations: 0 / 275.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.01072/0.04032, allocations: 8.543 MB / 283.8 MB, free: 6.57 MB / 282.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.1099655432626605]