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.0009643/0.0009643, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001122/0.001122, allocations: 169 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 1.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.005766/0.005766, allocations: 1.318 MB / 262.4 MB, free: 11.58 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.362e-06/1.362e-06, allocations: 0 / 331.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.456e-05, allocations: 6.25 kB / 331.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.004606/0.00463, allocations: 4.125 MB / 335.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.007436, allocations: 1.932 MB / 337.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.007872, allocations: 19.88 kB / 337.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.008542, allocations: 222.3 kB / 338 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006352/0.009177, allocations: 290 kB / 338.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.009786, allocations: 355.1 kB / 338.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.01066, allocations: 0.9035 MB / 339.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.01098, allocations: 213.2 kB / 339.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.01163, allocations: 0.4911 MB / 340.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.01198, allocations: 267.1 kB / 340.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.01207, allocations: 88 kB / 340.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.01226, allocations: 135.9 kB / 340.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.01242, allocations: 283 kB / 341 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.01263, allocations: 283.2 kB / 341.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.01336, allocations: 0.7628 MB / 342 MB, free: 9.328 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01336, allocations: 3.938 kB / 342 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01336, allocations: 0 / 342 MB, free: 9.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.01337, allocations: 0 / 342 MB, free: 9.324 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.00139/0.01476, allocations: 1.359 MB / 343.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.0148, allocations: 12.03 kB / 343.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.01505, allocations: 164.2 kB / 343.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.01562, allocations: 0.62 MB / 344.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.01565, allocations: 45.69 kB / 344.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.01571, allocations: 56.33 kB / 344.3 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.01619, allocations: 477.9 kB / 344.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.01621, allocations: 3.938 kB / 344.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.01624, allocations: 24 kB / 344.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.01625, allocations: 12 kB / 344.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.01647, allocations: 184.9 kB / 344.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01844, allocations: 2.306 MB / 347.3 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.01876, allocations: 212.8 kB / 347.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.01884, allocations: 76.19 kB / 347.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.01886, allocations: 8.312 kB / 347.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.01904, allocations: 178.5 kB / 347.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.573e-06/0.01904, allocations: 0 / 347.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001305/0.02035, allocations: 1.036 MB / 348.8 MB, free: 2.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.0204, allocations: 106.8 kB / 348.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.021, allocations: 0.8739 MB / 349.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.02103, allocations: 33.7 kB / 349.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.02132, allocations: 0.5461 MB / 350.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.02141, allocations: 170.5 kB / 350.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02152, allocations: 107.9 kB / 350.6 MB, free: 392 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02164, allocations: 0.5043 MB / 351.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.02172, allocations: 66.25 kB / 351.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.0219, allocations: 301.5 kB / 351.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.02218, allocations: 365.6 kB / 351.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02218, allocations: 0 / 351.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004353/0.02262, allocations: 444.4 kB / 352.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02263, allocations: 8 kB / 352.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.02264, allocations: 11.88 kB / 352.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.02265, allocations: 8 kB / 352.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.02291, allocations: 128.4 kB / 352.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.02292, allocations: 12 kB / 352.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.02305, allocations: 23.98 kB / 352.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.02307, allocations: 20 kB / 352.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001662/0.02324, allocations: 192.1 kB / 352.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001711/0.02341, allocations: 305.5 kB / 352.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002658/0.02368, allocations: 357.7 kB / 353.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.02368, allocations: 8 kB / 353.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003987/0.02408, allocations: 433 kB / 353.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.02408, allocations: 8 kB / 353.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.02409, allocations: 8.031 kB / 353.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.02409, allocations: 8 kB / 353.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.02433, allocations: 131.8 kB / 353.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.02433, allocations: 4 kB / 353.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.02446, allocations: 23.98 kB / 353.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.02448, allocations: 16 kB / 353.9 MB, free: 12.68 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.02461, allocations: 308.6 kB / 354.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.02472, allocations: 103.4 kB / 354.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.02509, allocations: 358.6 kB / 354.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.0251, allocations: 4 kB / 354.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.0251, allocations: 4 kB / 354.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.02511, allocations: 3.984 kB / 354.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.02611, allocations: 1.001 MB / 355.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02611, allocations: 0 / 355.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.02634, allocations: 103.8 kB / 355.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02634, allocations: 8.031 kB / 355.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.02636, allocations: 16 kB / 355.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.02636, allocations: 4 kB / 355.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.02637, allocations: 3.984 kB / 355.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.02686, allocations: 0.6033 MB / 356.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.027, allocations: 139.2 kB / 356.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.02705, allocations: 16 kB / 356.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.02717, allocations: 19.94 kB / 356.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.02722, allocations: 32.44 kB / 356.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.02724, allocations: 15.98 kB / 356.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004413/0.02768, allocations: 0.5105 MB / 357.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02768, allocations: 0 / 357.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.02817, allocations: 232 kB / 357.4 MB, free: 9.121 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.0008042/0.02898, allocations: 407.5 kB / 357.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.02942, allocations: 423.5 kB / 358.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02943, allocations: 8.062 kB / 358.2 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.02955, allocations: 131.4 kB / 358.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.02998, allocations: 140.2 kB / 358.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.03204, allocations: 1.683 MB / 360.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.03233, allocations: 417.8 kB / 360.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.03285, allocations: 206.1 kB / 360.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.03285, allocations: 4 kB / 360.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of Templates: time 0.01152/0.04438, allocations: 10.97 MB / 371.7 MB, free: 10.83 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 > BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.638175316154957]