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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.01607/0.01607, allocations: 1.29 MB / 304.6 MB, free: 3.609 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002209/0.002209, allocations: 67.89 kB / 423.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 52.43 MB / 476.1 MB, free: 28 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.005291/0.3394, allocations: 4.236 MB / 480.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.3433, allocations: 2.647 MB / 483 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.3441, allocations: 17.47 kB / 483 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.3468, allocations: 1.139 MB / 484.1 MB, free: 22.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3479, allocations: 407.9 kB / 484.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.3488, allocations: 314.4 kB / 484.8 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.35, allocations: 0.8695 MB / 485.7 MB, free: 22.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.3504, allocations: 160.9 kB / 485.9 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.351, allocations: 365 kB / 486.2 MB, free: 21.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.3516, allocations: 497 kB / 486.7 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3518, allocations: 61.53 kB / 486.8 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.3521, allocations: 113 kB / 486.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.3524, allocations: 345.9 kB / 487.2 MB, free: 21.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.3528, allocations: 487.2 kB / 487.7 MB, free: 21.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.354, allocations: 1.199 MB / 488.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.354, allocations: 0 / 488.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.354, allocations: 3.938 kB / 488.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.354, allocations: 0 / 488.9 MB, free: 20.62 MB / 366.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.002161/0.3562, allocations: 1.51 MB / 490.4 MB, free: 19.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3562, allocations: 9.812 kB / 490.4 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.3564, allocations: 140.2 kB / 490.6 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3576, allocations: 1.078 MB / 491.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3577, allocations: 31.16 kB / 491.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.3577, allocations: 42.98 kB / 491.7 MB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/0.3587, allocations: 494.9 kB / 492.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3588, allocations: 2.125 kB / 492.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.3588, allocations: 20.94 kB / 492.2 MB, free: 18.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3588, allocations: 20.69 kB / 492.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3599, allocations: 412.1 kB / 492.6 MB, free: 18.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.3631, allocations: 2.212 MB / 494.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3642, allocations: 467 kB / 495.3 MB, free: 16.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.3647, allocations: 185.9 kB / 495.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.3647, allocations: 16.62 kB / 495.5 MB, free: 16.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3648, allocations: 38.23 kB / 495.5 MB, free: 16.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.3648, allocations: 0 / 495.5 MB, free: 16.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004084/0.3689, allocations: 1.746 MB / 497.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3689, allocations: 86.27 kB / 497.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.3718, allocations: 1.944 MB / 499.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.3719, allocations: 36.33 kB / 499.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.3722, allocations: 484.6 kB / 499.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3724, allocations: 174.5 kB / 500 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.3728, allocations: 285.2 kB / 0.4885 GB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.3729, allocations: 355.4 kB / 0.4889 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.3739, allocations: 0.5792 MB / 0.4894 GB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.3751, allocations: 0.719 MB / 0.4901 GB, free: 13.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3767, allocations: 0.9059 MB / 0.491 GB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3767, allocations: 1.188 kB / 0.491 GB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002834/0.3795, allocations: 1.564 MB / 0.4926 GB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3795, allocations: 7 kB / 0.4926 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3796, allocations: 2.375 kB / 0.4926 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.3798, allocations: 38.19 kB / 0.4926 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3811, allocations: 360.3 kB / 0.4929 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.383, allocations: 2.113 MB / 0.495 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.3842, allocations: 53.19 kB / 0.4951 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3843, allocations: 40.92 kB / 0.4951 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001845/0.3861, allocations: 0.9144 MB / 0.496 GB, free: 10.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.3872, allocations: 0.698 MB / 0.4967 GB, free: 9.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001511/0.3887, allocations: 0.8824 MB / 0.4975 GB, free: 9.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.3887, allocations: 1.375 kB / 0.4975 GB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002635/0.3914, allocations: 1.55 MB / 0.4991 GB, free: 8.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3914, allocations: 10.16 kB / 0.4991 GB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3914, allocations: 2.688 kB / 0.4991 GB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.3915, allocations: 43.23 kB / 0.4991 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.3925, allocations: 263.8 kB / 0.4994 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000251/0.3927, allocations: 0.5469 MB / 0.4999 GB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.3935, allocations: 50.02 kB / 0.4999 GB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.3935, allocations: 36.2 kB / 0.5 GB, free: 8.32 MB / 366.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.0002332/0.3938, allocations: 236.4 kB / 0.5002 GB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3939, allocations: 124.2 kB / 0.5003 GB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3952, allocations: 496.8 kB / 0.5008 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3952, allocations: 4.219 kB / 0.5008 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3952, allocations: 0 / 0.5008 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3952, allocations: 6.016 kB / 0.5008 GB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.3978, allocations: 1.42 MB / 0.5022 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3978, allocations: 0 / 0.5022 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3983, allocations: 104.5 kB / 0.5023 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.3983, allocations: 7.312 kB / 0.5023 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.3983, allocations: 7.5 kB / 0.5023 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3983, allocations: 15.44 kB / 0.5023 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3983, allocations: 6.156 kB / 0.5023 GB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.4001, allocations: 0.82 MB / 0.5031 GB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.4005, allocations: 263.8 kB / 0.5034 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4006, allocations: 19.52 kB / 0.5034 GB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.401, allocations: 37.66 kB / 0.5034 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.4011, allocations: 33.08 kB / 0.5035 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4011, allocations: 12.84 kB / 0.5035 GB, free: 6.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.4027, allocations: 1.266 MB / 0.5047 GB, free: 5.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4027, allocations: 0 / 0.5047 GB, free: 5.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001232/0.4039, allocations: 370.4 kB / 0.5051 GB, free: 5.695 MB / 366.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.001329/0.4052, allocations: 364.3 kB / 0.5054 GB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003301/0.4085, allocations: 1.709 MB / 0.5071 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4086, allocations: 0 / 0.5071 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.409, allocations: 195.8 kB / 0.5073 GB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.4103, allocations: 198.9 kB / 0.5075 GB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.4134, allocations: 2.319 MB / 0.5097 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.4138, allocations: 1.119 MB / 0.5108 GB, free: 288 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4141, allocations: 59.42 kB / 0.5109 GB, free: 228 kB / 366.1 MB Notification: Performance of SimCode: time 1.502e-06/0.4141, allocations: 0 / 0.5109 GB, free: 228 kB / 366.1 MB Notification: Performance of Templates: time 0.02733/0.4414, allocations: 16.99 MB / 0.5275 GB, free: 15.23 MB / 398.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: 9.15988290682435] Failed to read output from testmodel.py, exit status != 0: 0.450142057845369 0.46414690300000006 0.10695612600000001 Calling exit ...