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.001104/0.001104, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001266/0.001266, allocations: 173 kB / 23.49 MB, free: 1.055 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.131/1.131, allocations: 177.1 MB / 203.8 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.005702/0.005702, allocations: 1.008 MB / 261.3 MB, free: 12.14 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.905e-06/2.905e-06, allocations: 0 / 330.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.626e-05, allocations: 2.312 kB / 330.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005367/0.005403, allocations: 3.244 MB / 334.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.0091, allocations: 2.313 MB / 336.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.009432, allocations: 7.938 kB / 336.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.01152, allocations: 1.063 MB / 337.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000622/0.01214, allocations: 406.1 kB / 337.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.01252, allocations: 143.6 kB / 338 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007728/0.01329, allocations: 0.5525 MB / 338.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.01354, allocations: 80.66 kB / 338.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.01398, allocations: 327.2 kB / 339 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.01435, allocations: 319.6 kB / 339.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.0144, allocations: 32 kB / 339.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.01458, allocations: 91.88 kB / 339.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.0148, allocations: 280.7 kB / 339.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01496, allocations: 183.3 kB / 339.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.01567, allocations: 0.5797 MB / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.01567, allocations: 0 / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01567, allocations: 0 / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.01569, allocations: 0 / 340.5 MB, free: 10.37 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.001427/0.01711, allocations: 1.3 MB / 341.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.01717, allocations: 8.031 kB / 341.8 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.01734, allocations: 127.6 kB / 341.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.018, allocations: 0.5482 MB / 342.4 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.01802, allocations: 20.5 kB / 342.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.01807, allocations: 24 kB / 342.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.01856, allocations: 184.5 kB / 342.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.01858, allocations: 11.88 kB / 342.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.0186, allocations: 12 kB / 342.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.01862, allocations: 4 kB / 342.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.01878, allocations: 94.91 kB / 342.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.02013, allocations: 1.262 MB / 344 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.02043, allocations: 150.2 kB / 344.2 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.02056, allocations: 67.39 kB / 344.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.0206, allocations: 7.938 kB / 344.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.02062, allocations: 41.39 kB / 344.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.02063, allocations: 0 / 344.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.001187/0.02181, allocations: 0.8347 MB / 345.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.02185, allocations: 55.41 kB / 345.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.02295, allocations: 1.294 MB / 346.5 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.02296, allocations: 29.7 kB / 346.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.02331, allocations: 0.4961 MB / 347 MB, free: 3.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.02338, allocations: 111.2 kB / 347.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.0236, allocations: 264.1 kB / 347.4 MB, free: 3.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.02377, allocations: 0.5316 MB / 347.9 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.02396, allocations: 129.9 kB / 348 MB, free: 2.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.02422, allocations: 269 kB / 348.3 MB, free: 2.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.02459, allocations: 340.1 kB / 348.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02459, allocations: 0 / 348.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008815/0.02547, allocations: 0.6914 MB / 349.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.02549, allocations: 16.03 kB / 349.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.0255, allocations: 4 kB / 349.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.02579, allocations: 75.33 kB / 349.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.02624, allocations: 183.7 kB / 349.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.02777, allocations: 2.918 MB / 352.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.02794, allocations: 20 kB / 352.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.02798, allocations: 32 kB / 352.6 MB, free: 13.73 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.0001599/0.02814, allocations: 192.5 kB / 352.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.02823, allocations: 111.3 kB / 352.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.02847, allocations: 210.5 kB / 353.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02847, allocations: 4 kB / 353.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.02848, allocations: 0 / 353.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.02848, allocations: 3.984 kB / 353.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.02944, allocations: 1.001 MB / 354.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02944, allocations: 0 / 354.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.0296, allocations: 59.91 kB / 354.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.0296, allocations: 4.031 kB / 354.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02962, allocations: 8 kB / 354.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02962, allocations: 0 / 354.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02962, allocations: 0 / 354.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.02995, allocations: 444.2 kB / 354.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.0301, allocations: 143.3 kB / 354.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.03014, allocations: 4 kB / 354.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.03024, allocations: 4 kB / 354.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.03027, allocations: 19.97 kB / 354.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.03028, allocations: 4 kB / 354.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005707/0.03085, allocations: 0.6776 MB / 355.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03085, allocations: 0 / 355.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.03122, allocations: 168 kB / 355.6 MB, free: 10.61 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.0008416/0.03206, allocations: 342.5 kB / 355.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.03272, allocations: 0.5555 MB / 356.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03273, allocations: 8 kB / 356.5 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.0328, allocations: 67.45 kB / 356.6 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.03329, allocations: 121.8 kB / 356.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.03533, allocations: 1.544 MB / 358.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03548, allocations: 221.1 kB / 358.4 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.03561, allocations: 56.34 kB / 358.5 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.03568, allocations: 40.5 kB / 358.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of SimCode: time 1.834e-06/0.03568, allocations: 0 / 358.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of Templates: time 0.01128/0.04696, allocations: 6.73 MB / 365.3 MB, free: 1.051 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: 3.5288878299761564]