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.000828/0.000828, 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.0009002/0.0009002, allocations: 173 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 0.9623/0.9623, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.01068/0.01068, allocations: 1.011 MB / 261 MB, free: 12.06 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 2.064e-06/2.064e-06, allocations: 0 / 330.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.706e-05, allocations: 2.312 kB / 330.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004836/0.004863, allocations: 4.153 MB / 335 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.007531, allocations: 2.694 MB / 337.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.007877, allocations: 23.81 kB / 337.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.009406, allocations: 1.117 MB / 338.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.009931, allocations: 465.6 kB / 339.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.01041, allocations: 323.2 kB / 339.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.01097, allocations: 0.8998 MB / 340.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.01118, allocations: 151.4 kB / 340.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.01152, allocations: 0.4909 MB / 341.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.01179, allocations: 419.3 kB / 341.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.01185, allocations: 56 kB / 341.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.012, allocations: 115.9 kB / 341.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.01216, allocations: 356.4 kB / 342.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.01229, allocations: 259 kB / 342.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.01288, allocations: 0.7781 MB / 343.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01288, allocations: 0 / 343.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01288, allocations: 8 kB / 343.1 MB, free: 6.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.01289, allocations: 0 / 343.1 MB, free: 6.297 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.001198/0.01409, allocations: 1.585 MB / 344.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.01413, allocations: 16.03 kB / 344.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.01426, allocations: 175.4 kB / 344.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.01479, allocations: 0.6978 MB / 345.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.01482, allocations: 33 kB / 345.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.01486, allocations: 43.98 kB / 345.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.01529, allocations: 466 kB / 346.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.0153, allocations: 0 / 346.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.01533, allocations: 20 kB / 346.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01534, allocations: 12 kB / 346.1 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.01559, allocations: 185.7 kB / 346.3 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01708, allocations: 2.199 MB / 348.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.01746, allocations: 243.8 kB / 348.7 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.0176, allocations: 95.73 kB / 348.8 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.01762, allocations: 7.984 kB / 348.9 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.01764, allocations: 41.92 kB / 348.9 MB, free: 276 kB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.342e-06/0.01765, allocations: 4 kB / 348.9 MB, free: 272 kB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001372/0.01902, allocations: 1.11 MB / 350 MB, free: 15.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.01906, allocations: 106.8 kB / 350.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.02024, allocations: 1.457 MB / 351.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.02027, allocations: 33.7 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.02063, allocations: 0.6089 MB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.02073, allocations: 162.7 kB / 352.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.02099, allocations: 312.3 kB / 352.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.02114, allocations: 0.5394 MB / 353.2 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.02138, allocations: 172.8 kB / 353.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.02177, allocations: 429.9 kB / 353.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.02223, allocations: 468.9 kB / 354.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02223, allocations: 0 / 354.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0009367/0.02317, allocations: 0.816 MB / 355.1 MB, free: 9.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.02318, allocations: 7.984 kB / 355.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02319, allocations: 4 kB / 355.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.02333, allocations: 35.92 kB / 355.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.02394, allocations: 307.5 kB / 355.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.02504, allocations: 2.644 MB / 358.1 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.02529, allocations: 39.98 kB / 358.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.02534, allocations: 36 kB / 358.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003628/0.0257, allocations: 317.4 kB / 358.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003456/0.02605, allocations: 418 kB / 358.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004547/0.0265, allocations: 456.9 kB / 359.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.02651, allocations: 3.984 kB / 359.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0008657/0.02737, allocations: 0.8199 MB / 360.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.02738, allocations: 4 kB / 360.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.02739, allocations: 8 kB / 360.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-05/0.02748, allocations: 43.64 kB / 360.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.02796, allocations: 247.9 kB / 360.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/0.02836, allocations: 0.8116 MB / 361.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.0286, allocations: 43.97 kB / 361.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.02864, allocations: 36 kB / 361.3 MB, free: 3.293 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.0001855/0.02883, allocations: 311.9 kB / 361.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.02894, allocations: 135.1 kB / 361.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.02931, allocations: 301.1 kB / 362 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.02931, allocations: 7.938 kB / 362.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.02932, allocations: 0 / 362.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.02932, allocations: 3.984 kB / 362.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.03054, allocations: 1.223 MB / 363.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.03055, allocations: 3.984 kB / 363.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.03079, allocations: 99.81 kB / 363.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.03079, allocations: 8.125 kB / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.03081, allocations: 4 kB / 363.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.03081, allocations: 4 kB / 363.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.03082, allocations: 4 kB / 363.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.03132, allocations: 0.5931 MB / 364 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.03152, allocations: 183.1 kB / 364.2 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.03158, allocations: 12 kB / 364.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.03175, allocations: 23.98 kB / 364.2 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.03181, allocations: 31.94 kB / 364.2 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.03182, allocations: 12 kB / 364.3 MB, free: 256 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006644/0.03248, allocations: 0.7697 MB / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.03248, allocations: 3.938 kB / 365 MB, free: 15.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005601/0.03304, allocations: 371.9 kB / 365.4 MB, free: 15.11 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.0006931/0.03374, allocations: 346.7 kB / 365.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.03489, allocations: 0.9259 MB / 366.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03489, allocations: 0.9375 kB / 366.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.03502, allocations: 115.5 kB / 366.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.03563, allocations: 210.4 kB / 367 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.03788, allocations: 1.98 MB / 369 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.03804, allocations: 263.1 kB / 369.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004027/0.03844, allocations: 316.9 kB / 369.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.03855, allocations: 52.48 kB / 369.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03855, allocations: 4 kB / 369.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of Templates: time 0.01312/0.05167, allocations: 10.63 MB / 380.2 MB, free: 476 kB / 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.122198759112507]