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.0009717/0.0009717, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001012/0.001012, allocations: 169 kB / 23.27 MB, free: 1.223 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.9185/0.9185, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.00548/0.00548, allocations: 1.015 MB / 261.3 MB, free: 11.9 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.233e-06/1.233e-06, allocations: 0 / 331.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.178e-05, allocations: 2.312 kB / 331.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003399/0.00342, allocations: 3.199 MB / 334.5 MB, free: 168 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.005742, allocations: 2.261 MB / 336.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.005923, allocations: 11.94 kB / 336.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.007357, allocations: 1.063 MB / 337.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.007804, allocations: 406.1 kB / 338.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.008024, allocations: 139.6 kB / 338.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.008446, allocations: 0.5563 MB / 338.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.008589, allocations: 84.66 kB / 339 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.00885, allocations: 335.1 kB / 339.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.009096, allocations: 315.7 kB / 339.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.009134, allocations: 32 kB / 339.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.00927, allocations: 87.89 kB / 339.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.009432, allocations: 280.7 kB / 340 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.009545, allocations: 187.3 kB / 340.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.01003, allocations: 0.5642 MB / 340.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01004, allocations: 0 / 340.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01004, allocations: 0 / 340.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.01005, allocations: 3.938 kB / 340.8 MB, free: 9.855 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001068/0.01111, allocations: 1.304 MB / 342.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01115, allocations: 12.02 kB / 342.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.01125, allocations: 127.6 kB / 342.2 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.01166, allocations: 0.5169 MB / 342.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.01167, allocations: 16.5 kB / 342.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.0117, allocations: 20 kB / 342.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.01187, allocations: 180.4 kB / 343 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01188, allocations: 7.938 kB / 343 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.0119, allocations: 12 kB / 343 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.0119, allocations: 4 kB / 343 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.012, allocations: 81.36 kB / 343.1 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.01291, allocations: 1.035 MB / 344.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.0131, allocations: 140.5 kB / 344.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.01317, allocations: 64.39 kB / 344.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.0132, allocations: 4 kB / 344.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.01321, allocations: 33.39 kB / 344.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.01322, allocations: 4 kB / 344.3 MB, free: 6.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007476/0.01396, allocations: 0.6662 MB / 345 MB, free: 5.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.01399, allocations: 55.41 kB / 345.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.01487, allocations: 1.266 MB / 346.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.01488, allocations: 29.7 kB / 346.4 MB, free: 4.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.01515, allocations: 0.496 MB / 346.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.01521, allocations: 111.1 kB / 347 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.0154, allocations: 268 kB / 347.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.01555, allocations: 0.5355 MB / 347.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01565, allocations: 105.9 kB / 347.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.01583, allocations: 240.9 kB / 348.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.01607, allocations: 304 kB / 348.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01607, allocations: 0 / 348.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0005982/0.01667, allocations: 0.6328 MB / 349 MB, free: 1.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01668, allocations: 9.719 kB / 349 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01669, allocations: 0 / 349 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.01687, allocations: 83.34 kB / 349.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.01715, allocations: 183.8 kB / 349.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.01829, allocations: 2.884 MB / 352.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01843, allocations: 24.09 kB / 352.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.01846, allocations: 24 kB / 352.2 MB, free: 13.91 MB / 330.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.0001292/0.01859, allocations: 188.4 kB / 352.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.01866, allocations: 103.3 kB / 352.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.01884, allocations: 198.5 kB / 352.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01884, allocations: 3.938 kB / 352.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01885, allocations: 7.938 kB / 352.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01885, allocations: 0 / 352.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.01949, allocations: 0.7621 MB / 353.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.0195, allocations: 3.938 kB / 353.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01963, allocations: 59.91 kB / 353.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01964, allocations: 4 kB / 353.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.01964, allocations: 0 / 353.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01964, allocations: 4 kB / 353.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01965, allocations: 0 / 353.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01989, allocations: 420.3 kB / 354 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.02002, allocations: 135.3 kB / 354.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.02005, allocations: 8.156 kB / 354.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.02015, allocations: 8 kB / 354.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.02017, allocations: 24 kB / 354.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.02017, allocations: 7.938 kB / 354.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004163/0.02059, allocations: 0.6227 MB / 354.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02059, allocations: 0 / 354.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000335/0.02092, allocations: 168 kB / 354.9 MB, free: 11.12 MB / 330.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.0006643/0.02159, allocations: 343.3 kB / 355.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.02204, allocations: 0.524 MB / 355.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02204, allocations: 0 / 355.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.0221, allocations: 63.39 kB / 355.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.02252, allocations: 126.9 kB / 356 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.02401, allocations: 1.532 MB / 357.5 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.02415, allocations: 225.1 kB / 357.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.02425, allocations: 64.33 kB / 357.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.02442, allocations: 154.1 kB / 357.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02442, allocations: 0 / 357.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of Templates: time 0.009947/0.03437, allocations: 7.188 MB / 365.1 MB, free: 1.086 MB / 330.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: 2.7106251451186836]