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.001409/0.001409, allocations: 80.88 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.001551/0.001551, 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 0.9828/0.9828, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.006505/0.006505, allocations: 1.332 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.473e-06/1.473e-06, allocations: 0 / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.355e-05, allocations: 2.312 kB / 278.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.004309/0.004333, allocations: 4.142 MB / 282.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.00736, allocations: 1.99 MB / 284.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.007801, allocations: 19.88 kB / 284.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.008431, allocations: 222.2 kB / 284.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.009046, allocations: 286 kB / 285.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/0.009949, allocations: 355.2 kB / 285.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008432/0.01079, allocations: 0.9113 MB / 286.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.01111, allocations: 223.1 kB / 286.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.01177, allocations: 498.9 kB / 287.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.01217, allocations: 259.2 kB / 287.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.01226, allocations: 88 kB / 287.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.01247, allocations: 139.9 kB / 287.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01264, allocations: 275 kB / 287.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.01286, allocations: 299.1 kB / 288.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.01363, allocations: 0.755 MB / 288.9 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01364, allocations: 0 / 288.9 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01364, allocations: 0 / 288.9 MB, free: 304 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.01365, allocations: 0 / 288.9 MB, free: 304 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.1242/0.1379, allocations: 1.187 MB / 290 MB, free: 21.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1379, allocations: 9.312 kB / 290 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.1383, allocations: 123.6 kB / 290.2 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.139, allocations: 0.5064 MB / 290.7 MB, free: 21.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.139, allocations: 44.75 kB / 290.7 MB, free: 21.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.1391, allocations: 62.88 kB / 290.8 MB, free: 21.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.1397, allocations: 469.4 kB / 291.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.1397, allocations: 2.109 kB / 291.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1398, allocations: 31.47 kB / 291.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1398, allocations: 13.56 kB / 291.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1401, allocations: 165.7 kB / 291.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.1422, allocations: 1.694 MB / 293.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1426, allocations: 236.6 kB / 293.4 MB, free: 20.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.1427, allocations: 64.08 kB / 293.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1427, allocations: 12.05 kB / 293.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1429, allocations: 171.5 kB / 293.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.936e-06/0.1429, allocations: 0.875 kB / 293.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001715/0.1446, allocations: 0.9579 MB / 294.6 MB, free: 20.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1447, allocations: 111.7 kB / 294.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.1454, allocations: 0.7808 MB / 295.5 MB, free: 19.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.1454, allocations: 36.97 kB / 295.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1456, allocations: 334.4 kB / 295.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.1457, allocations: 174.6 kB / 296 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1458, allocations: 104.4 kB / 296.1 MB, free: 19.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.1459, allocations: 332.3 kB / 296.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.146, allocations: 61.86 kB / 296.5 MB, free: 19.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1461, allocations: 232 kB / 296.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1464, allocations: 313.1 kB / 297 MB, free: 18.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1464, allocations: 2.594 kB / 297 MB, free: 18.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004735/0.1469, allocations: 320.5 kB / 297.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1469, allocations: 6.625 kB / 297.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1469, allocations: 7.484 kB / 297.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1469, allocations: 7.625 kB / 297.4 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1472, allocations: 128.3 kB / 297.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1472, allocations: 13.44 kB / 297.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1474, allocations: 20.17 kB / 297.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1474, allocations: 19.66 kB / 297.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001787/0.1476, allocations: 148.5 kB / 297.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001393/0.1478, allocations: 229 kB / 297.9 MB, free: 18.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002692/0.148, allocations: 316.2 kB / 298.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.148, allocations: 2.125 kB / 298.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004152/0.1484, allocations: 325 kB / 298.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1485, allocations: 6.703 kB / 298.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1485, allocations: 5.219 kB / 298.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1485, allocations: 10.94 kB / 298.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1487, allocations: 123.8 kB / 298.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1487, allocations: 11.33 kB / 298.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1489, allocations: 18.84 kB / 298.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1489, allocations: 18.48 kB / 298.7 MB, free: 18.32 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.0001116/0.149, allocations: 220.3 kB / 298.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.1491, allocations: 66.95 kB / 299 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1494, allocations: 286.9 kB / 299.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1495, allocations: 9.406 kB / 299.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1495, allocations: 1.922 kB / 299.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1495, allocations: 2.062 kB / 299.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1505, allocations: 0.8152 MB / 300.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1505, allocations: 5.812 kB / 300.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.1508, allocations: 97.88 kB / 300.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1508, allocations: 4.812 kB / 300.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1508, allocations: 15.12 kB / 300.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1508, allocations: 8.297 kB / 300.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1508, allocations: 1.25 kB / 300.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.1513, allocations: 498.5 kB / 300.7 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1514, allocations: 93.34 kB / 300.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.1515, allocations: 18.06 kB / 300.8 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1516, allocations: 12.73 kB / 300.8 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.1517, allocations: 32.72 kB / 300.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.1517, allocations: 15.14 kB / 300.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003975/0.1521, allocations: 410.6 kB / 301.3 MB, free: 17.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1521, allocations: 2.953 kB / 301.3 MB, free: 17.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005746/0.1527, allocations: 238.1 kB / 301.5 MB, free: 17.47 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.001241/0.1539, allocations: 0.5065 MB / 302 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1545, allocations: 404.2 kB / 302.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/0.1545, allocations: 8.281 kB / 302.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1546, allocations: 126.2 kB / 302.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.1552, allocations: 147.9 kB / 302.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.1574, allocations: 1.556 MB / 304.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.1575, allocations: 198.6 kB / 304.5 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.1578, allocations: 103.7 kB / 304.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.158, allocations: 171.5 kB / 304.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.158, allocations: 0 / 304.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01068/0.1687, allocations: 8.382 MB / 313.1 MB, free: 9.039 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.440148977097124]