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.001362/0.001362, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001531/0.001531, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.388/1.388, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 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.01582/0.01582, allocations: 1.009 MB / 260.2 MB, free: 15.69 MB / 254.1 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.014e-06/2.014e-06, allocations: 0 / 383.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.911e-05, allocations: 2.281 kB / 383.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006445/0.006474, allocations: 3.931 MB / 387.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.01113, allocations: 2.624 MB / 389.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.01153, allocations: 27.81 kB / 389.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.01399, allocations: 1.12 MB / 390.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009305/0.01492, allocations: 465.6 kB / 391.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.01576, allocations: 330.3 kB / 391.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.01707, allocations: 0.892 MB / 392.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.01745, allocations: 151.4 kB / 392.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.0181, allocations: 0.4909 MB / 393.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.01866, allocations: 411.3 kB / 393.6 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01877, allocations: 56 kB / 393.6 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.01903, allocations: 127.8 kB / 393.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.01937, allocations: 344.4 kB / 394.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.01968, allocations: 271 kB / 394.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.02112, allocations: 1.168 MB / 395.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.02113, allocations: 0 / 395.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02113, allocations: 4 kB / 395.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.02114, allocations: 0 / 395.5 MB, free: 6.938 MB / 318.1 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.002449/0.02359, allocations: 1.434 MB / 396.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.02363, allocations: 8.031 kB / 396.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.02384, allocations: 139.4 kB / 397.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.02532, allocations: 1.007 MB / 398.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.02536, allocations: 33 kB / 398.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.02545, allocations: 43.98 kB / 398.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.02655, allocations: 0.5377 MB / 398.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.02658, allocations: 15.94 kB / 398.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.02662, allocations: 19.94 kB / 398.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.02663, allocations: 15.94 kB / 398.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.02776, allocations: 415.6 kB / 399.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.03071, allocations: 1.936 MB / 401.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.03179, allocations: 384 kB / 401.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.03235, allocations: 188.7 kB / 401.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.03239, allocations: 4 kB / 401.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.03243, allocations: 50.44 kB / 401.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.03244, allocations: 0 / 401.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004/0.03644, allocations: 1.595 MB / 403.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.03652, allocations: 106.8 kB / 403.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.03883, allocations: 1.952 MB / 405.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.03887, allocations: 29.7 kB / 405.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.03932, allocations: 493.4 kB / 405.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.03945, allocations: 162.7 kB / 406 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.03983, allocations: 282.7 kB / 406.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.04005, allocations: 357.9 kB / 406.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.04105, allocations: 0.5798 MB / 407.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.04226, allocations: 0.7731 MB / 408 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.0439, allocations: 0.9182 MB / 408.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0439, allocations: 0 / 408.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002642/0.04654, allocations: 1.563 MB / 410.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.04656, allocations: 8 kB / 410.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.04657, allocations: 3.984 kB / 410.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.04675, allocations: 41.08 kB / 410.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.04802, allocations: 359.4 kB / 410.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.05019, allocations: 1.983 MB / 412.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.05071, allocations: 56.08 kB / 412.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.05078, allocations: 36 kB / 413 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/0.0522, allocations: 0.9124 MB / 413.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001151/0.05335, allocations: 0.7575 MB / 414.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/0.05495, allocations: 0.8951 MB / 415.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.05496, allocations: 0 / 415.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002644/0.0576, allocations: 1.543 MB / 417.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.05761, allocations: 4 kB / 417.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.05762, allocations: 4 kB / 417.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.05776, allocations: 44.77 kB / 417.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.05862, allocations: 259.6 kB / 417.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004048/0.05902, allocations: 0.5564 MB / 417.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.05952, allocations: 51.95 kB / 418 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.05959, allocations: 36 kB / 418 MB, free: 15.76 MB / 350.1 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.0002497/0.05984, allocations: 242 kB / 418.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.06, allocations: 119.2 kB / 418.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.06126, allocations: 489 kB / 418.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.06127, allocations: 7.938 kB / 418.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.06127, allocations: 0 / 418.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.06128, allocations: 7.984 kB / 418.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.06362, allocations: 1.195 MB / 420.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.06363, allocations: 4.125 kB / 420.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.06413, allocations: 107.9 kB / 420.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.06414, allocations: 4 kB / 420.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.06416, allocations: 8 kB / 420.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.06417, allocations: 4 kB / 420.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.06417, allocations: 0 / 420.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.06596, allocations: 0.8341 MB / 421 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.06631, allocations: 187.2 kB / 421.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.06641, allocations: 12 kB / 421.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.06681, allocations: 31.97 kB / 421.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.0669, allocations: 31.94 kB / 421.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.06693, allocations: 12 kB / 421.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.06853, allocations: 1.258 MB / 422.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06853, allocations: 0 / 422.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009544/0.06948, allocations: 379.9 kB / 422.9 MB, free: 10.76 MB / 350.1 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.00144/0.07092, allocations: 392.1 kB / 423.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.07444, allocations: 1.713 MB / 425 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.07444, allocations: 0 / 425 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.07499, allocations: 200.4 kB / 425.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.07602, allocations: 193 kB / 425.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.07981, allocations: 2.331 MB / 427.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.08056, allocations: 0.5728 MB / 428.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008015/0.08136, allocations: 364.9 kB / 428.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.08155, allocations: 60.48 kB / 428.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.08155, allocations: 4 kB / 428.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of Templates: time 0.02055/0.1021, allocations: 9.996 MB / 438.7 MB, free: 11.18 MB / 366.1 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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.753131043165922] Failed to read output from testmodel.py, exit status != 0: 0.11133081465959549 0.282685336 0.25831839300000004 Calling exit ...