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.0009698/0.0009698, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001136/0.001136, allocations: 173 kB / 23.49 MB, free: 1.051 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 0.9929/0.9929, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.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.02974/0.02974, allocations: 7.189 MB / 267.5 MB, free: 6.117 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.713e-06/1.713e-06, allocations: 0 / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.665e-05, allocations: 5.922 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.005793/0.005819, allocations: 8.045 MB / 346.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.00977, allocations: 2.666 MB / 349.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.01046, allocations: 35.88 kB / 349.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.01118, allocations: 369.3 kB / 350 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.01319, allocations: 1.314 MB / 351.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.01359, allocations: 259.5 kB / 351.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.0154, allocations: 2.505 MB / 354 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.01643, allocations: 0.9479 MB / 355 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.01764, allocations: 1.38 MB / 356.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.01896, allocations: 1.333 MB / 357.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.01927, allocations: 252 kB / 357.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009433/0.02022, allocations: 0.7489 MB / 358.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008196/0.02104, allocations: 1.258 MB / 360 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.02184, allocations: 0.8411 MB / 360.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.0252, allocations: 3.226 MB / 364 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.02521, allocations: 0 / 364 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02521, allocations: 0 / 364 MB, free: 1.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.562e-05/0.02528, allocations: 3.938 kB / 364 MB, free: 1.258 MB / 282.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.004951/0.03023, allocations: 3.898 MB / 367.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.03028, allocations: 8.625 kB / 367.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.03444, allocations: 2.199 MB / 370.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.03614, allocations: 1.205 MB / 371.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/0.03623, allocations: 156.2 kB / 371.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.0365, allocations: 204.2 kB / 371.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005025/0.04153, allocations: 3.778 MB / 375.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.04158, allocations: 23.81 kB / 375.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.04178, allocations: 91.88 kB / 375.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/0.04341, allocations: 1.712 MB / 377.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.04832, allocations: 2.151 MB / 379.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.07282, allocations: 23.52 MB / 403 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.07455, allocations: 0.7782 MB / 403.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.07496, allocations: 271.7 kB / 404 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/0.07733, allocations: 1.799 MB / 405.8 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.07736, allocations: 46.39 kB / 405.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 2.996e-06/0.07736, allocations: 0 / 405.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.00408/0.08144, allocations: 2.491 MB / 408.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.08148, allocations: 68.34 kB / 408.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.08329, allocations: 1.824 MB / 410.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.08334, allocations: 41.7 kB / 410.3 MB, free: 1.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1255/0.2088, allocations: 2.181 MB / 412.5 MB, free: 76.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/0.2095, allocations: 0.5457 MB / 413 MB, free: 76.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009418/0.2104, allocations: 0.7901 MB / 413.8 MB, free: 76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2105, allocations: 0.5141 MB / 414.3 MB, free: 75.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/0.2113, allocations: 396.3 kB / 414.7 MB, free: 75.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.213, allocations: 3.421 MB / 418.1 MB, free: 71.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.2159, allocations: 4.289 MB / 422.4 MB, free: 67.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/0.2159, allocations: 21.84 kB / 422.4 MB, free: 67.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.004475/0.2204, allocations: 3.068 MB / 425.5 MB, free: 66.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.2205, allocations: 38.22 kB / 425.5 MB, free: 66.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-05/0.2205, allocations: 77.52 kB / 425.6 MB, free: 66.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.221, allocations: 192.1 kB / 425.8 MB, free: 66.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.2224, allocations: 0.8228 MB / 426.6 MB, free: 66.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.224, allocations: 2.682 MB / 429.3 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.2253, allocations: 183.2 kB / 429.5 MB, free: 64.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.2254, allocations: 219.7 kB / 429.7 MB, free: 64.33 MB / 330.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: 328 * 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 (444): * Single equations (assignments): 439 * 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.000779/0.2262, allocations: 460.2 kB / 430.1 MB, free: 64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.2264, allocations: 221.8 kB / 430.4 MB, free: 63.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2276, allocations: 0.9096 MB / 431.3 MB, free: 63.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/0.2277, allocations: 31.45 kB / 431.3 MB, free: 63.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2277, allocations: 5.938 kB / 431.3 MB, free: 63.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2277, allocations: 8.547 kB / 431.3 MB, free: 63.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.2318, allocations: 3.559 MB / 434.9 MB, free: 60.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.2318, allocations: 10.25 kB / 434.9 MB, free: 60.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.2322, allocations: 180.7 kB / 435.1 MB, free: 60.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.2324, allocations: 85.52 kB / 435.1 MB, free: 60.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.2324, allocations: 31.94 kB / 435.2 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.2334, allocations: 2.372 MB / 437.5 MB, free: 58.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2334, allocations: 4 kB / 437.5 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2348, allocations: 1.415 MB / 439 MB, free: 56.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.2351, allocations: 291.9 kB / 439.2 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.2353, allocations: 24.88 kB / 439.3 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2356, allocations: 54.05 kB / 439.3 MB, free: 56.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2357, allocations: 77.45 kB / 439.4 MB, free: 56.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.2358, allocations: 43.28 kB / 439.4 MB, free: 56.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007127/0.2365, allocations: 0.8171 MB / 440.3 MB, free: 55.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2365, allocations: 4.031 kB / 440.3 MB, free: 55.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001602/0.2381, allocations: 0.6058 MB / 440.9 MB, free: 55.06 MB / 330.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.0002458/0.2383, allocations: 161.2 kB / 441 MB, free: 54.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.2404, allocations: 1.835 MB / 442.9 MB, free: 53.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2404, allocations: 4 kB / 442.9 MB, free: 53.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.2409, allocations: 0.5674 MB / 443.4 MB, free: 52.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.2416, allocations: 309.5 kB / 443.7 MB, free: 52.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.2469, allocations: 5.027 MB / 448.8 MB, free: 47.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.2475, allocations: 0.861 MB / 449.6 MB, free: 46.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001201/0.2487, allocations: 0.9092 MB / 450.5 MB, free: 45.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.2489, allocations: 144.5 kB / 450.7 MB, free: 45.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2489, allocations: 0 / 450.7 MB, free: 45.7 MB / 330.7 MB Notification: Performance of Templates: time 0.02471/0.2736, allocations: 19.48 MB / 470.2 MB, free: 26.5 MB / 330.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.3688442311249673]