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.001802/0.001802, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.002401/0.002401, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.006286/0.006286, allocations: 1.33 MB / 261.6 MB, free: 11.61 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.764e-06/1.764e-06, allocations: 0 / 278.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.458e-05, allocations: 2.312 kB / 278.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.00444/0.004465, allocations: 4.177 MB / 282.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.007248, allocations: 1.99 MB / 284.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.007586, allocations: 23.81 kB / 284.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.008186, allocations: 234.2 kB / 284.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.008653, allocations: 282 kB / 285.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.009161, allocations: 351.1 kB / 285.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.009848, allocations: 0.9035 MB / 286.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.01013, allocations: 227.1 kB / 286.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.0106, allocations: 498.9 kB / 287.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.01092, allocations: 263.1 kB / 287.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.277e-05/0.01099, allocations: 88 kB / 287.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.01117, allocations: 139.9 kB / 287.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01132, allocations: 279.1 kB / 287.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01151, allocations: 291.1 kB / 288.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.01223, allocations: 0.755 MB / 288.9 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01223, allocations: 0 / 288.9 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01223, allocations: 0 / 288.9 MB, free: 204 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.01224, allocations: 0 / 288.9 MB, free: 204 kB / 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.12/0.1323, allocations: 1.191 MB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1323, allocations: 8.281 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.1326, allocations: 124.5 kB / 290.3 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.1333, allocations: 0.5046 MB / 290.8 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.1333, allocations: 42.7 kB / 290.8 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.1334, allocations: 63.84 kB / 290.9 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.1339, allocations: 469.5 kB / 291.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.134, allocations: 3.922 kB / 291.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.134, allocations: 27.84 kB / 291.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.134, allocations: 15.36 kB / 291.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1343, allocations: 162.2 kB / 291.5 MB, free: 23.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1362, allocations: 1.693 MB / 293.2 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1365, allocations: 234.3 kB / 293.5 MB, free: 22.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1367, allocations: 69.84 kB / 293.5 MB, free: 22.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1367, allocations: 9.062 kB / 293.5 MB, free: 22.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.1369, allocations: 174.1 kB / 293.7 MB, free: 22.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.1369, allocations: 0 / 293.7 MB, free: 22.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001542/0.1385, allocations: 0.9619 MB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1385, allocations: 109.2 kB / 294.8 MB, free: 22.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.1392, allocations: 0.7768 MB / 295.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1392, allocations: 37.88 kB / 295.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1394, allocations: 333.7 kB / 295.9 MB, free: 21.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.1395, allocations: 175.3 kB / 296.1 MB, free: 21.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1396, allocations: 106.2 kB / 296.2 MB, free: 21.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.1396, allocations: 326.5 kB / 296.5 MB, free: 21.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.1397, allocations: 62.61 kB / 296.6 MB, free: 21.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1399, allocations: 234.6 kB / 296.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.1402, allocations: 313.3 kB / 297.1 MB, free: 20.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1402, allocations: 1.031 kB / 297.1 MB, free: 20.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005104/0.1407, allocations: 326.3 kB / 297.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.1407, allocations: 7.641 kB / 297.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1408, allocations: 6.156 kB / 297.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1408, allocations: 6.75 kB / 297.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.1412, allocations: 153.7 kB / 297.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1412, allocations: 8.75 kB / 297.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.1414, allocations: 22.55 kB / 297.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1414, allocations: 18.52 kB / 297.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001761/0.1416, allocations: 145.9 kB / 297.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001424/0.1417, allocations: 236.5 kB / 298 MB, free: 20.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002601/0.142, allocations: 316.8 kB / 298.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.142, allocations: 1.344 kB / 298.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003763/0.1424, allocations: 325.4 kB / 298.6 MB, free: 20.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1424, allocations: 6.594 kB / 298.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1424, allocations: 7.906 kB / 298.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.1424, allocations: 7.938 kB / 298.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1427, allocations: 152.1 kB / 298.8 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1427, allocations: 12.69 kB / 298.8 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1428, allocations: 20.09 kB / 298.8 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1429, allocations: 23.56 kB / 298.9 MB, free: 20.39 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.191e-05/0.143, allocations: 215.1 kB / 299.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.143, allocations: 68.58 kB / 299.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.1434, allocations: 278.9 kB / 299.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1434, allocations: 5.469 kB / 299.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1434, allocations: 4 kB / 299.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1434, allocations: 7.531 kB / 299.4 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1444, allocations: 0.8181 MB / 300.3 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1444, allocations: 2.328 kB / 300.3 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.1447, allocations: 127.5 kB / 300.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1447, allocations: 2.969 kB / 300.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1447, allocations: 15.03 kB / 300.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1447, allocations: 7.125 kB / 300.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1447, allocations: 3.922 kB / 300.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.1452, allocations: 495.8 kB / 300.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1453, allocations: 90.45 kB / 301 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.1454, allocations: 16.38 kB / 301 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1455, allocations: 16.5 kB / 301 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.1456, allocations: 34.62 kB / 301 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.1456, allocations: 12.3 kB / 301.1 MB, free: 19.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003751/0.146, allocations: 407.9 kB / 301.5 MB, free: 19.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.146, allocations: 0 / 301.5 MB, free: 19.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005132/0.1465, allocations: 239.2 kB / 301.7 MB, free: 19.54 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.00115/0.1476, allocations: 0.5124 MB / 302.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.1481, allocations: 403.4 kB / 302.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/0.1481, allocations: 8.5 kB / 302.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1482, allocations: 127.4 kB / 302.7 MB, free: 19.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1487, allocations: 152.2 kB / 302.9 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1508, allocations: 1.556 MB / 304.4 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.1509, allocations: 198.1 kB / 304.6 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.1512, allocations: 103.2 kB / 304.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.1514, allocations: 171 kB / 304.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1514, allocations: 0 / 304.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01234/0.1638, allocations: 8.491 MB / 313.4 MB, free: 10.45 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1032748450525105]