Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.0007733/0.0007733, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001906, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007655/0.0007655, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002353, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9461/0.9461, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08077/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02827/0.02827, allocations: 7.18 MB / 251.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003789/0.03206, allocations: 2.553 MB / 253.9 MB, free: 5.223 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/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(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 255.2 MB, free: 3.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.538e-06, allocations: 2.312 kB / 255.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.00581/0.005819, allocations: 7.996 MB / 263.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.0093, allocations: 2.775 MB / 265.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.009682, allocations: 31.94 kB / 266 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.0102, allocations: 389.5 kB / 266.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.01168, allocations: 1.298 MB / 267.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.01199, allocations: 267.4 kB / 267.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.01367, allocations: 2.51 MB / 270.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/0.01464, allocations: 0.9564 MB / 271.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.01586, allocations: 1.426 MB / 272.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.01689, allocations: 1.286 MB / 274.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.01711, allocations: 248 kB / 274.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1063/0.1234, allocations: 0.7633 MB / 275.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.1246, allocations: 1.112 MB / 276.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.1257, allocations: 0.6983 MB / 276.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.1287, allocations: 3.005 MB / 279.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.1287, allocations: 3.062 kB / 279.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1287, allocations: 0 / 279.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.1288, allocations: 2.688 kB / 279.9 MB, free: 4.766 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: 1112 * Number of variables: 1112 Notification: Performance of Generate backend data structure: time 0.004917/0.1338, allocations: 3.786 MB / 283.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1338, allocations: 12.23 kB / 283.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.1366, allocations: 1.011 MB / 284.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1378, allocations: 0.961 MB / 285.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.1379, allocations: 154.6 kB / 285.8 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.1382, allocations: 202.7 kB / 286 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.1414, allocations: 3.22 MB / 289.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.1414, allocations: 26.95 kB / 289.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.1416, allocations: 97.97 kB / 289.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.1428, allocations: 1.44 MB / 290.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.1456, allocations: 1.763 MB / 292.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.1586, allocations: 16.92 MB / 309.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1598, allocations: 0.7207 MB / 310.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.16, allocations: 202.4 kB / 310.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.1619, allocations: 1.539 MB / 311.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1619, allocations: 44.2 kB / 312 MB, free: 1.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=123): time 2.956e-06/0.1619, allocations: 0.8125 kB / 312 MB, free: 1.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.003142/0.1651, allocations: 2.061 MB / 314 MB, free: 15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1651, allocations: 64.41 kB / 314.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.1665, allocations: 1.627 MB / 315.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.1665, allocations: 43.89 kB / 315.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.1673, allocations: 2.039 MB / 317.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1675, allocations: 0.5214 MB / 318.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000563/0.1681, allocations: 0.7019 MB / 319 MB, free: 10.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.1682, allocations: 347.6 kB / 319.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.1686, allocations: 381.5 kB / 319.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.1701, allocations: 2.359 MB / 322.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.1726, allocations: 3.556 MB / 325.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/0.1726, allocations: 20 kB / 325.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.002519/0.1751, allocations: 2.449 MB / 328.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.1752, allocations: 37.72 kB / 328.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-05/0.1752, allocations: 80.16 kB / 328.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.1756, allocations: 195 kB / 328.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.1772, allocations: 0.8774 MB / 329.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.1785, allocations: 2.003 MB / 331.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.1796, allocations: 151.8 kB / 331.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.1797, allocations: 195.9 kB / 331.7 MB, free: 12.09 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.always ) \"Angular velocity\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 440 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008785/0.1806, allocations: 390.8 kB / 332 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1808, allocations: 136 kB / 332.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008416/0.1816, allocations: 0.7084 MB / 332.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/0.1817, allocations: 19.94 kB / 332.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1817, allocations: 0 / 332.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.1817, allocations: 3.984 kB / 332.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.1847, allocations: 2.454 MB / 335.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.1847, allocations: 12 kB / 335.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.1851, allocations: 191.7 kB / 335.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.1854, allocations: 238.7 kB / 335.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.1859, allocations: 149.9 kB / 335.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.186, allocations: 27.98 kB / 336 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009862/0.187, allocations: 1.735 MB / 337.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.187, allocations: 4 kB / 337.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1881, allocations: 1.085 MB / 338.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1882, allocations: 28.06 kB / 338.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.1885, allocations: 27.98 kB / 338.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1886, allocations: 76.8 kB / 338.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.1886, allocations: 35.59 kB / 339 MB, free: 4.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004778/0.1891, allocations: 0.5802 MB / 339.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 339.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001645/0.1908, allocations: 0.6171 MB / 340.2 MB, free: 3.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002355/0.191, allocations: 135.3 kB / 340.3 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.1926, allocations: 1.646 MB / 341.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001052/0.1927, allocations: 56.59 kB / 342 MB, free: 1.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008953/0.1936, allocations: 0.7932 MB / 342.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.1952, allocations: 1.924 MB / 344.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.2044, allocations: 5.077 MB / 349.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.2056, allocations: 0.8458 MB / 350.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008522/0.2064, allocations: 270.1 kB / 350.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/0.207, allocations: 337.2 kB / 351.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.207, allocations: 0 / 351.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of Templates: time 0.03389/0.2409, allocations: 18.55 MB / 369.8 MB, free: 5.895 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8851813711225986]