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.000864/0.000864, allocations: 77.86 kB / 20.66 MB, free: 3.836 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.0008949/0.0008949, allocations: 165 kB / 24.06 MB, free: 452 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.9335/0.9335, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.005495/0.005495, allocations: 1.324 MB / 262.4 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.723e-06/1.723e-06, allocations: 0 / 332.5 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.991e-05, allocations: 2.312 kB / 332.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.006599/0.006629, allocations: 4.127 MB / 336.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.01047, allocations: 1.936 MB / 338.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.01113, allocations: 19.88 kB / 338.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.01171, allocations: 222.2 kB / 338.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.01218, allocations: 289.9 kB / 339.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.0127, allocations: 355.1 kB / 339.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.01327, allocations: 0.9074 MB / 340.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.01353, allocations: 209.2 kB / 340.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.01392, allocations: 498.8 kB / 341 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.01418, allocations: 267.1 kB / 341.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.01425, allocations: 84 kB / 341.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.01439, allocations: 139.9 kB / 341.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.01454, allocations: 279.1 kB / 341.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.01473, allocations: 295.1 kB / 342.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.01535, allocations: 0.7588 MB / 342.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01535, allocations: 0 / 342.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01535, allocations: 0 / 342.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01536, allocations: 0 / 342.8 MB, free: 8.531 MB / 314.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.001112/0.01647, allocations: 1.371 MB / 344.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.071e-05/0.01649, allocations: 8.031 kB / 344.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.0167, allocations: 164.1 kB / 344.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.01722, allocations: 0.62 MB / 345 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.01725, allocations: 49.69 kB / 345 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.0175, allocations: 56.33 kB / 345.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.01794, allocations: 470 kB / 345.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.01796, allocations: 7.922 kB / 345.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.01799, allocations: 27.94 kB / 345.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.018, allocations: 12 kB / 345.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.01821, allocations: 180.9 kB / 345.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.02002, allocations: 2.302 MB / 348.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.02032, allocations: 208.8 kB / 348.3 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.0204, allocations: 84.17 kB / 348.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.02042, allocations: 4.328 kB / 348.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.02059, allocations: 174.5 kB / 348.5 MB, free: 2.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.0206, allocations: 0 / 348.5 MB, free: 2.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001253/0.02185, allocations: 1.036 MB / 349.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.02189, allocations: 110.9 kB / 349.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.02246, allocations: 0.8778 MB / 350.6 MB, free: 464 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.02248, allocations: 33.7 kB / 350.6 MB, free: 424 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.02278, allocations: 0.5424 MB / 351.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.02288, allocations: 170.5 kB / 351.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.02298, allocations: 111.9 kB / 351.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.02312, allocations: 0.4965 MB / 351.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.02321, allocations: 70.25 kB / 352 MB, free: 15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.02368, allocations: 305.4 kB / 352.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.02396, allocations: 361.5 kB / 352.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02396, allocations: 0 / 352.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004044/0.02437, allocations: 444.7 kB / 353.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.02438, allocations: 11.94 kB / 353.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02438, allocations: 4 kB / 353.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.0244, allocations: 8 kB / 353.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.02464, allocations: 131.8 kB / 353.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02465, allocations: 11.98 kB / 353.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.02478, allocations: 16 kB / 353.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.0248, allocations: 20.31 kB / 353.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001533/0.02495, allocations: 196.1 kB / 353.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001615/0.02511, allocations: 305.5 kB / 353.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002482/0.02536, allocations: 357.7 kB / 354.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.02536, allocations: 4 kB / 354.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003612/0.02572, allocations: 428.5 kB / 354.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.02573, allocations: 11.98 kB / 354.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.02573, allocations: 4 kB / 354.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.02574, allocations: 8.562 kB / 354.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.02595, allocations: 135.8 kB / 354.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.02595, allocations: 7.984 kB / 354.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.02607, allocations: 20 kB / 354.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.02609, allocations: 16 kB / 354.7 MB, free: 11.88 MB / 330.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.0001144/0.0262, allocations: 311.8 kB / 355 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.02628, allocations: 103.4 kB / 355.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.02666, allocations: 358.6 kB / 355.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.02666, allocations: 3.984 kB / 355.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02667, allocations: 8 kB / 355.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.02681, allocations: 135.3 kB / 355.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.02686, allocations: 15.94 kB / 355.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.02695, allocations: 12 kB / 355.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.027, allocations: 32.44 kB / 355.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004619/0.02746, allocations: 0.5471 MB / 356.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005197/0.02798, allocations: 0.8194 MB / 357 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00011/0.02809, allocations: 120.5 kB / 357.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003005/0.02839, allocations: 0.5105 MB / 357.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of Backend: time 2.5e-07/0.02839, allocations: 0 / 357.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.02975, allocations: 0.7884 MB / 358.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of SimCode: time 0.002336/0.03209, allocations: 2.416 MB / 360.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of Templates: time 0.01329/0.04538, allocations: 11.39 MB / 372.3 MB, free: 10.56 MB / 346.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.8727810229174793]