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.001783/0.001783, allocations: 93.06 kB / 19.65 MB, free: 280 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.001619/0.001619, allocations: 173 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.9673/0.9673, 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.005652/0.005652, allocations: 1.008 MB / 261 MB, free: 12.07 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.463e-06/1.463e-06, allocations: 0 / 330.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.588e-05, allocations: 2.312 kB / 330.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.01043/0.01046, allocations: 3.269 MB / 334.1 MB, free: 372 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.01684, allocations: 2.3 MB / 336.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.01715, allocations: 11.94 kB / 336.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.01919, allocations: 1.063 MB / 337.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.02286, allocations: 406.1 kB / 337.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.02317, allocations: 143.5 kB / 338 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.0237, allocations: 0.5564 MB / 338.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.02389, allocations: 84.66 kB / 338.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.02421, allocations: 323.2 kB / 339 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.02455, allocations: 319.6 kB / 339.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.0246, allocations: 36 kB / 339.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.02477, allocations: 91.88 kB / 339.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.02498, allocations: 276.7 kB / 339.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.02514, allocations: 183.3 kB / 339.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.02882, allocations: 0.5797 MB / 340.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.02883, allocations: 0 / 340.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02883, allocations: 0 / 340.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.02884, allocations: 0 / 340.5 MB, free: 10.01 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.001383/0.03022, allocations: 1.3 MB / 341.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.03026, allocations: 8.031 kB / 341.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.0304, allocations: 123.6 kB / 341.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.03103, allocations: 0.5482 MB / 342.4 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.03105, allocations: 20.5 kB / 342.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.03109, allocations: 20 kB / 342.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.03142, allocations: 192.4 kB / 342.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.03144, allocations: 3.953 kB / 342.7 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.03145, allocations: 12 kB / 342.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.03146, allocations: 8 kB / 342.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.0316, allocations: 90.92 kB / 342.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.03283, allocations: 1.262 MB / 344 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.0331, allocations: 152.6 kB / 344.2 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.03321, allocations: 60.41 kB / 344.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.03324, allocations: 7.938 kB / 344.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.03327, allocations: 37.39 kB / 344.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.03327, allocations: 8 kB / 344.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.001073/0.03434, allocations: 0.8341 MB / 345.1 MB, free: 5.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.03437, allocations: 55.41 kB / 345.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.03543, allocations: 1.294 MB / 346.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.03545, allocations: 29.7 kB / 346.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.03575, allocations: 0.4961 MB / 347 MB, free: 3.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.03581, allocations: 111.2 kB / 347.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.03602, allocations: 272 kB / 347.4 MB, free: 2.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.03617, allocations: 0.5316 MB / 347.9 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.03635, allocations: 129.9 kB / 348 MB, free: 2.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.03661, allocations: 265 kB / 348.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.03695, allocations: 340 kB / 348.6 MB, free: 1.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.03695, allocations: 3.938 kB / 348.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008376/0.03779, allocations: 0.6915 MB / 349.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.03781, allocations: 11.94 kB / 349.3 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.03782, allocations: 3.938 kB / 349.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.03807, allocations: 83.47 kB / 349.4 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.03838, allocations: 179.7 kB / 349.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.0398, allocations: 2.918 MB / 352.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.03998, allocations: 24.08 kB / 352.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.04003, allocations: 32 kB / 352.6 MB, free: 13.37 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.0001469/0.04018, allocations: 188.4 kB / 352.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.04026, allocations: 107.3 kB / 352.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.04048, allocations: 206.3 kB / 353.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.04048, allocations: 4 kB / 353.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.04048, allocations: 0 / 353.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.04049, allocations: 0 / 353.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.04139, allocations: 1.008 MB / 354.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.0414, allocations: 3.938 kB / 354.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.04156, allocations: 55.97 kB / 354.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.04156, allocations: 0 / 354.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.04157, allocations: 4 kB / 354.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.04157, allocations: 4 kB / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.04157, allocations: 0 / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.0419, allocations: 440.2 kB / 354.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.04205, allocations: 143.3 kB / 354.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.04209, allocations: 8.016 kB / 354.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.04219, allocations: 8 kB / 354.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.04221, allocations: 15.97 kB / 354.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.04225, allocations: 8 kB / 354.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005741/0.04282, allocations: 0.6698 MB / 355.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.04282, allocations: 0 / 355.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.0432, allocations: 168 kB / 355.6 MB, free: 10.26 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.0008625/0.04406, allocations: 351.7 kB / 355.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006178/0.04468, allocations: 0.5552 MB / 356.5 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04468, allocations: 0 / 356.5 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.04475, allocations: 71.45 kB / 356.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.0452, allocations: 125.8 kB / 356.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.04701, allocations: 1.541 MB / 358.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.04716, allocations: 229.1 kB / 358.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.04727, allocations: 60.33 kB / 358.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.04734, allocations: 40.48 kB / 358.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.04735, allocations: 0 / 358.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01096/0.05831, allocations: 7.059 MB / 365.6 MB, free: 368 kB / 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.032232915982604]