Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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.0009398/0.0009398, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.0009582/0.0009582, allocations: 173 kB / 23.28 MB, free: 1.227 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.9833/0.9833, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo): time 0.005436/0.005436, allocations: 1.014 MB / 261.3 MB, free: 11.91 MB / 250.7 MB " [Timeout remaining time 180] Using package Credibility with version 0.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 331.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.43e-05, allocations: 2.312 kB / 331.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.003912/0.003927, allocations: 4.069 MB / 335.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.006854, allocations: 2.651 MB / 338 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.007108, allocations: 23.88 kB / 338 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.008614, allocations: 1.117 MB / 339.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.009107, allocations: 465.7 kB / 339.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.009526, allocations: 327.2 kB / 339.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.01013, allocations: 0.892 MB / 340.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.01035, allocations: 151.4 kB / 341 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.01073, allocations: 498.7 kB / 341.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.01106, allocations: 419.3 kB / 341.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.01113, allocations: 56 kB / 341.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.01128, allocations: 115.9 kB / 342 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.01148, allocations: 356.4 kB / 342.4 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01165, allocations: 263 kB / 342.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.01231, allocations: 0.7858 MB / 343.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01231, allocations: 4 kB / 343.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01231, allocations: 0 / 343.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.01232, allocations: 0 / 343.4 MB, free: 7.203 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001348/0.01367, allocations: 1.593 MB / 345 MB, free: 5.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.0137, allocations: 8.031 kB / 345 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.01383, allocations: 175.4 kB / 345.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.01439, allocations: 0.6705 MB / 345.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.01442, allocations: 29 kB / 345.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.01447, allocations: 43.98 kB / 345.9 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.01494, allocations: 441.9 kB / 346.4 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01496, allocations: 3.953 kB / 346.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.01498, allocations: 20 kB / 346.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01499, allocations: 12 kB / 346.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.01517, allocations: 150.8 kB / 346.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01669, allocations: 1.945 MB / 348.5 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.017, allocations: 229.4 kB / 348.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.0171, allocations: 79.64 kB / 348.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.01713, allocations: 8 kB / 348.8 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.01715, allocations: 45.33 kB / 348.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.01715, allocations: 0 / 348.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001029/0.01818, allocations: 0.879 MB / 349.7 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.01835, allocations: 110.8 kB / 349.8 MB, free: 484 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.01934, allocations: 1.425 MB / 351.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.01936, allocations: 37.7 kB / 351.3 MB, free: 15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.01971, allocations: 0.6166 MB / 351.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.01979, allocations: 170.6 kB / 352.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.02003, allocations: 308.2 kB / 352.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.02017, allocations: 0.5432 MB / 352.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.02033, allocations: 140.8 kB / 353.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.02059, allocations: 385.8 kB / 353.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.02093, allocations: 420.8 kB / 353.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.02094, allocations: 4 kB / 353.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0007145/0.02165, allocations: 0.7459 MB / 354.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.02166, allocations: 4 kB / 354.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02167, allocations: 4 kB / 354.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.02178, allocations: 39.66 kB / 354.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.02235, allocations: 307.5 kB / 354.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.02346, allocations: 2.626 MB / 357.6 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.02368, allocations: 47.97 kB / 357.6 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.02372, allocations: 28 kB / 357.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002545/0.02398, allocations: 277.4 kB / 357.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002594/0.02424, allocations: 385.8 kB / 358.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003442/0.02458, allocations: 421 kB / 358.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.02458, allocations: 0 / 358.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0006787/0.02526, allocations: 0.7417 MB / 359.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-06/0.02527, allocations: 4 kB / 359.4 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.02527, allocations: 4 kB / 359.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.088e-05/0.02536, allocations: 39.92 kB / 359.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.02579, allocations: 251.6 kB / 359.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/0.02602, allocations: 0.7961 MB / 360.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.02623, allocations: 47.92 kB / 360.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.02626, allocations: 32.05 kB / 360.6 MB, free: 5.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (speedController.I.local_reset,integrator.local_reset,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.0264, allocations: 319.8 kB / 360.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.0265, allocations: 131.2 kB / 361 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.02679, allocations: 281 kB / 361.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02679, allocations: 4 kB / 361.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.0268, allocations: 0 / 361.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.0268, allocations: 3.938 kB / 361.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.02772, allocations: 0.9666 MB / 362.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.02773, allocations: 0 / 362.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.02795, allocations: 95.88 kB / 362.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.02796, allocations: 3.938 kB / 362.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02797, allocations: 8 kB / 362.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02798, allocations: 11.98 kB / 362.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02798, allocations: 3.938 kB / 362.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.02839, allocations: 0.5581 MB / 363 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.02858, allocations: 183 kB / 363.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.02863, allocations: 11.94 kB / 363.2 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.02879, allocations: 19.98 kB / 363.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.02884, allocations: 39.88 kB / 363.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.02885, allocations: 4 kB / 363.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00049/0.02934, allocations: 0.7148 MB / 363.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02934, allocations: 0 / 363.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.03003, allocations: 368 kB / 364.3 MB, free: 1.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.0007001/0.03073, allocations: 353 kB / 364.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008978/0.03163, allocations: 0.8519 MB / 365.5 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03163, allocations: 0 / 365.5 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.03173, allocations: 95.5 kB / 365.6 MB, free: 256 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.03235, allocations: 212.3 kB / 365.8 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.03434, allocations: 1.968 MB / 367.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.03451, allocations: 259.1 kB / 368 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.03474, allocations: 97.28 kB / 368.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.03502, allocations: 218.1 kB / 368.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03503, allocations: 4 kB / 368.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Templates: time 0.01411/0.04913, allocations: 10.96 MB / 379.3 MB, free: 2.676 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.852924160193652]