Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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.0009527/0.0009527, allocations: 92.22 kB / 19.65 MB, free: 276 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.00101/0.00101, allocations: 169 kB / 23.02 MB, free: 1.547 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.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005559/0.005559, allocations: 1.015 MB / 261 MB, free: 12.05 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.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 330.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.887e-05, allocations: 4.703 kB / 330.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004037/0.004066, allocations: 4.166 MB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.007277, allocations: 2.69 MB / 337.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.007661, allocations: 23.81 kB / 337.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.009364, allocations: 1.125 MB / 338.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.009942, allocations: 453.6 kB / 339.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.01049, allocations: 327.2 kB / 339.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.01108, allocations: 0.8959 MB / 340.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.01133, allocations: 163.4 kB / 340.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.01169, allocations: 494.7 kB / 341.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.01198, allocations: 415.3 kB / 341.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.01204, allocations: 60 kB / 341.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.01221, allocations: 123.9 kB / 341.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.01238, allocations: 352.4 kB / 342.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.01251, allocations: 255.1 kB / 342.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.01315, allocations: 0.7898 MB / 343.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01315, allocations: 0 / 343.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01315, allocations: 0 / 343.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.01316, allocations: 0 / 343.1 MB, free: 6.277 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001285/0.01445, allocations: 1.589 MB / 344.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.01449, allocations: 12.03 kB / 344.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01463, allocations: 171.4 kB / 344.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.01522, allocations: 0.7017 MB / 345.6 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.01527, allocations: 29 kB / 345.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.01534, allocations: 44 kB / 345.6 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.01594, allocations: 466 kB / 346.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01596, allocations: 0 / 346.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.01599, allocations: 20 kB / 346.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.016, allocations: 12 kB / 346.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.01636, allocations: 181.7 kB / 346.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.01838, allocations: 2.207 MB / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.01885, allocations: 235.9 kB / 348.7 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.01903, allocations: 99.67 kB / 348.8 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.01907, allocations: 8 kB / 348.9 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01909, allocations: 41.92 kB / 348.9 MB, free: 260 kB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.01909, allocations: 0 / 348.9 MB, free: 260 kB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001747/0.02084, allocations: 1.11 MB / 350 MB, free: 15.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.02089, allocations: 110.8 kB / 350.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.02251, allocations: 1.457 MB / 351.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.02254, allocations: 33.7 kB / 351.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.02301, allocations: 0.6089 MB / 352.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.02312, allocations: 166.7 kB / 352.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.02346, allocations: 300.4 kB / 352.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.02363, allocations: 0.5355 MB / 353.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.02397, allocations: 188.8 kB / 353.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.02444, allocations: 417.9 kB / 353.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.02506, allocations: 468.9 kB / 354.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02506, allocations: 0 / 354.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001288/0.02635, allocations: 0.8161 MB / 355.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.02637, allocations: 8 kB / 355.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.02638, allocations: 0 / 355.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.02656, allocations: 39.66 kB / 355.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.0274, allocations: 311.8 kB / 355.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.02877, allocations: 2.641 MB / 358.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.02914, allocations: 39.97 kB / 358.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.0292, allocations: 40 kB / 358.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004721/0.02968, allocations: 321.3 kB / 358.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004591/0.03013, allocations: 413.9 kB / 358.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000588/0.03072, allocations: 465 kB / 359.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.03073, allocations: 0 / 359.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001178/0.0319, allocations: 0.812 MB / 360.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.03192, allocations: 8 kB / 360.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.03192, allocations: 4.25 kB / 360.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.03205, allocations: 39.66 kB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.03268, allocations: 255.6 kB / 360.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003106/0.03299, allocations: 0.8038 MB / 361.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.03333, allocations: 48.05 kB / 361.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.03338, allocations: 32 kB / 361.3 MB, free: 3.289 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.03361, allocations: 311.9 kB / 361.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.03375, allocations: 135.2 kB / 361.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.03424, allocations: 309 kB / 362 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.03425, allocations: 7.938 kB / 362.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.03425, allocations: 0 / 362.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.03426, allocations: 7.969 kB / 362.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.03591, allocations: 1.223 MB / 363.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.03591, allocations: 0 / 363.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.0363, allocations: 95.83 kB / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.03631, allocations: 4 kB / 363.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.03633, allocations: 8 kB / 363.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.03634, allocations: 4 kB / 363.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.03634, allocations: 0 / 363.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.03702, allocations: 0.601 MB / 364 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.03731, allocations: 187.1 kB / 364.2 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.03738, allocations: 8 kB / 364.2 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.03762, allocations: 23.98 kB / 364.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.0377, allocations: 31.94 kB / 364.2 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.03772, allocations: 16 kB / 364.3 MB, free: 240 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009352/0.03865, allocations: 0.7657 MB / 365 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03865, allocations: 0 / 365 MB, free: 15.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009043/0.03956, allocations: 371.9 kB / 365.4 MB, free: 15.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.000951/0.04051, allocations: 358 kB / 365.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.04214, allocations: 0.9185 MB / 366.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.04215, allocations: 0 / 366.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.04233, allocations: 123.3 kB / 366.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.04316, allocations: 207.2 kB / 367 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.04622, allocations: 1.976 MB / 368.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.04645, allocations: 255.1 kB / 369.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.004714/0.05116, allocations: 316.9 kB / 369.5 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.05133, allocations: 60.48 kB / 369.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.512e-06/0.05133, allocations: 7.875 kB / 369.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Templates: time 0.02886/0.0802, allocations: 10.1 MB / 379.7 MB, free: 0.9805 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3542325189337134]