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.0008284/0.0008284, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.00205, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008851/0.0008851, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00199, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9636/0.9636, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09707/1.061, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.02983/0.02983, allocations: 7.18 MB / 251.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004692/0.03452, allocations: 2.561 MB / 253.7 MB, free: 5.312 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.844e-06/1.844e-06, allocations: 0 / 254.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.917e-05, allocations: 2.312 kB / 254.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.007594/0.007613, allocations: 7.992 MB / 262.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.011, allocations: 2.771 MB / 265.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.01135, allocations: 35.88 kB / 265.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.01185, allocations: 393.5 kB / 266.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.01329, allocations: 1.295 MB / 267.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.0136, allocations: 263.4 kB / 267.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.01514, allocations: 2.509 MB / 270.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.01584, allocations: 0.9681 MB / 271.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.01682, allocations: 1.426 MB / 272.6 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000977/0.0178, allocations: 1.274 MB / 273.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.01802, allocations: 248 kB / 274.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.01872, allocations: 0.7683 MB / 274.9 MB, free: 24 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1318/0.1505, allocations: 1.12 MB / 276 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.1519, allocations: 0.695 MB / 276.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.1557, allocations: 3.012 MB / 279.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.1557, allocations: 0 / 279.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1557, allocations: 0 / 279.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001194/0.1558, allocations: 1.094 kB / 279.7 MB, free: 4.824 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.005821/0.1617, allocations: 3.784 MB / 283.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1617, allocations: 11.52 kB / 283.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.1646, allocations: 1.011 MB / 284.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.166, allocations: 0.9633 MB / 285.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1661, allocations: 157.6 kB / 285.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.1664, allocations: 196.9 kB / 285.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.1698, allocations: 3.219 MB / 289 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.1699, allocations: 30.94 kB / 289.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.1701, allocations: 92.61 kB / 289.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/0.1713, allocations: 1.535 MB / 290.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.1741, allocations: 1.761 MB / 292.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.1863, allocations: 16.91 MB / 309.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1879, allocations: 0.7238 MB / 310.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.1883, allocations: 211.2 kB / 310.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/0.1906, allocations: 1.528 MB / 311.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1906, allocations: 52.94 kB / 311.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=123): time 2.796e-06/0.1906, allocations: 0 / 311.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.00366/0.1943, allocations: 1.831 MB / 313.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1943, allocations: 65.66 kB / 313.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.1959, allocations: 1.618 MB / 315.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.1959, allocations: 47.58 kB / 315.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.1969, allocations: 2.043 MB / 317.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.1973, allocations: 0.5197 MB / 318 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007496/0.198, allocations: 0.704 MB / 318.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1981, allocations: 343.6 kB / 319 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.1988, allocations: 380.5 kB / 319.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.2004, allocations: 2.36 MB / 321.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.2033, allocations: 3.308 MB / 325.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.2033, allocations: 20 kB / 325.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.003262/0.2066, allocations: 2.443 MB / 327.5 MB, free: 280 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.2066, allocations: 36 kB / 327.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/0.2067, allocations: 76.09 kB / 327.6 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.2071, allocations: 192 kB / 327.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.209, allocations: 0.8851 MB / 328.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.2108, allocations: 2.013 MB / 330.7 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.2122, allocations: 147.9 kB / 330.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.2124, allocations: 190.6 kB / 331.1 MB, free: 12.67 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.0009144/0.2133, allocations: 404.8 kB / 331.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.2135, allocations: 131.4 kB / 331.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.2146, allocations: 0.7066 MB / 332.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/0.2147, allocations: 16 kB / 332.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2147, allocations: 4 kB / 332.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2147, allocations: 3.984 kB / 332.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.2184, allocations: 2.455 MB / 334.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2184, allocations: 4 kB / 334.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.219, allocations: 187.7 kB / 335 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.2193, allocations: 239.5 kB / 335.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/0.2197, allocations: 152.1 kB / 335.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.2197, allocations: 23.98 kB / 335.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.221, allocations: 1.736 MB / 337.1 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.221, allocations: 4 kB / 337.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2224, allocations: 1.082 MB / 338.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.2225, allocations: 31.97 kB / 338.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2229, allocations: 27.98 kB / 338.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.223, allocations: 80.73 kB / 338.3 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.2231, allocations: 32 kB / 338.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006027/0.2237, allocations: 0.5769 MB / 338.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2237, allocations: 0 / 338.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002057/0.2258, allocations: 0.6132 MB / 339.5 MB, free: 4.23 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.0002753/0.226, allocations: 140.6 kB / 339.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.228, allocations: 1.566 MB / 341.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001449/0.2281, allocations: 61.03 kB / 341.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.2286, allocations: 445.4 kB / 341.7 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2297, allocations: 444.5 kB / 342.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.239, allocations: 5.257 MB / 347.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000922/0.2399, allocations: 0.8458 MB / 348.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000869/0.2408, allocations: 278.8 kB / 348.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.2414, allocations: 345.2 kB / 348.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2414, allocations: 3.938 kB / 348.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of Templates: time 0.03012/0.2715, allocations: 21.32 MB / 370.2 MB, free: 5.863 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: 3.1038033748045564]