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.001435/0.001435, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001629/0.001629, allocations: 208.3 kB / 22.99 MB, free: 4.965 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 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.01386/0.01386, allocations: 1.309 MB / 314.5 MB, free: 1.613 MB / 238.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 0.002073/0.002073, allocations: 63.91 kB / 437.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1201, allocations: 53.68 MB / 491 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006829/0.1269, allocations: 3.904 MB / 494.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.1321, allocations: 2.639 MB / 497.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.1325, allocations: 19.88 kB / 497.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.1351, allocations: 1.115 MB / 498.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009045/0.136, allocations: 457.9 kB / 499.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.1369, allocations: 327.2 kB / 499.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.1381, allocations: 0.8689 MB / 0.4886 GB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.1384, allocations: 155.3 kB / 0.4888 GB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.1389, allocations: 374.5 kB / 0.4891 GB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.1395, allocations: 474.4 kB / 0.4896 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1396, allocations: 60 kB / 0.4896 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.1398, allocations: 119.9 kB / 0.4897 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.1402, allocations: 348.4 kB / 0.4901 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1405, allocations: 349.6 kB / 0.4904 GB, free: 14.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1422, allocations: 1.225 MB / 0.4916 GB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1422, allocations: 3.938 kB / 0.4916 GB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1422, allocations: 0 / 0.4916 GB, free: 13.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1422, allocations: 0 / 0.4916 GB, free: 13.34 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.002743/0.1449, allocations: 1.446 MB / 0.493 GB, free: 11.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.145, allocations: 8.031 kB / 0.493 GB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.1452, allocations: 151.4 kB / 0.4932 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.1468, allocations: 1.011 MB / 0.4942 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.1469, allocations: 33 kB / 0.4942 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/0.1469, allocations: 40 kB / 0.4942 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1483, allocations: 0.5455 MB / 0.4948 GB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1483, allocations: 3.953 kB / 0.4948 GB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.1483, allocations: 16 kB / 0.4948 GB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1483, allocations: 15.94 kB / 0.4948 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1494, allocations: 419.6 kB / 0.4952 GB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.1526, allocations: 1.936 MB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1537, allocations: 378.7 kB / 0.4975 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.1542, allocations: 188.7 kB / 0.4976 GB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.1543, allocations: 4 kB / 0.4976 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1543, allocations: 42.55 kB / 0.4977 GB, free: 6.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/0.1543, allocations: 0 / 0.4977 GB, free: 6.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004074/0.1584, allocations: 1.599 MB / 0.4992 GB, free: 5.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1585, allocations: 114.8 kB / 0.4993 GB, free: 5.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.1611, allocations: 1.94 MB / 0.5012 GB, free: 3.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.1611, allocations: 37.64 kB / 0.5013 GB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.1616, allocations: 489.4 kB / 0.5017 GB, free: 2.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1618, allocations: 174.6 kB / 0.5019 GB, free: 2.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.1622, allocations: 282.7 kB / 0.5022 GB, free: 2.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1624, allocations: 361.9 kB / 0.5025 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.1635, allocations: 0.5799 MB / 0.5031 GB, free: 1.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.1647, allocations: 0.7692 MB / 0.5038 GB, free: 448 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2373/0.402, allocations: 0.9065 MB / 0.5047 GB, free: 24.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.402, allocations: 1.219 kB / 0.5047 GB, free: 24.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003024/0.405, allocations: 1.56 MB / 0.5063 GB, free: 24.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.405, allocations: 9.469 kB / 0.5063 GB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4051, allocations: 1.469 kB / 0.5063 GB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.4053, allocations: 39.39 kB / 0.5063 GB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4065, allocations: 355 kB / 0.5066 GB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.4082, allocations: 1.989 MB / 0.5086 GB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.4089, allocations: 54.7 kB / 0.5086 GB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.4089, allocations: 36.27 kB / 0.5087 GB, free: 23.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001421/0.4104, allocations: 0.9147 MB / 0.5096 GB, free: 22.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/0.4114, allocations: 0.7593 MB / 0.5103 GB, free: 22.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001433/0.4128, allocations: 0.8912 MB / 0.5112 GB, free: 22.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.4128, allocations: 5.031 kB / 0.5112 GB, free: 22.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002541/0.4154, allocations: 1.542 MB / 0.5127 GB, free: 21.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4154, allocations: 6.5 kB / 0.5127 GB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4154, allocations: 3.453 kB / 0.5127 GB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.4156, allocations: 39.08 kB / 0.5127 GB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/0.4164, allocations: 259.1 kB / 0.513 GB, free: 21.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/0.4167, allocations: 0.5544 MB / 0.5135 GB, free: 21.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.4173, allocations: 53.53 kB / 0.5136 GB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.4173, allocations: 35.41 kB / 0.5136 GB, free: 21.18 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.0002435/0.4176, allocations: 231.4 kB / 0.5138 GB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.4177, allocations: 124 kB / 0.5139 GB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.419, allocations: 496.1 kB / 0.5144 GB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.419, allocations: 3.969 kB / 0.5144 GB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.419, allocations: 0.5625 kB / 0.5144 GB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.419, allocations: 3.203 kB / 0.5144 GB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.4214, allocations: 1.196 MB / 0.5156 GB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4215, allocations: 4.219 kB / 0.5156 GB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.422, allocations: 108.2 kB / 0.5157 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.422, allocations: 6.688 kB / 0.5157 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.422, allocations: 7.281 kB / 0.5157 GB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.422, allocations: 4.375 kB / 0.5157 GB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.422, allocations: 1.375 kB / 0.5157 GB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4237, allocations: 0.8315 MB / 0.5165 GB, free: 19.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.4241, allocations: 182.8 kB / 0.5167 GB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.4242, allocations: 14.3 kB / 0.5167 GB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.4247, allocations: 35.72 kB / 0.5168 GB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.4247, allocations: 37.5 kB / 0.5168 GB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4248, allocations: 8.094 kB / 0.5168 GB, free: 19.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.4264, allocations: 1.263 MB / 0.518 GB, free: 19.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4264, allocations: 0 / 0.518 GB, free: 19.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001232/0.4277, allocations: 364.3 kB / 0.5184 GB, free: 19.14 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.001456/0.4291, allocations: 404.2 kB / 0.5188 GB, free: 18.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.4328, allocations: 1.71 MB / 0.5204 GB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4328, allocations: 2.734 kB / 0.5204 GB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.4333, allocations: 206.3 kB / 0.5206 GB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4346, allocations: 185.8 kB / 0.5208 GB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.4388, allocations: 2.343 MB / 0.5231 GB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/0.4397, allocations: 0.5186 MB / 0.5236 GB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.4399, allocations: 58.64 kB / 0.5237 GB, free: 17.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4399, allocations: 0 / 0.5237 GB, free: 17.05 MB / 366.1 MB Notification: Performance of Templates: time 0.0233/0.4632, allocations: 17.42 MB / 0.5407 GB, free: 1.715 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: 9.770816031843424] Failed to read output from testmodel.py, exit status != 0: 0.4715484376065433 0.489325482 0.34382203899999997 Calling exit ...