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.001589/0.001589, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00146/0.00146, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.457/1.457, allocations: 230.6 MB / 256 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.009402/0.009402, allocations: 1.303 MB / 313.7 MB, free: 1.637 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.002051/0.002051, allocations: 63.91 kB / 436.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1246, allocations: 53.66 MB / 490.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006898/0.1315, allocations: 3.92 MB / 494.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.1365, allocations: 2.628 MB / 496.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.1368, allocations: 23.81 kB / 496.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.1395, allocations: 1.129 MB / 498 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008841/0.1403, allocations: 453.9 kB / 498.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.1412, allocations: 327 kB / 498.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.1421, allocations: 0.8689 MB / 499.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.1425, allocations: 163.3 kB / 499.7 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.1429, allocations: 370.6 kB / 0.4884 GB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.1435, allocations: 470.3 kB / 0.4888 GB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-05/0.1436, allocations: 60 kB / 0.4889 GB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1439, allocations: 116 kB / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.1442, allocations: 344.4 kB / 0.4893 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.1445, allocations: 361.5 kB / 0.4897 GB, free: 14.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.146, allocations: 1.221 MB / 0.4909 GB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.146, allocations: 7.938 kB / 0.4909 GB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.146, allocations: 0 / 0.4909 GB, free: 13.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.146, allocations: 0 / 0.4909 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.002444/0.1484, allocations: 1.442 MB / 0.4923 GB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1485, allocations: 8.031 kB / 0.4923 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.1487, allocations: 143.4 kB / 0.4924 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1502, allocations: 1.015 MB / 0.4934 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.1503, allocations: 29 kB / 0.4935 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.1504, allocations: 43.98 kB / 0.4935 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1514, allocations: 0.5338 MB / 0.494 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.1514, allocations: 7.938 kB / 0.494 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.1515, allocations: 20 kB / 0.494 GB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1515, allocations: 19.94 kB / 0.4941 GB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1526, allocations: 407.6 kB / 0.4944 GB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.1556, allocations: 1.944 MB / 0.4963 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1566, allocations: 382.7 kB / 0.4967 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.1571, allocations: 184.7 kB / 0.4969 GB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1572, allocations: 4 kB / 0.4969 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1572, allocations: 38.56 kB / 0.4969 GB, free: 6.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.1572, allocations: 0 / 0.4969 GB, free: 6.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003903/0.1611, allocations: 1.614 MB / 0.4985 GB, free: 5.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.1612, allocations: 106.8 kB / 0.4986 GB, free: 5.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.1636, allocations: 1.948 MB / 0.5005 GB, free: 3.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1637, allocations: 33.7 kB / 0.5005 GB, free: 3.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.1642, allocations: 485.4 kB / 0.501 GB, free: 2.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1643, allocations: 170.6 kB / 0.5012 GB, free: 2.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/0.1647, allocations: 286.7 kB / 0.5014 GB, free: 2.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1649, allocations: 361.9 kB / 0.5018 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.1659, allocations: 0.5798 MB / 0.5024 GB, free: 1.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.167, allocations: 0.7693 MB / 0.5031 GB, free: 460 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2233/0.3903, allocations: 0.9061 MB / 0.504 GB, free: 24.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3903, allocations: 0.9375 kB / 0.504 GB, free: 24.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002809/0.3931, allocations: 1.567 MB / 0.5055 GB, free: 24.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3932, allocations: 6.812 kB / 0.5055 GB, free: 24.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3932, allocations: 3.453 kB / 0.5055 GB, free: 24.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.3933, allocations: 35.67 kB / 0.5056 GB, free: 24.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3945, allocations: 353.7 kB / 0.5059 GB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.396, allocations: 1.994 MB / 0.5078 GB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/0.3967, allocations: 51.69 kB / 0.5079 GB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.3967, allocations: 36.7 kB / 0.5079 GB, free: 23.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.3981, allocations: 0.9179 MB / 0.5088 GB, free: 22.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009468/0.399, allocations: 0.7593 MB / 0.5096 GB, free: 22.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.4004, allocations: 0.8903 MB / 0.5104 GB, free: 22.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.4004, allocations: 1.062 kB / 0.5104 GB, free: 22.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002368/0.4027, allocations: 1.544 MB / 0.5119 GB, free: 21.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4027, allocations: 6.75 kB / 0.512 GB, free: 21.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4028, allocations: 1.906 kB / 0.512 GB, free: 21.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.4029, allocations: 37.92 kB / 0.512 GB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.4037, allocations: 269.2 kB / 0.5122 GB, free: 21.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000241/0.404, allocations: 0.5495 MB / 0.5128 GB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.4045, allocations: 51.98 kB / 0.5128 GB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.4046, allocations: 35.39 kB / 0.5129 GB, free: 21.19 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.0002132/0.4048, allocations: 224.7 kB / 0.5131 GB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4049, allocations: 130.1 kB / 0.5132 GB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4061, allocations: 495.3 kB / 0.5137 GB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4061, allocations: 4.922 kB / 0.5137 GB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4061, allocations: 4.406 kB / 0.5137 GB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4061, allocations: 4 kB / 0.5137 GB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.4084, allocations: 1.192 MB / 0.5149 GB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4084, allocations: 5.812 kB / 0.5149 GB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.4089, allocations: 107.5 kB / 0.515 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4089, allocations: 4.172 kB / 0.515 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.4089, allocations: 8.359 kB / 0.515 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4089, allocations: 2.562 kB / 0.515 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4089, allocations: 1.938 kB / 0.515 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4105, allocations: 0.8293 MB / 0.5158 GB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.4108, allocations: 186.5 kB / 0.516 GB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.4109, allocations: 15.42 kB / 0.516 GB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.4113, allocations: 32.34 kB / 0.516 GB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.4114, allocations: 33.05 kB / 0.516 GB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.4114, allocations: 14.28 kB / 0.5161 GB, free: 19.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.4129, allocations: 1.259 MB / 0.5173 GB, free: 19.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4129, allocations: 0 / 0.5173 GB, free: 19.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4139, allocations: 367.2 kB / 0.5176 GB, free: 19.15 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.001358/0.4153, allocations: 406.3 kB / 0.518 GB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.4187, allocations: 1.707 MB / 0.5197 GB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4187, allocations: 0 / 0.5197 GB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.4192, allocations: 206.1 kB / 0.5199 GB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/0.4202, allocations: 189.2 kB / 0.5201 GB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.4235, allocations: 2.45 MB / 0.5225 GB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.4242, allocations: 0.5688 MB / 0.523 GB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008482/0.425, allocations: 370.7 kB / 0.5234 GB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4252, allocations: 53.23 kB / 0.5234 GB, free: 16.98 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4252, allocations: 0 / 0.5234 GB, free: 16.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01615/0.4413, allocations: 11.16 MB / 0.5343 GB, free: 7.645 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: 5.0395970195531845] Failed to read output from testmodel.py, exit status != 0: 0.44876565784215927 0.46085720399999996 0.31185009899999994 Calling exit ...