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.0007233/0.0007233, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001853, allocations: 435.8 kB / 10.33 MB, free: 368 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.001102/0.001102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002492, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0803/0.9959, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.004945/0.004945, allocations: 1.317 MB / 245.3 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.006058, allocations: 0.8424 MB / 246.1 MB, free: 12.71 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.332e-06/1.332e-06, allocations: 0 / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.834e-06/9.166e-06, allocations: 6.312 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.003623/0.003632, allocations: 4.19 MB / 251.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.005774, allocations: 2.02 MB / 253.6 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.005978, allocations: 23.81 kB / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.006394, allocations: 218.3 kB / 253.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.006746, allocations: 285.9 kB / 254.1 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.007123, allocations: 351.1 kB / 254.5 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.007945, allocations: 0.9036 MB / 255.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.00819, allocations: 219.1 kB / 255.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.008646, allocations: 0.578 MB / 256.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.008901, allocations: 263.2 kB / 256.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.008969, allocations: 84 kB / 256.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.009136, allocations: 147.8 kB / 256.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.009266, allocations: 231.2 kB / 256.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.009434, allocations: 239.4 kB / 257.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.009977, allocations: 0.72 MB / 257.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.009988, allocations: 0 / 257.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.009989, allocations: 0 / 257.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.01, allocations: 0 / 257.8 MB, free: 0.9727 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.00113/0.01113, allocations: 1.374 MB / 259.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.655e-05/0.01116, allocations: 11.98 kB / 259.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.01136, allocations: 197.9 kB / 259.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.01182, allocations: 0.5132 MB / 259.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.01185, allocations: 37.69 kB / 259.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.0119, allocations: 64.33 kB / 260 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.01231, allocations: 463.8 kB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01233, allocations: 7.938 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.01236, allocations: 24 kB / 260.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01236, allocations: 12 kB / 260.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.01256, allocations: 167.8 kB / 260.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01401, allocations: 1.708 MB / 262.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.01428, allocations: 237.7 kB / 262.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.603e-05/0.01435, allocations: 69.47 kB / 262.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.01437, allocations: 8.328 kB / 262.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.01454, allocations: 169.9 kB / 262.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.01455, allocations: 4 kB / 262.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001192/0.01574, allocations: 0.9597 MB / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.01577, allocations: 88.86 kB / 263.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.01625, allocations: 0.7748 MB / 264.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01628, allocations: 29.7 kB / 264.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.01647, allocations: 338.5 kB / 265 MB, free: 9.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.01657, allocations: 178.5 kB / 265.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01668, allocations: 98.33 kB / 265.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.01676, allocations: 333.9 kB / 265.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.01685, allocations: 58.3 kB / 265.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01702, allocations: 234.1 kB / 265.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.01731, allocations: 318.5 kB / 266.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01732, allocations: 8 kB / 266.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003853/0.0177, allocations: 319.8 kB / 266.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01771, allocations: 11.53 kB / 266.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01772, allocations: 8 kB / 266.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01774, allocations: 8 kB / 266.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.01814, allocations: 159.8 kB / 266.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.01815, allocations: 11.94 kB / 266.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01833, allocations: 27.98 kB / 266.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.01835, allocations: 16 kB / 266.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001728/0.01852, allocations: 147 kB / 266.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001602/0.01868, allocations: 238.1 kB / 267.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000278/0.01896, allocations: 299.9 kB / 267.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.01896, allocations: 0 / 267.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003703/0.01934, allocations: 331.9 kB / 267.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.01934, allocations: 4 kB / 267.8 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01935, allocations: 4 kB / 267.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/0.01935, allocations: 8 kB / 267.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.01971, allocations: 162.2 kB / 267.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01972, allocations: 12.41 kB / 268 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.01989, allocations: 31.88 kB / 268 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.01991, allocations: 20 kB / 268 MB, free: 6.156 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 0.0001058/0.02002, allocations: 216.1 kB / 268.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.02009, allocations: 63.94 kB / 268.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.02045, allocations: 279.7 kB / 268.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02045, allocations: 7.938 kB / 268.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02046, allocations: 3.938 kB / 268.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.02046, allocations: 3.984 kB / 268.6 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.02145, allocations: 0.8177 MB / 269.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.02145, allocations: 0 / 269.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.02182, allocations: 131.9 kB / 269.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.02197, allocations: 103.3 kB / 269.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02198, allocations: 4 kB / 269.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.022, allocations: 12 kB / 269.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.022, allocations: 7.938 kB / 269.6 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02201, allocations: 4.094 kB / 269.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.02247, allocations: 494.2 kB / 270.1 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.02254, allocations: 12 kB / 270.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.02271, allocations: 23.92 kB / 270.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.02276, allocations: 36.38 kB / 270.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.02278, allocations: 12 kB / 270.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003797/0.02316, allocations: 403.3 kB / 270.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02316, allocations: 0 / 270.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005657/0.02373, allocations: 239.9 kB / 270.8 MB, free: 3.246 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.001336/0.02506, allocations: 0.5578 MB / 271.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.02555, allocations: 396.8 kB / 271.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/0.02557, allocations: 19.94 kB / 271.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.02571, allocations: 120.6 kB / 271.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.02621, allocations: 191.4 kB / 272.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.03166, allocations: 1.588 MB / 273.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.03182, allocations: 203.6 kB / 273.9 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.0321, allocations: 97.31 kB / 274 MB, free: 288 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.03237, allocations: 179.2 kB / 274.2 MB, free: 108 kB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03237, allocations: 0 / 274.2 MB, free: 108 kB / 266.7 MB Notification: Performance of Templates: time 0.1156/0.1479, allocations: 8.684 MB / 282.9 MB, free: 17.98 MB / 266.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.3494785726070404]