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.001869/0.001869, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.002355/0.002355, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.524/1.524, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.01746/0.01746, allocations: 1.009 MB / 260.8 MB, free: 15.66 MB / 254.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.00208/0.00208, allocations: 59.91 kB / 383.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 53.62 MB / 437.3 MB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006258/0.1094, allocations: 3.927 MB / 441.2 MB, free: 10.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.114, allocations: 2.636 MB / 443.8 MB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.1143, allocations: 19.88 kB / 443.9 MB, free: 8.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.1167, allocations: 1.117 MB / 445 MB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008208/0.1175, allocations: 449.9 kB / 445.4 MB, free: 6.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.1182, allocations: 339.1 kB / 445.7 MB, free: 6.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.1192, allocations: 0.8689 MB / 446.6 MB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1195, allocations: 147.4 kB / 446.8 MB, free: 5.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.12, allocations: 378.5 kB / 447.1 MB, free: 4.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.1205, allocations: 470.4 kB / 447.6 MB, free: 4.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1207, allocations: 56 kB / 447.6 MB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.1209, allocations: 123.9 kB / 447.8 MB, free: 4.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.1213, allocations: 344.4 kB / 448.1 MB, free: 4.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.1217, allocations: 353.5 kB / 448.4 MB, free: 3.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1231, allocations: 1.225 MB / 449.7 MB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1231, allocations: 0 / 449.7 MB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1231, allocations: 4 kB / 449.7 MB, free: 2.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.1232, allocations: 3.938 kB / 449.7 MB, free: 2.426 MB / 414.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.002449/0.1256, allocations: 1.446 MB / 451.1 MB, free: 0.9414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1256, allocations: 8.031 kB / 451.1 MB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.1258, allocations: 143.4 kB / 451.3 MB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.1273, allocations: 1.015 MB / 452.3 MB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.1274, allocations: 32.94 kB / 452.3 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.1274, allocations: 44 kB / 452.4 MB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1285, allocations: 0.5299 MB / 452.9 MB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1285, allocations: 11.89 kB / 452.9 MB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.1286, allocations: 24 kB / 452.9 MB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1286, allocations: 11.94 kB / 452.9 MB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1297, allocations: 407.6 kB / 453.3 MB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.1327, allocations: 1.944 MB / 455.3 MB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1337, allocations: 378.7 kB / 455.6 MB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.1343, allocations: 193.2 kB / 455.8 MB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1343, allocations: 7.859 kB / 455.8 MB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1344, allocations: 30.56 kB / 455.9 MB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.1344, allocations: 4 kB / 455.9 MB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.004046/0.1384, allocations: 1.603 MB / 457.5 MB, free: 10.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.1385, allocations: 110.8 kB / 457.6 MB, free: 10.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.1409, allocations: 1.948 MB / 459.5 MB, free: 8.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1409, allocations: 33.7 kB / 459.6 MB, free: 8.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.1414, allocations: 488.8 kB / 460 MB, free: 7.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1415, allocations: 170.7 kB / 460.2 MB, free: 7.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.1419, allocations: 290.6 kB / 460.5 MB, free: 7.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1421, allocations: 361.9 kB / 460.8 MB, free: 6.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.1432, allocations: 0.576 MB / 461.4 MB, free: 6.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.1444, allocations: 0.7732 MB / 462.2 MB, free: 5.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.1461, allocations: 0.9105 MB / 463.1 MB, free: 4.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1462, allocations: 0 / 463.1 MB, free: 4.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002797/0.1489, allocations: 1.571 MB / 464.7 MB, free: 3.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.149, allocations: 11.98 kB / 464.7 MB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.149, allocations: 3.938 kB / 464.7 MB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.1492, allocations: 37.09 kB / 464.7 MB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.1505, allocations: 351.5 kB / 465.1 MB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.1527, allocations: 1.979 MB / 467 MB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.1533, allocations: 60.03 kB / 467.1 MB, free: 460 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.1534, allocations: 36 kB / 467.1 MB, free: 424 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001494/0.1549, allocations: 0.9125 MB / 468.1 MB, free: 15.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/0.156, allocations: 0.7653 MB / 468.8 MB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001615/0.1577, allocations: 0.891 MB / 469.7 MB, free: 13.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.1577, allocations: 0 / 469.7 MB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00266/0.1603, allocations: 1.559 MB / 471.3 MB, free: 12.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1603, allocations: 11.28 kB / 471.3 MB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1603, allocations: 0 / 471.3 MB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.1605, allocations: 40.83 kB / 471.3 MB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.1614, allocations: 255.7 kB / 471.6 MB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/0.1618, allocations: 0.5564 MB / 472.1 MB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.1624, allocations: 43.97 kB / 472.2 MB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.1625, allocations: 40 kB / 472.2 MB, free: 11.23 MB / 446.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.0002491/0.1627, allocations: 228 kB / 472.4 MB, free: 11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.1629, allocations: 127.1 kB / 472.6 MB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.1642, allocations: 497 kB / 473 MB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1642, allocations: 4 kB / 473 MB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1642, allocations: 3.938 kB / 473.1 MB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1642, allocations: 0 / 473.1 MB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1666, allocations: 1.187 MB / 474.2 MB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1666, allocations: 0 / 474.2 MB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.1671, allocations: 112 kB / 474.3 MB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1671, allocations: 0 / 474.3 MB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.1672, allocations: 12 kB / 474.4 MB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1672, allocations: 7.984 kB / 474.4 MB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1672, allocations: 0 / 474.4 MB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.169, allocations: 0.8188 MB / 475.2 MB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.1694, allocations: 191.2 kB / 475.4 MB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.1695, allocations: 12.12 kB / 475.4 MB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.1699, allocations: 43.95 kB / 475.4 MB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.17, allocations: 27.89 kB / 475.5 MB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.17, allocations: 8 kB / 475.5 MB, free: 7.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001682/0.1717, allocations: 1.269 MB / 476.7 MB, free: 6.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1717, allocations: 4 kB / 476.7 MB, free: 6.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001032/0.1728, allocations: 364 kB / 477.1 MB, free: 6.246 MB / 446.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.001453/0.1742, allocations: 395.3 kB / 477.5 MB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003929/0.1781, allocations: 1.713 MB / 479.2 MB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1781, allocations: 0 / 479.2 MB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.1787, allocations: 196.5 kB / 479.4 MB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1798, allocations: 194 kB / 479.6 MB, free: 3.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.1839, allocations: 2.451 MB / 482 MB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.1846, allocations: 0.569 MB / 482.6 MB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000873/0.1855, allocations: 376.8 kB / 483 MB, free: 472 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1856, allocations: 56.48 kB / 483 MB, free: 416 kB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1856, allocations: 0 / 483 MB, free: 416 kB / 446.1 MB Notification: Performance of Templates: time 0.1963/0.3819, allocations: 10.06 MB / 493.1 MB, free: 91.45 MB / 446.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 -s ida -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9817429119721055] Failed to read output from testmodel.py, exit status != 0: 0.3902260400354862 0.402084595 0.276167681 Calling exit ...