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.001269/0.001269, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009629/0.0009629, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9359/0.9359, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.005643/0.005643, allocations: 1.316 MB / 262.4 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.543e-06/1.543e-06, allocations: 0 / 332.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.158e-05, allocations: 2.312 kB / 332.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.004637/0.004659, allocations: 4.119 MB / 336.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.007435, allocations: 1.943 MB / 338.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.007821, allocations: 19.88 kB / 338.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.008488, allocations: 218.2 kB / 338.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.008927, allocations: 286 kB / 339.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.009401, allocations: 355.1 kB / 339.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.01009, allocations: 0.9113 MB / 340.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.01035, allocations: 205.2 kB / 340.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.01076, allocations: 0.4988 MB / 341 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.01108, allocations: 263.1 kB / 341.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/0.01117, allocations: 84 kB / 341.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.01136, allocations: 139.9 kB / 341.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.01154, allocations: 275.1 kB / 341.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.01178, allocations: 291.1 kB / 342 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.01264, allocations: 0.7627 MB / 342.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01264, allocations: 0 / 342.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01264, allocations: 0 / 342.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.01265, allocations: 0 / 342.8 MB, free: 8.551 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.00144/0.01409, allocations: 1.359 MB / 344.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.01412, allocations: 12.03 kB / 344.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.01439, allocations: 172.1 kB / 344.4 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.01505, allocations: 0.6161 MB / 345 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.01509, allocations: 41.69 kB / 345 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.01516, allocations: 68.31 kB / 345.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.01572, allocations: 470 kB / 345.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.01574, allocations: 3.938 kB / 345.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.01579, allocations: 31.94 kB / 345.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.0158, allocations: 12 kB / 345.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.01635, allocations: 180.9 kB / 345.8 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.01864, allocations: 2.306 MB / 348.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.019, allocations: 200.8 kB / 348.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01911, allocations: 84.16 kB / 348.3 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.01913, allocations: 4.328 kB / 348.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.01935, allocations: 182.5 kB / 348.5 MB, free: 2.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.433e-06/0.01935, allocations: 0 / 348.5 MB, free: 2.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001552/0.0209, allocations: 1.032 MB / 349.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.02095, allocations: 106.8 kB / 349.7 MB, free: 1.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.02169, allocations: 0.8739 MB / 350.5 MB, free: 492 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.02172, allocations: 37.7 kB / 350.6 MB, free: 448 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.02207, allocations: 0.5424 MB / 351.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.02218, allocations: 170.5 kB / 351.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.02231, allocations: 116 kB / 351.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.02244, allocations: 0.5004 MB / 351.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.02254, allocations: 66.25 kB / 352 MB, free: 15.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.02276, allocations: 305.3 kB / 352.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.02336, allocations: 357.5 kB / 352.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02337, allocations: 0 / 352.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005319/0.0239, allocations: 444.4 kB / 353 MB, free: 13.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.02392, allocations: 16.48 kB / 353.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.02392, allocations: 4 kB / 353.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.02394, allocations: 12.06 kB / 353.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.02426, allocations: 135.8 kB / 353.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.02427, allocations: 8 kB / 353.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.02446, allocations: 16 kB / 353.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.02448, allocations: 23.98 kB / 353.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002027/0.02469, allocations: 196.1 kB / 353.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002055/0.02489, allocations: 301.5 kB / 353.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003234/0.02522, allocations: 361.7 kB / 354.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.02522, allocations: 4 kB / 354.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0005468/0.02577, allocations: 432.8 kB / 354.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.02577, allocations: 8 kB / 354.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.02578, allocations: 4 kB / 354.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/0.02579, allocations: 8 kB / 354.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.02608, allocations: 131.8 kB / 354.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.02609, allocations: 4 kB / 354.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.02627, allocations: 23.98 kB / 354.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.02629, allocations: 20.25 kB / 354.7 MB, free: 11.9 MB / 330.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.0001259/0.02642, allocations: 308.7 kB / 355 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.02652, allocations: 107.4 kB / 355.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.027, allocations: 350.6 kB / 355.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.027, allocations: 4 kB / 355.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.027, allocations: 4 kB / 355.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.02701, allocations: 7.922 kB / 355.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.02816, allocations: 1.005 MB / 356.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02816, allocations: 0 / 356.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.02845, allocations: 107.8 kB / 356.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.02846, allocations: 4 kB / 356.6 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.02848, allocations: 12 kB / 356.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.02848, allocations: 4 kB / 356.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02849, allocations: 4.062 kB / 356.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.0291, allocations: 0.611 MB / 357.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.02927, allocations: 131.3 kB / 357.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.02934, allocations: 20.02 kB / 357.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.02951, allocations: 16 kB / 357.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.02956, allocations: 32.44 kB / 357.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.02959, allocations: 19.92 kB / 357.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.03, allocations: 0.5105 MB / 357.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03, allocations: 0 / 357.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.03064, allocations: 235.9 kB / 358.2 MB, free: 8.336 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.0009209/0.03156, allocations: 406.4 kB / 358.6 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.0321, allocations: 422 kB / 359 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.0321, allocations: 4 kB / 359 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.03226, allocations: 131.4 kB / 359.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.03281, allocations: 150.3 kB / 359.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.03525, allocations: 1.63 MB / 360.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.0354, allocations: 191.7 kB / 361.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.03567, allocations: 97.3 kB / 361.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.03595, allocations: 202.1 kB / 361.4 MB, free: 5.195 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03595, allocations: 0 / 361.4 MB, free: 5.195 MB / 330.7 MB Notification: Performance of Templates: time 0.0133/0.04925, allocations: 8.561 MB / 369.9 MB, free: 12.72 MB / 346.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.864291359204799]