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.001418/0.001418, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001635/0.001635, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9757/0.9757, allocations: 177.1 MB / 204.5 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.006542/0.006542, allocations: 1.015 MB / 262.1 MB, free: 11.91 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.415e-06/2.415e-06, allocations: 0 / 332.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.27e-05, allocations: 6.312 kB / 332.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.00403/0.004062, allocations: 3.206 MB / 335.3 MB, free: 160 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.006784, allocations: 2.269 MB / 337.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.007032, allocations: 11.94 kB / 337.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.008752, allocations: 1.059 MB / 338.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.009306, allocations: 406.1 kB / 339 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.009591, allocations: 139.6 kB / 339.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.01006, allocations: 0.5563 MB / 339.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.01023, allocations: 84.66 kB / 339.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.01049, allocations: 327.2 kB / 340.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.01075, allocations: 319.6 kB / 340.4 MB, free: 11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.01078, allocations: 32 kB / 340.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.01093, allocations: 91.88 kB / 340.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.0111, allocations: 280.7 kB / 340.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01122, allocations: 183.3 kB / 341 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.01174, allocations: 0.5681 MB / 341.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01175, allocations: 0 / 341.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01175, allocations: 0 / 341.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01176, allocations: 0 / 341.6 MB, free: 9.852 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.0011/0.01286, allocations: 1.296 MB / 342.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.01289, allocations: 15.97 kB / 342.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.013, allocations: 127.6 kB / 343 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.01344, allocations: 0.5169 MB / 343.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.01346, allocations: 16.5 kB / 343.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.01349, allocations: 24 kB / 343.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.01366, allocations: 176.4 kB / 343.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01367, allocations: 7.953 kB / 343.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.01369, allocations: 12 kB / 343.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.0137, allocations: 7.984 kB / 343.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.0138, allocations: 85.34 kB / 343.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.01469, allocations: 1.035 MB / 344.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.0149, allocations: 136 kB / 345 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.01497, allocations: 59.64 kB / 345.1 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.01499, allocations: 4 kB / 345.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.01501, allocations: 41.39 kB / 345.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.01501, allocations: 0 / 345.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007806/0.01579, allocations: 0.6625 MB / 345.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.01582, allocations: 55.41 kB / 345.8 MB, free: 5.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.01667, allocations: 1.258 MB / 347.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.01668, allocations: 29.7 kB / 347.1 MB, free: 4.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.01695, allocations: 0.496 MB / 347.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.01701, allocations: 119.1 kB / 347.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.0172, allocations: 268 kB / 348 MB, free: 3.145 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.01734, allocations: 0.5355 MB / 348.5 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.01745, allocations: 101.9 kB / 348.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.01762, allocations: 236.9 kB / 348.9 MB, free: 2.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.01786, allocations: 308 kB / 349.2 MB, free: 1.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01786, allocations: 0 / 349.2 MB, free: 1.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.000626/0.01848, allocations: 0.6368 MB / 349.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.0185, allocations: 4 kB / 349.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01851, allocations: 0 / 349.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.01871, allocations: 87.36 kB / 349.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.019, allocations: 179.8 kB / 350.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.02024, allocations: 2.895 MB / 353 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.0204, allocations: 23.98 kB / 353 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.02044, allocations: 20 kB / 353 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.000142/0.02058, allocations: 192.4 kB / 353.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.02065, allocations: 103.3 kB / 353.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.02086, allocations: 190.5 kB / 353.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02086, allocations: 7.938 kB / 353.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02087, allocations: 7.922 kB / 353.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.02087, allocations: 0 / 353.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.02157, allocations: 0.7638 MB / 354.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.02158, allocations: 3.938 kB / 354.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02172, allocations: 55.91 kB / 354.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02172, allocations: 4 kB / 354.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.02173, allocations: 4 kB / 354.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02173, allocations: 4 kB / 354.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02173, allocations: 0 / 354.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.022, allocations: 420.3 kB / 354.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.02213, allocations: 139.3 kB / 354.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.02216, allocations: 4 kB / 354.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.02226, allocations: 8 kB / 354.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.02228, allocations: 11.97 kB / 354.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.02229, allocations: 8 kB / 354.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000438/0.02273, allocations: 0.6227 MB / 355.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02273, allocations: 0 / 355.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.02309, allocations: 164 kB / 355.7 MB, free: 11.13 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.0008038/0.0239, allocations: 349.9 kB / 356 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.0245, allocations: 0.5162 MB / 356.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0245, allocations: 0 / 356.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.02456, allocations: 75.38 kB / 356.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.025, allocations: 125.4 kB / 356.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.0268, allocations: 1.538 MB / 358.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.02701, allocations: 221.1 kB / 358.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.02716, allocations: 56.34 kB / 358.6 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.02736, allocations: 162.1 kB / 358.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02736, allocations: 0 / 358.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of Templates: time 0.01329/0.04065, allocations: 7.326 MB / 366 MB, free: 0.8945 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.042764254845679]