Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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.00202/0.00202, allocations: 92.7 kB / 19.44 MB, free: 324 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.002873/0.002873, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.009376/0.009376, allocations: 1.002 MB / 260.6 MB, free: 12.09 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_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 330.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.932e-05, allocations: 2.312 kB / 330.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.004932/0.004961, allocations: 4.197 MB / 334.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.01017, allocations: 3.621 MB / 337.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.01079, allocations: 23.88 kB / 338 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.01323, allocations: 1.163 MB / 339.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.01434, allocations: 0.5013 MB / 339.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.01516, allocations: 375 kB / 340 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000786/0.01594, allocations: 0.9703 MB / 341 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.01627, allocations: 171.9 kB / 341.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.01682, allocations: 0.5532 MB / 341.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.01725, allocations: 435.2 kB / 342.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.01733, allocations: 64 kB / 342.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.0177, allocations: 223.8 kB / 342.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.01792, allocations: 364.3 kB / 342.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.01814, allocations: 275 kB / 343 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.01922, allocations: 1.343 MB / 344.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.01922, allocations: 0 / 344.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01922, allocations: 0 / 344.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.01924, allocations: 0 / 344.4 MB, free: 4.645 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001838/0.02107, allocations: 1.535 MB / 345.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.02111, allocations: 8.031 kB / 345.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.02131, allocations: 187.4 kB / 346.1 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.02241, allocations: 1.067 MB / 347.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.02244, allocations: 29 kB / 347.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.02251, allocations: 48 kB / 347.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.02324, allocations: 0.5463 MB / 347.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.02326, allocations: 11.95 kB / 347.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.0233, allocations: 20 kB / 347.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.02331, allocations: 12 kB / 347.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.02396, allocations: 343.7 kB / 348.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.02677, allocations: 1.865 MB / 350 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.02773, allocations: 361.5 kB / 350.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.02822, allocations: 199.6 kB / 350.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.02827, allocations: 12.27 kB / 350.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.0288, allocations: 216.2 kB / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/0.0288, allocations: 0 / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003873/0.03267, allocations: 1.621 MB / 352.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.03279, allocations: 132.5 kB / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.03572, allocations: 2.014 MB / 354.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.03578, allocations: 33.7 kB / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.03636, allocations: 0.4972 MB / 355.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.03656, allocations: 178.6 kB / 355.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000574/0.03714, allocations: 282.7 kB / 355.5 MB, free: 9.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.03737, allocations: 357.9 kB / 355.9 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/0.03835, allocations: 0.5487 MB / 356.4 MB, free: 8.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.03953, allocations: 0.7679 MB / 357.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.04111, allocations: 0.8704 MB / 358.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04112, allocations: 4 kB / 358.1 MB, free: 6.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003284/0.0444, allocations: 1.555 MB / 359.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.04442, allocations: 4 kB / 359.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.04444, allocations: 4 kB / 359.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.04469, allocations: 52.81 kB / 359.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.04611, allocations: 351.7 kB / 360 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.04991, allocations: 3.29 MB / 363.3 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.05068, allocations: 48.25 kB / 363.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.05077, allocations: 36 kB / 363.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001622/0.0524, allocations: 0.8812 MB / 364.3 MB, free: 32 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/0.05355, allocations: 0.7523 MB / 365 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00146/0.05501, allocations: 0.8507 MB / 365.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.05501, allocations: 0 / 365.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.003112/0.05812, allocations: 1.543 MB / 367.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.05814, allocations: 7.938 kB / 367.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.05816, allocations: 4 kB / 367.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.05836, allocations: 52.81 kB / 367.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.05934, allocations: 263.9 kB / 367.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.0611, allocations: 1.856 MB / 369.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.06173, allocations: 35.98 kB / 369.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.06181, allocations: 40.28 kB / 369.7 MB, free: 10.4 MB / 298.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: 6 ($PRE.measurementsTable.nextTimeEvent,$whenCondition1,measurementsTable.nextTimeEventScaled,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEvent,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): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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.0003183/0.06213, allocations: 232.7 kB / 369.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.06237, allocations: 143.2 kB / 370 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.06367, allocations: 0.514 MB / 370.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.06368, allocations: 15.88 kB / 370.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.06368, allocations: 48 / 370.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.06369, allocations: 11.97 kB / 370.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.06614, allocations: 1.207 MB / 371.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.06614, allocations: 3.984 kB / 371.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.06665, allocations: 99.89 kB / 371.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.06665, allocations: 0 / 371.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.06669, allocations: 20.02 kB / 371.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.0667, allocations: 4 kB / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0667, allocations: 0 / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.06835, allocations: 0.8362 MB / 372.8 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.06877, allocations: 199.1 kB / 372.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.06888, allocations: 16.12 kB / 373 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.06925, allocations: 27.97 kB / 373 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.06935, allocations: 32.44 kB / 373 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.06938, allocations: 16 kB / 373 MB, free: 6.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002207/0.07159, allocations: 1.302 MB / 374.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07159, allocations: 0 / 374.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001304/0.07289, allocations: 419.8 kB / 374.8 MB, free: 5.242 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,torqueLoad.phi,sine.phi) * Number of discrete variables: 3 ($whenCondition1,measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of discrete states: 2 (measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003815/0.07671, allocations: 0.8266 MB / 375.6 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.08063, allocations: 1.681 MB / 377.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.08064, allocations: 0 / 377.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.08111, allocations: 195.4 kB / 377.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.08241, allocations: 225.5 kB / 377.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.0869, allocations: 2.509 MB / 380.2 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/0.08774, allocations: 0.6138 MB / 380.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.08897, allocations: 385.1 kB / 381.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.08918, allocations: 64.48 kB / 381.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.08918, allocations: 0 / 381.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.02623/0.1154, allocations: 12.29 MB / 393.5 MB, free: 2.949 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.270009225001559]