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.0008541/0.0008541, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.000847/0.000847, allocations: 165 kB / 24.22 MB, free: 240 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 0.8499/0.8499, allocations: 177.1 MB / 204.7 MB, free: 5.438 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.01139/0.01139, allocations: 1.324 MB / 262.5 MB, free: 11.57 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.633e-06/1.633e-06, allocations: 0 / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.667e-05, allocations: 2.312 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.005074/0.005091, allocations: 4.17 MB / 283.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.007275, allocations: 1.993 MB / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.007505, allocations: 27.81 kB / 285.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.008026, allocations: 226.2 kB / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.008399, allocations: 278 kB / 286.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.008805, allocations: 347.1 kB / 286.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.009416, allocations: 0.9113 MB / 287.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.009666, allocations: 223.1 kB / 287.6 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.01008, allocations: 0.4911 MB / 288.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.01036, allocations: 259.1 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.01043, allocations: 88 kB / 288.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.01061, allocations: 143.9 kB / 288.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.01076, allocations: 279 kB / 288.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01093, allocations: 287.1 kB / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.01149, allocations: 0.7589 MB / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01149, allocations: 0 / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01149, allocations: 0 / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.0115, allocations: 0 / 289.9 MB, free: 108 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.09585/0.1074, allocations: 1.189 MB / 291.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1074, allocations: 9.656 kB / 291.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.1076, allocations: 124.4 kB / 291.2 MB, free: 23.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.1082, allocations: 0.5005 MB / 291.7 MB, free: 23.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.1083, allocations: 45.19 kB / 291.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.1083, allocations: 65.5 kB / 291.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1088, allocations: 468.2 kB / 292.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1089, allocations: 3.484 kB / 292.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.1089, allocations: 26.34 kB / 292.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.1089, allocations: 14.12 kB / 292.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.1092, allocations: 164.5 kB / 292.5 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.111, allocations: 1.698 MB / 294.2 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1113, allocations: 238.6 kB / 294.4 MB, free: 22.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.1114, allocations: 66.97 kB / 294.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1114, allocations: 12.69 kB / 294.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.1116, allocations: 175.2 kB / 294.7 MB, free: 21.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.1116, allocations: 0.8125 kB / 294.7 MB, free: 21.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001486/0.1131, allocations: 0.9565 MB / 295.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.1132, allocations: 109 kB / 295.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.1138, allocations: 0.7752 MB / 296.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1138, allocations: 36.58 kB / 296.5 MB, free: 21.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.114, allocations: 337.1 kB / 296.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.1141, allocations: 176.8 kB / 297 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1142, allocations: 102 kB / 297.1 MB, free: 21.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.1142, allocations: 331.1 kB / 297.5 MB, free: 20.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.1143, allocations: 62.66 kB / 297.5 MB, free: 20.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1145, allocations: 233.2 kB / 297.7 MB, free: 20.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1147, allocations: 316.7 kB / 298.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1147, allocations: 0.875 kB / 298.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004056/0.1151, allocations: 320.2 kB / 298.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1152, allocations: 7.094 kB / 298.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1152, allocations: 4.5 kB / 298.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1152, allocations: 9.078 kB / 298.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.1156, allocations: 161.3 kB / 298.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1156, allocations: 11.88 kB / 298.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1158, allocations: 19.16 kB / 298.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1158, allocations: 20.39 kB / 298.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001634/0.1159, allocations: 144.5 kB / 298.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000138/0.1161, allocations: 238.4 kB / 299 MB, free: 20.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000264/0.1164, allocations: 313.7 kB / 299.3 MB, free: 19.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.1164, allocations: 1.469 kB / 299.3 MB, free: 19.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003784/0.1167, allocations: 325.9 kB / 299.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.1167, allocations: 5.562 kB / 299.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1167, allocations: 6.766 kB / 299.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.1168, allocations: 7.125 kB / 299.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.1171, allocations: 146.7 kB / 299.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1171, allocations: 12.86 kB / 299.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1173, allocations: 23.19 kB / 299.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.1173, allocations: 23.88 kB / 299.8 MB, free: 19.79 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 7.431e-05/0.1174, allocations: 217.2 kB / 300 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.1174, allocations: 62.77 kB / 300.1 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.1178, allocations: 284.7 kB / 300.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1178, allocations: 5.969 kB / 300.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.1178, allocations: 1.219 kB / 300.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1178, allocations: 7.594 kB / 300.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1192, allocations: 0.8177 MB / 301.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1192, allocations: 1.5 kB / 301.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.1196, allocations: 123.2 kB / 301.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1196, allocations: 3.031 kB / 301.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1196, allocations: 10.14 kB / 301.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1196, allocations: 5.359 kB / 301.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1196, allocations: 6.953 kB / 301.4 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.12, allocations: 0.4931 MB / 301.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1202, allocations: 92.97 kB / 301.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.1203, allocations: 15.84 kB / 302 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1204, allocations: 16.17 kB / 302 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1205, allocations: 31.53 kB / 302 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1205, allocations: 13.7 kB / 302 MB, free: 18.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003721/0.1209, allocations: 407.3 kB / 302.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1209, allocations: 1.25 kB / 302.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.1214, allocations: 226.4 kB / 302.6 MB, free: 18.95 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.001118/0.1226, allocations: 0.532 MB / 303.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.1229, allocations: 402 kB / 303.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.123, allocations: 7.344 kB / 303.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1231, allocations: 126.3 kB / 303.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1234, allocations: 142.1 kB / 303.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1249, allocations: 1.57 MB / 305.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.125, allocations: 196.2 kB / 305.6 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.1252, allocations: 103.8 kB / 305.7 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1254, allocations: 169.2 kB / 305.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1254, allocations: 0 / 305.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of Templates: time 0.009245/0.1346, allocations: 8.498 MB / 314.4 MB, free: 10.2 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.666338451206684]