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.001801/0.001801, allocations: 85.48 kB / 19.44 MB, free: 344 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.002167/0.002167, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.01072/0.01072, allocations: 1.016 MB / 260.6 MB, free: 12.12 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.302e-06/1.302e-06, allocations: 0 / 330.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.129e-05, allocations: 4.844 kB / 330.2 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003579/0.003601, allocations: 3.223 MB / 333.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.006273, allocations: 2.285 MB / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.00645, allocations: 11.94 kB / 335.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.008123, allocations: 1.055 MB / 336.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.008603, allocations: 406.2 kB / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.008845, allocations: 135.6 kB / 337.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.009235, allocations: 0.5602 MB / 337.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.00939, allocations: 88.61 kB / 337.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.009634, allocations: 335.2 kB / 338.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.009894, allocations: 315.6 kB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.009943, allocations: 32 kB / 338.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01014, allocations: 83.94 kB / 338.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.0103, allocations: 284.7 kB / 338.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.01045, allocations: 187.3 kB / 339.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.0111, allocations: 0.8643 MB / 340 MB, free: 9.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0111, allocations: 0 / 340 MB, free: 9.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01111, allocations: 0 / 340 MB, free: 9.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.01111, allocations: 0 / 340 MB, free: 9.074 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.001376/0.01249, allocations: 1.331 MB / 341.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01252, allocations: 12.03 kB / 341.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.01265, allocations: 119.7 kB / 341.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.01329, allocations: 0.5676 MB / 342 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01331, allocations: 16.5 kB / 342 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.01335, allocations: 24 kB / 342 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.01364, allocations: 228.5 kB / 342.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.01366, allocations: 3.953 kB / 342.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.01367, allocations: 15.94 kB / 342.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.01368, allocations: 4 kB / 342.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.0139, allocations: 141.8 kB / 342.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01539, allocations: 1.383 MB / 343.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.01571, allocations: 179.2 kB / 344 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.01586, allocations: 86.47 kB / 344.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.01589, allocations: 4 kB / 344.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.0159, allocations: 37.39 kB / 344.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.0159, allocations: 0 / 344.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001226/0.01713, allocations: 0.9196 MB / 345 MB, free: 3.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.01715, allocations: 55.41 kB / 345.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.01837, allocations: 1.419 MB / 346.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.01839, allocations: 33.7 kB / 346.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.01868, allocations: 0.5235 MB / 347.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.01873, allocations: 107.2 kB / 347.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.019, allocations: 308 kB / 347.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0191, allocations: 0.555 MB / 348 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.01936, allocations: 153.9 kB / 348.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.01966, allocations: 309 kB / 348.5 MB, free: 260 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.02019, allocations: 404.1 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.0202, allocations: 4 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001413/0.02161, allocations: 0.7383 MB / 349.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02163, allocations: 7.938 kB / 349.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.02164, allocations: 4 kB / 349.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.02203, allocations: 91.33 kB / 349.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.0226, allocations: 187.9 kB / 349.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.02527, allocations: 3.043 MB / 352.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.02555, allocations: 16 kB / 353 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.02561, allocations: 32 kB / 353 MB, free: 11.54 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.0002895/0.0259, allocations: 236.5 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.02604, allocations: 103.3 kB / 353.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.02647, allocations: 235.2 kB / 353.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02647, allocations: 7.938 kB / 353.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.02648, allocations: 0 / 353.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.02648, allocations: 0 / 353.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.02849, allocations: 1.101 MB / 354.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.02849, allocations: 4 kB / 354.7 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.0288, allocations: 63.94 kB / 354.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.0288, allocations: 0 / 354.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.02883, allocations: 8 kB / 354.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.02883, allocations: 0 / 354.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02883, allocations: 0 / 354.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.02953, allocations: 0.4926 MB / 355.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.02988, allocations: 151.2 kB / 355.4 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.02995, allocations: 4 kB / 355.4 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.03015, allocations: 8 kB / 355.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.03019, allocations: 15.97 kB / 355.4 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.03021, allocations: 8 kB / 355.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.03133, allocations: 0.744 MB / 356.1 MB, free: 8.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03133, allocations: 0 / 356.1 MB, free: 8.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005874/0.03192, allocations: 168 kB / 356.3 MB, free: 8.117 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.00246/0.03438, allocations: 397.8 kB / 356.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.03548, allocations: 0.6176 MB / 357.3 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.03548, allocations: 0 / 357.3 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.03563, allocations: 94.38 kB / 357.4 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.03642, allocations: 127 kB / 357.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.03893, allocations: 1.579 MB / 359.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.0395, allocations: 459 kB / 359.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.03966, allocations: 56.34 kB / 359.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.03977, allocations: 40.48 kB / 359.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03977, allocations: 0 / 359.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of Templates: time 0.01557/0.05534, allocations: 6.658 MB / 366.3 MB, free: 14.24 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: 4.602960160002112]