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.002444/0.002444, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.003336/0.003336, allocations: 207.9 kB / 22.25 MB, free: 3.57 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 1.781/1.781, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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.01459/0.01459, allocations: 1.75 MB / 314.2 MB, free: 156 kB / 234.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: BikeTrailer requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003577/0.003577, allocations: 73.86 kB / 437.3 MB, free: 46.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.1017, allocations: 53.8 MB / 491.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.009054/0.1108, allocations: 3.913 MB / 495 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1165, allocations: 1.885 MB / 496.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.1176, allocations: 27.81 kB / 496.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1187, allocations: 226.3 kB / 497.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.1196, allocations: 274.2 kB / 497.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.1206, allocations: 351.3 kB / 497.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.1218, allocations: 0.8805 MB / 498.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.1223, allocations: 209.2 kB / 498.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.1229, allocations: 350.7 kB / 499.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.1234, allocations: 298.4 kB / 499.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1235, allocations: 88 kB / 499.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1239, allocations: 140 kB / 499.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.1243, allocations: 271.1 kB / 500 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.1247, allocations: 369.9 kB / 0.4886 GB, free: 0.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1263, allocations: 1.202 MB / 0.4898 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1263, allocations: 4 kB / 0.4898 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1263, allocations: 0 / 0.4898 GB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1264, allocations: 0 / 0.4898 GB, free: 15.29 MB / 362.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.00232/0.1287, allocations: 1.247 MB / 0.491 GB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1287, allocations: 11.97 kB / 0.491 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.129, allocations: 120.2 kB / 0.4911 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1302, allocations: 0.6818 MB / 0.4918 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.1302, allocations: 41.69 kB / 0.4918 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1304, allocations: 64.08 kB / 0.4919 GB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1316, allocations: 0.6209 MB / 0.4925 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.1316, allocations: 4 kB / 0.4925 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.1316, allocations: 28 kB / 0.4925 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1317, allocations: 12 kB / 0.4926 GB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/0.1325, allocations: 432.9 kB / 0.493 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.1361, allocations: 2.124 MB / 0.495 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/0.1371, allocations: 348.2 kB / 0.4954 GB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1374, allocations: 153.4 kB / 0.4955 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1374, allocations: 8.266 kB / 0.4955 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.1379, allocations: 251.2 kB / 0.4958 GB, free: 8.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/0.1379, allocations: 0 / 0.4958 GB, free: 8.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003679/0.1416, allocations: 1.77 MB / 0.4975 GB, free: 7.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1417, allocations: 110.8 kB / 0.4976 GB, free: 7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.1432, allocations: 1.115 MB / 0.4987 GB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.1433, allocations: 37.7 kB / 0.4987 GB, free: 5.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.1437, allocations: 464.7 kB / 0.4992 GB, free: 5.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1439, allocations: 174.5 kB / 0.4993 GB, free: 5.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1441, allocations: 98.3 kB / 0.4994 GB, free: 5.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1443, allocations: 333.9 kB / 0.4997 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.1446, allocations: 179.4 kB / 0.4999 GB, free: 4.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1451, allocations: 328.5 kB / 0.5002 GB, free: 4.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.146, allocations: 495.2 kB / 0.5007 GB, free: 3.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.146, allocations: 4 kB / 0.5007 GB, free: 3.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001114/0.1471, allocations: 0.5942 MB / 0.5013 GB, free: 3.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1471, allocations: 8 kB / 0.5013 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.1471, allocations: 4.5 kB / 0.5013 GB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1472, allocations: 4.062 kB / 0.5013 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.1477, allocations: 143.8 kB / 0.5014 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.1477, allocations: 7.938 kB / 0.5014 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.148, allocations: 27.92 kB / 0.5015 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.148, allocations: 24 kB / 0.5015 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006464/0.1487, allocations: 401.3 kB / 0.5019 GB, free: 2.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005489/0.1492, allocations: 324.5 kB / 0.5022 GB, free: 2.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000772/0.15, allocations: 475.5 kB / 0.5026 GB, free: 1.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.15, allocations: 0 / 0.5026 GB, free: 1.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009839/0.151, allocations: 0.5673 MB / 0.5032 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.151, allocations: 12.09 kB / 0.5032 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.151, allocations: 4 kB / 0.5032 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.151, allocations: 11.98 kB / 0.5032 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.1515, allocations: 123.8 kB / 0.5033 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1515, allocations: 11.94 kB / 0.5034 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1517, allocations: 16 kB / 0.5034 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1518, allocations: 24 kB / 0.5034 GB, free: 0.7773 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (67): * Single equations (assignments): 67 * 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.0002205/0.152, allocations: 224 kB / 0.5036 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1521, allocations: 91.39 kB / 0.5037 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.1533, allocations: 0.5283 MB / 0.5042 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1533, allocations: 7.938 kB / 0.5042 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1533, allocations: 4 kB / 0.5042 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1533, allocations: 3.984 kB / 0.5042 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.1558, allocations: 1.246 MB / 0.5054 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1558, allocations: 0 / 0.5054 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.1563, allocations: 111.8 kB / 0.5055 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1563, allocations: 0 / 0.5055 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.1564, allocations: 16 kB / 0.5056 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1564, allocations: 0 / 0.5056 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.1564, allocations: 12 kB / 0.5056 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1578, allocations: 0.8358 MB / 0.5064 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.1581, allocations: 151.3 kB / 0.5065 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.1582, allocations: 8 kB / 0.5065 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1585, allocations: 19.98 kB / 0.5066 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.1586, allocations: 32.33 kB / 0.5066 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.1586, allocations: 19.98 kB / 0.5066 GB, free: 13.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.1597, allocations: 0.7997 MB / 0.5074 GB, free: 12.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1597, allocations: 3.938 kB / 0.5074 GB, free: 12.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008679/0.1606, allocations: 224 kB / 0.5076 GB, free: 12.37 MB / 378.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.002863/0.1634, allocations: 452.6 kB / 0.508 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.1649, allocations: 0.6326 MB / 0.5087 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1649, allocations: 4.062 kB / 0.5087 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.1653, allocations: 202.4 kB / 0.5089 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.1661, allocations: 132.9 kB / 0.509 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1698, allocations: 1.967 MB / 0.5109 GB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.1703, allocations: 433.6 kB / 0.5113 GB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004332/0.1707, allocations: 133.1 kB / 0.5114 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1709, allocations: 51.44 kB / 0.5115 GB, free: 8.496 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1709, allocations: 0 / 0.5115 GB, free: 8.496 MB / 378.7 MB Notification: Performance of Templates: time 0.01926/0.1902, allocations: 8.637 MB / 0.5199 GB, free: 15.96 MB / 394.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: 6.853877048008144]