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.001136/0.001136, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001272/0.001272, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8649/0.8649, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.005121/0.005121, allocations: 1.015 MB / 261 MB, free: 12.24 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.593e-06/1.593e-06, allocations: 0 / 383.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.817e-05, allocations: 2.281 kB / 383.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.003869/0.003897, allocations: 3.936 MB / 387.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.007003, allocations: 2.631 MB / 390.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.007333, allocations: 27.81 kB / 390.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.009, allocations: 1.12 MB / 391.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.009602, allocations: 465.7 kB / 392.1 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.01016, allocations: 323.1 kB / 392.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.01088, allocations: 0.8997 MB / 393.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.01113, allocations: 143.4 kB / 393.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.0116, allocations: 0.4909 MB / 393.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.01197, allocations: 415.3 kB / 394.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.01203, allocations: 60 kB / 394.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.01222, allocations: 119.8 kB / 394.5 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.01241, allocations: 356.4 kB / 394.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01257, allocations: 259 kB / 395.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000911/0.01348, allocations: 1.172 MB / 396.3 MB, free: 1.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.01348, allocations: 0 / 396.3 MB, free: 1.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01349, allocations: 0 / 396.3 MB, free: 1.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.01351, allocations: 3.984 kB / 396.3 MB, free: 1.18 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001596/0.0151, allocations: 1.434 MB / 397.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01514, allocations: 12.02 kB / 397.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01529, allocations: 139.4 kB / 397.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009409/0.01623, allocations: 1.015 MB / 398.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.01626, allocations: 29 kB / 398.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.01631, allocations: 44 kB / 398.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.01691, allocations: 0.5377 MB / 399.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.01693, allocations: 7.953 kB / 399.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.01696, allocations: 16 kB / 399.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01697, allocations: 12 kB / 399.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.01755, allocations: 415.6 kB / 399.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.01939, allocations: 1.936 MB / 401.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.02003, allocations: 382.6 kB / 402.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.02031, allocations: 188.7 kB / 402.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.02034, allocations: 8 kB / 402.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.02037, allocations: 42.5 kB / 402.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.02037, allocations: 0 / 402.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002195/0.02257, allocations: 1.599 MB / 404 MB, free: 9.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.02262, allocations: 106.8 kB / 404.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.02405, allocations: 1.952 MB / 406.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.02407, allocations: 37.7 kB / 406.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.02434, allocations: 488.8 kB / 406.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.02442, allocations: 166.7 kB / 406.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.02465, allocations: 278.7 kB / 407.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02475, allocations: 357.9 kB / 407.4 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.02532, allocations: 0.576 MB / 408 MB, free: 5.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.02597, allocations: 0.7732 MB / 408.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.02686, allocations: 0.9183 MB / 409.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.02687, allocations: 4 kB / 409.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001537/0.02841, allocations: 1.571 MB / 411.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.02843, allocations: 11.94 kB / 411.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.02843, allocations: 0 / 411.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.02856, allocations: 45.08 kB / 411.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.02921, allocations: 355.5 kB / 411.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1397/0.169, allocations: 1.973 MB / 413.6 MB, free: 38.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.1696, allocations: 58.61 kB / 413.7 MB, free: 38.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.1697, allocations: 36.59 kB / 413.7 MB, free: 38.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001019/0.1707, allocations: 0.9128 MB / 414.6 MB, free: 38.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006962/0.1714, allocations: 0.7556 MB / 415.4 MB, free: 38.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00095/0.1723, allocations: 0.8923 MB / 416.3 MB, free: 38.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.1723, allocations: 1.547 kB / 416.3 MB, free: 38.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001715/0.174, allocations: 1.549 MB / 417.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1741, allocations: 13.86 kB / 417.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1741, allocations: 2.781 kB / 417.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.1742, allocations: 35.34 kB / 417.9 MB, free: 37.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1747, allocations: 258.3 kB / 418.1 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000187/0.1749, allocations: 0.5521 MB / 418.7 MB, free: 37.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.1752, allocations: 54.42 kB / 418.7 MB, free: 37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.1752, allocations: 34.91 kB / 418.8 MB, free: 36.99 MB / 330.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.0001535/0.1754, allocations: 231.6 kB / 419 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.1755, allocations: 119.9 kB / 419.1 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.1763, allocations: 496.6 kB / 419.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1763, allocations: 5.094 kB / 419.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1763, allocations: 3.688 kB / 419.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1763, allocations: 2.203 kB / 419.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.1777, allocations: 1.188 MB / 420.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1778, allocations: 2.078 kB / 420.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.178, allocations: 104.7 kB / 420.9 MB, free: 36.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.178, allocations: 6.781 kB / 420.9 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1781, allocations: 13.97 kB / 420.9 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1781, allocations: 3.969 kB / 420.9 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1781, allocations: 2.031 kB / 420.9 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.179, allocations: 0.8261 MB / 421.8 MB, free: 35.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.1793, allocations: 190.8 kB / 421.9 MB, free: 35.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.1794, allocations: 13.11 kB / 422 MB, free: 35.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1796, allocations: 32.28 kB / 422 MB, free: 35.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.1796, allocations: 28.83 kB / 422 MB, free: 35.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1796, allocations: 13.33 kB / 422 MB, free: 35.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.1808, allocations: 1.263 MB / 423.3 MB, free: 35.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1808, allocations: 0 / 423.3 MB, free: 35.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.1815, allocations: 371.6 kB / 423.6 MB, free: 35.04 MB / 330.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.0006844/0.1822, allocations: 392.3 kB / 424 MB, free: 34.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.1846, allocations: 1.703 MB / 425.7 MB, free: 34.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1846, allocations: 1.75 kB / 425.7 MB, free: 34.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1849, allocations: 210.5 kB / 425.9 MB, free: 34.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.1855, allocations: 199.3 kB / 426.1 MB, free: 34.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.1881, allocations: 2.233 MB / 428.4 MB, free: 33.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.1885, allocations: 0.5135 MB / 428.9 MB, free: 33.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1887, allocations: 64.56 kB / 428.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1887, allocations: 0 / 428.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of Templates: time 0.0139/0.2026, allocations: 17.42 MB / 446.4 MB, free: 17.31 MB / 330.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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.938912697136402] Failed to read output from testmodel.py, exit status != 0: 0.2080202903598547 0.213933489 0.19908388200000002 Calling exit ...