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.001682/0.001682, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001792/0.001792, allocations: 169 kB / 24.06 MB, free: 456 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 1.101/1.101, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.005462/0.005462, allocations: 1.016 MB / 262 MB, free: 11.92 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 2.385e-06/2.385e-06, allocations: 4 kB / 332.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.322e-05, allocations: 2.312 kB / 332.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004532/0.004555, allocations: 4.061 MB / 336.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.008056, allocations: 2.655 MB / 338.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.008451, allocations: 27.81 kB / 338.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.01025, allocations: 1.125 MB / 339.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.0109, allocations: 465.6 kB / 340.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.01147, allocations: 315.3 kB / 340.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.01216, allocations: 0.8959 MB / 341.6 MB, free: 9.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.01241, allocations: 159.4 kB / 341.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.01283, allocations: 498.7 kB / 342.2 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.01318, allocations: 415.3 kB / 342.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.01325, allocations: 56 kB / 342.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.01343, allocations: 123.8 kB / 342.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.01365, allocations: 352.4 kB / 343.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.01383, allocations: 263 kB / 343.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.01453, allocations: 0.7743 MB / 344.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01453, allocations: 0 / 344.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01453, allocations: 4 kB / 344.2 MB, free: 7.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.01455, allocations: 0 / 344.2 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.001447/0.016, allocations: 1.597 MB / 345.8 MB, free: 5.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01603, allocations: 12.03 kB / 345.8 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.01619, allocations: 175.4 kB / 346 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.01678, allocations: 0.6666 MB / 346.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.01681, allocations: 33 kB / 346.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.01686, allocations: 44 kB / 346.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.01728, allocations: 433.9 kB / 347.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.0173, allocations: 7.891 kB / 347.2 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.01732, allocations: 20 kB / 347.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01734, allocations: 12 kB / 347.2 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01753, allocations: 150.8 kB / 347.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.01916, allocations: 1.953 MB / 349.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.01952, allocations: 212.5 kB / 349.5 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.01963, allocations: 87.61 kB / 349.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.01966, allocations: 4 kB / 349.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.0197, allocations: 49.33 kB / 349.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.0197, allocations: 0 / 349.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001149/0.02085, allocations: 0.8712 MB / 350.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.02089, allocations: 110.8 kB / 350.6 MB, free: 488 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.02192, allocations: 1.425 MB / 352 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.02194, allocations: 37.7 kB / 352.1 MB, free: 15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.0223, allocations: 0.6205 MB / 352.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.02239, allocations: 166.7 kB / 352.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.02265, allocations: 316.2 kB / 353.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.02279, allocations: 0.5394 MB / 353.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.02295, allocations: 140.8 kB / 353.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.02322, allocations: 385.8 kB / 354.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.02358, allocations: 424.8 kB / 354.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02358, allocations: 0 / 354.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0007693/0.02435, allocations: 0.7457 MB / 355.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02437, allocations: 4 kB / 355.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.02438, allocations: 4 kB / 355.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.02452, allocations: 47.84 kB / 355.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.0251, allocations: 295.6 kB / 355.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.02622, allocations: 2.633 MB / 358.4 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.02647, allocations: 43.92 kB / 358.4 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.02651, allocations: 32 kB / 358.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002675/0.02678, allocations: 273.4 kB / 358.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002801/0.02706, allocations: 386 kB / 359.1 MB, free: 7.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003496/0.02741, allocations: 416.8 kB / 359.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.554e-06/0.02741, allocations: 0 / 359.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0006772/0.02809, allocations: 0.734 MB / 360.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.0281, allocations: 8 kB / 360.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.02811, allocations: 0 / 360.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.306e-05/0.0282, allocations: 47.59 kB / 360.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.02864, allocations: 251.9 kB / 360.5 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002673/0.02891, allocations: 0.8077 MB / 361.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.02912, allocations: 43.92 kB / 361.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.02915, allocations: 28 kB / 361.4 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.0001523/0.0293, allocations: 315.8 kB / 361.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.02942, allocations: 131.2 kB / 361.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.02973, allocations: 281.1 kB / 362.1 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02973, allocations: 4 kB / 362.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02973, allocations: 0 / 362.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02974, allocations: 11.92 kB / 362.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.03075, allocations: 0.9587 MB / 363.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.03075, allocations: 4 kB / 363.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.03098, allocations: 88.02 kB / 363.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.03099, allocations: 11.94 kB / 363.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.03101, allocations: 8 kB / 363.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.03101, allocations: 4 kB / 363.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.03101, allocations: 0 / 363.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.03149, allocations: 0.5618 MB / 363.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.03169, allocations: 179.1 kB / 363.9 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.03174, allocations: 8 kB / 363.9 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.03191, allocations: 23.97 kB / 364 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.03197, allocations: 31.95 kB / 364 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.03198, allocations: 8 kB / 364 MB, free: 2.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005221/0.0325, allocations: 0.7225 MB / 364.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.0325, allocations: 0 / 364.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005949/0.0331, allocations: 364 kB / 365.1 MB, free: 1.441 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.0007827/0.03388, allocations: 356.5 kB / 365.4 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.03491, allocations: 0.8445 MB / 366.3 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.03491, allocations: 0 / 366.3 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.03503, allocations: 107.6 kB / 366.4 MB, free: 256 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.03568, allocations: 208.7 kB / 366.6 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.03803, allocations: 1.965 MB / 368.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.03822, allocations: 255.1 kB / 368.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000288/0.03851, allocations: 105.3 kB / 368.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.0388, allocations: 214.1 kB / 369.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03881, allocations: 0 / 369.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Templates: time 0.01508/0.05388, allocations: 11.19 MB / 380.3 MB, free: 2.402 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: 3.392330041155219]