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.001912/0.001912, allocations: 92.7 kB / 19.44 MB, free: 324 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.002564/0.002564, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.009544/0.009544, allocations: 1.009 MB / 260.6 MB, free: 12.09 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 2.315e-06/2.315e-06, allocations: 0 / 330.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.093e-05, allocations: 4.844 kB / 330.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003681/0.003712, allocations: 3.078 MB / 333.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.006432, allocations: 2.23 MB / 335.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.006612, allocations: 11.94 kB / 335.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.008351, allocations: 1.063 MB / 336.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.008854, allocations: 406.1 kB / 336.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.009121, allocations: 135.6 kB / 337 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.00953, allocations: 0.5564 MB / 337.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.009694, allocations: 88.61 kB / 337.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.009938, allocations: 327.2 kB / 338 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.01022, allocations: 315.6 kB / 338.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.01026, allocations: 36 kB / 338.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.01041, allocations: 87.94 kB / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.01058, allocations: 280.7 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01072, allocations: 179.3 kB / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.01138, allocations: 0.8604 MB / 339.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.01138, allocations: 3.984 kB / 339.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01138, allocations: 7.938 kB / 339.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.01139, allocations: 0 / 339.8 MB, free: 9.27 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.001192/0.01258, allocations: 1.114 MB / 340.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01262, allocations: 12.03 kB / 340.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.01275, allocations: 123.6 kB / 341 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.01358, allocations: 0.8772 MB / 341.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.0136, allocations: 12.5 kB / 341.9 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.01364, allocations: 24 kB / 341.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.01394, allocations: 226.8 kB / 342.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.01395, allocations: 11.94 kB / 342.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01397, allocations: 8 kB / 342.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01398, allocations: 15.94 kB / 342.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.01419, allocations: 133.9 kB / 342.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01547, allocations: 1.154 MB / 343.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.01582, allocations: 170.8 kB / 343.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.01599, allocations: 83.7 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.01602, allocations: 4 kB / 343.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.01603, allocations: 38.5 kB / 343.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01603, allocations: 0 / 343.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001344/0.01738, allocations: 0.9149 MB / 344.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.0174, allocations: 59.34 kB / 344.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.01877, allocations: 1.748 MB / 346.5 MB, free: 2.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.01878, allocations: 25.7 kB / 346.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.01899, allocations: 373.3 kB / 346.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.01905, allocations: 107.2 kB / 347 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.01926, allocations: 246.4 kB / 347.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.01933, allocations: 349.9 kB / 347.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.01975, allocations: 461.8 kB / 348 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.02021, allocations: 0.5468 MB / 348.5 MB, free: 208 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.02108, allocations: 0.6474 MB / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02108, allocations: 0 / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002208/0.02329, allocations: 1.326 MB / 350.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.02331, allocations: 7.938 kB / 350.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02332, allocations: 3.938 kB / 350.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.02375, allocations: 97.86 kB / 350.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.02433, allocations: 187.7 kB / 350.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.02662, allocations: 2.147 MB / 353 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.02699, allocations: 20 kB / 353 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.02705, allocations: 32.16 kB / 353 MB, free: 11.58 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.0005301/0.02758, allocations: 385.5 kB / 353.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.02774, allocations: 103.3 kB / 353.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.02822, allocations: 255.2 kB / 353.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.02822, allocations: 4 kB / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02823, allocations: 4 kB / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.02823, allocations: 0 / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.02961, allocations: 0.8029 MB / 354.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02962, allocations: 0 / 354.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.0299, allocations: 63.89 kB / 354.6 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.02991, allocations: 4 kB / 354.6 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.02992, allocations: 0 / 354.6 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.02993, allocations: 4 kB / 354.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02993, allocations: 0 / 354.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.0306, allocations: 457.1 kB / 355.1 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.03091, allocations: 147.4 kB / 355.2 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.03098, allocations: 8 kB / 355.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.03118, allocations: 8.031 kB / 355.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.03122, allocations: 15.97 kB / 355.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.03124, allocations: 8 kB / 355.2 MB, free: 9.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.03288, allocations: 1.134 MB / 356.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03288, allocations: 0 / 356.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006395/0.03352, allocations: 171.9 kB / 356.5 MB, free: 7.953 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.001806/0.03532, allocations: 398.6 kB / 356.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.03682, allocations: 0.7729 MB / 357.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03683, allocations: 0 / 357.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.03697, allocations: 75.92 kB / 357.8 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.03781, allocations: 134.2 kB / 357.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.04137, allocations: 1.881 MB / 359.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.04207, allocations: 479 kB / 360.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.04231, allocations: 80.34 kB / 360.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.04244, allocations: 44.48 kB / 360.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04244, allocations: 0 / 360.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of Templates: time 0.01643/0.05887, allocations: 6.694 MB / 367.1 MB, free: 13.55 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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.769626106019132]