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.0009148/0.0009148, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009112/0.0009112, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.008286/0.008286, allocations: 1.015 MB / 261.3 MB, free: 11.94 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.613e-06/1.613e-06, allocations: 0 / 278.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.644e-05, allocations: 2.312 kB / 278.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.007392/0.007419, allocations: 4.124 MB / 282.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.01248, allocations: 2.747 MB / 284.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.01291, allocations: 19.88 kB / 285 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.01482, allocations: 1.14 MB / 286.1 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.01546, allocations: 461.6 kB / 286.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.01601, allocations: 315.3 kB / 286.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.01666, allocations: 0.8959 MB / 287.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.0169, allocations: 169.3 kB / 287.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.0173, allocations: 494.7 kB / 288.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.01761, allocations: 379.4 kB / 288.8 MB, free: 364 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.01767, allocations: 59.94 kB / 288.8 MB, free: 304 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.01785, allocations: 123.9 kB / 289 MB, free: 180 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1345/0.1524, allocations: 344.5 kB / 289.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.1528, allocations: 265.1 kB / 289.6 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1541, allocations: 0.7762 MB / 290.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1541, allocations: 0.7031 kB / 290.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1541, allocations: 0 / 290.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.486e-05/0.1541, allocations: 0 / 290.3 MB, free: 20.99 MB / 266.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.001787/0.1559, allocations: 1.36 MB / 291.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1559, allocations: 9.969 kB / 291.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.1561, allocations: 106.6 kB / 291.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/0.157, allocations: 0.706 MB / 292.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.1571, allocations: 33.66 kB / 292.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.1571, allocations: 48.33 kB / 292.6 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.1578, allocations: 431.3 kB / 293 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1578, allocations: 5.797 kB / 293 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.1579, allocations: 17.91 kB / 293 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1579, allocations: 10.22 kB / 293 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1582, allocations: 136.4 kB / 293.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.16, allocations: 1.274 MB / 294.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.1604, allocations: 246.9 kB / 294.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1606, allocations: 72.64 kB / 294.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.1606, allocations: 9.781 kB / 294.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1606, allocations: 40.75 kB / 294.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.1606, allocations: 1.062 kB / 294.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001516/0.1621, allocations: 0.7949 MB / 295.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1622, allocations: 111.8 kB / 295.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.1638, allocations: 1.233 MB / 296.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1638, allocations: 31.95 kB / 297 MB, free: 18.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1641, allocations: 341.6 kB / 297.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1642, allocations: 161.2 kB / 297.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.1645, allocations: 262.3 kB / 297.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.1646, allocations: 355.1 kB / 298.1 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.1649, allocations: 153.5 kB / 298.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.1653, allocations: 321.3 kB / 298.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.1658, allocations: 427.3 kB / 299 MB, free: 17.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1658, allocations: 0 / 299 MB, free: 17.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.000984/0.1668, allocations: 0.5871 MB / 299.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1668, allocations: 6.969 kB / 299.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1668, allocations: 3.125 kB / 299.6 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.167, allocations: 40.45 kB / 299.6 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.1679, allocations: 336.6 kB / 299.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007949/0.1687, allocations: 1.772 MB / 301.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.1692, allocations: 42.31 kB / 301.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.1692, allocations: 25.8 kB / 301.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005041/0.1697, allocations: 248.2 kB / 302 MB, free: 15.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003015/0.17, allocations: 323.5 kB / 302.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004746/0.1705, allocations: 398.8 kB / 302.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.1705, allocations: 1.906 kB / 302.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.000943/0.1715, allocations: 0.5872 MB / 303.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1715, allocations: 6.312 kB / 303.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1715, allocations: 2.594 kB / 303.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.1716, allocations: 44.83 kB / 303.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.1723, allocations: 290.4 kB / 303.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001418/0.1724, allocations: 0.5325 MB / 304.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.1728, allocations: 38.28 kB / 304.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.1728, allocations: 32.08 kB / 304.2 MB, free: 14.45 MB / 266.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 (speedController.I.local_reset,integrator.local_reset,kinematicPTP.noWphase) * 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.0001642/0.173, allocations: 235 kB / 304.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1731, allocations: 72.03 kB / 304.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.1735, allocations: 254.2 kB / 304.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1735, allocations: 3.531 kB / 304.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1735, allocations: 0 / 304.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1735, allocations: 0 / 304.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1745, allocations: 0.7395 MB / 305.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1745, allocations: 0 / 305.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.1749, allocations: 110.3 kB / 305.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1749, allocations: 6.469 kB / 305.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1749, allocations: 10.28 kB / 305.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1749, allocations: 3.938 kB / 305.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1749, allocations: 0 / 305.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.1753, allocations: 464.7 kB / 306.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.1755, allocations: 131.7 kB / 306.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.1756, allocations: 17.97 kB / 306.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1758, allocations: 25.28 kB / 306.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.1758, allocations: 29.39 kB / 306.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1759, allocations: 9.656 kB / 306.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005879/0.1765, allocations: 0.606 MB / 306.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1765, allocations: 0 / 306.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000844/0.1773, allocations: 373.4 kB / 307.3 MB, free: 13.58 MB / 266.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.001167/0.1785, allocations: 459.4 kB / 307.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.1796, allocations: 0.7749 MB / 308.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.1796, allocations: 14.12 kB / 308.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1798, allocations: 95.19 kB / 308.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.1804, allocations: 202.4 kB / 308.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.1831, allocations: 1.91 MB / 310.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1833, allocations: 257.9 kB / 311 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.1837, allocations: 107.6 kB / 311.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.184, allocations: 188.5 kB / 311.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.184, allocations: 0 / 311.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Templates: time 0.017/0.201, allocations: 11.16 MB / 322.4 MB, free: 48 kB / 266.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9689138447865844]