Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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.001391/0.001391, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001556/0.001556, allocations: 165 kB / 23.02 MB, free: 1.551 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.9811/0.9811, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.005333/0.005333, allocations: 1.011 MB / 261 MB, free: 12.08 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.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 330.9 MB, free: 18.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.931e-05, allocations: 2.312 kB / 330.9 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003021/0.003041, allocations: 3.277 MB / 334.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.005433, allocations: 2.289 MB / 336.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.005647, allocations: 7.938 kB / 336.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.007112, allocations: 1.063 MB / 337.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.007557, allocations: 414.1 kB / 337.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.0078, allocations: 131.6 kB / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.008183, allocations: 0.5641 MB / 338.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.008341, allocations: 84.67 kB / 338.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.008546, allocations: 323.2 kB / 339 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.008772, allocations: 315.6 kB / 339.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.008808, allocations: 39.98 kB / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.008941, allocations: 95.83 kB / 339.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.00907, allocations: 280.7 kB / 339.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.009167, allocations: 179.3 kB / 339.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.00961, allocations: 0.5719 MB / 340.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.009612, allocations: 0 / 340.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009612, allocations: 4 kB / 340.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.009619, allocations: 0 / 340.5 MB, free: 8.953 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009735/0.01059, allocations: 1.296 MB / 341.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01063, allocations: 12.03 kB / 341.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.01073, allocations: 127.6 kB / 341.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.01122, allocations: 0.5482 MB / 342.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.01124, allocations: 20.44 kB / 342.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.0113, allocations: 24 kB / 342.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.01154, allocations: 184.5 kB / 342.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.01155, allocations: 7.953 kB / 342.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.01158, allocations: 4 kB / 342.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01159, allocations: 12 kB / 342.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.01174, allocations: 90.92 kB / 342.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01278, allocations: 1.27 MB / 344 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.01301, allocations: 149.6 kB / 344.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.01311, allocations: 68.59 kB / 344.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.01314, allocations: 4 kB / 344.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.01315, allocations: 37.38 kB / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.01316, allocations: 4 kB / 344.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.000888/0.01404, allocations: 0.828 MB / 345.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.01406, allocations: 51.41 kB / 345.2 MB, free: 3.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.01489, allocations: 1.29 MB / 346.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.0149, allocations: 29.7 kB / 346.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.01512, allocations: 0.5078 MB / 347 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.01516, allocations: 99.22 kB / 347.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.01533, allocations: 272 kB / 347.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.01539, allocations: 0.5277 MB / 347.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.01555, allocations: 129.9 kB / 348 MB, free: 1.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.01576, allocations: 268.9 kB / 348.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.01603, allocations: 340 kB / 348.6 MB, free: 456 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01604, allocations: 0 / 348.6 MB, free: 456 kB / 266.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.000761/0.0168, allocations: 0.6993 MB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.01682, allocations: 7.938 kB / 349.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01682, allocations: 4 kB / 349.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.01707, allocations: 79.47 kB / 349.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.01738, allocations: 179.7 kB / 349.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.01877, allocations: 2.922 MB / 352.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01892, allocations: 32.03 kB / 352.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.01896, allocations: 28 kB / 352.6 MB, free: 12.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.01911, allocations: 188.4 kB / 352.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.01919, allocations: 103.3 kB / 352.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01942, allocations: 207.2 kB / 353.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01943, allocations: 0 / 353.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01943, allocations: 0 / 353.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01943, allocations: 4 kB / 353.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008951/0.02033, allocations: 1.006 MB / 354.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.02033, allocations: 0 / 354.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.02047, allocations: 59.91 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02047, allocations: 4 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.02049, allocations: 3.984 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02049, allocations: 0 / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.02049, allocations: 4 kB / 354.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.0208, allocations: 440.5 kB / 354.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.02101, allocations: 143.3 kB / 354.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.02107, allocations: 12.03 kB / 354.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.02118, allocations: 4 kB / 354.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.0212, allocations: 19.91 kB / 354.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.02121, allocations: 4 kB / 354.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005428/0.02175, allocations: 0.6737 MB / 355.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02175, allocations: 0 / 355.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.02209, allocations: 164 kB / 355.6 MB, free: 9.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0008298/0.02292, allocations: 345.4 kB / 355.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.02365, allocations: 0.5552 MB / 356.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.02365, allocations: 0 / 356.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.02374, allocations: 78.56 kB / 356.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.02426, allocations: 133.5 kB / 356.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.02615, allocations: 1.538 MB / 358.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.02633, allocations: 225.1 kB / 358.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.02647, allocations: 60.33 kB / 358.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.02655, allocations: 44.48 kB / 358.5 MB, free: 6.285 MB / 282.7 MB Notification: Performance of SimCode: time 1.373e-06/0.02655, allocations: 0 / 358.5 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Templates: time 0.009931/0.03648, allocations: 6.731 MB / 365.3 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU -abortSlowSimulation -alarm=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0654313997365534]