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.001385/0.001385, 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.001335/0.001335, 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.0305/0.0305, allocations: 7.186 MB / 267.4 MB, free: 5.934 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.182e-06/1.182e-06, allocations: 0 / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.129e-05, allocations: 2.312 kB / 286.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.116/0.116, allocations: 7.936 MB / 294 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.12, allocations: 2.771 MB / 296.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.1205, allocations: 35.31 kB / 296.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.1211, allocations: 364 kB / 297.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.123, allocations: 1.313 MB / 298.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.1234, allocations: 262.7 kB / 298.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.1253, allocations: 2.501 MB / 301.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/0.1261, allocations: 0.9681 MB / 302.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1271, allocations: 1.372 MB / 303.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.1283, allocations: 1.288 MB / 304.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.1286, allocations: 251.7 kB / 305.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1299, allocations: 0.7641 MB / 305.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.131, allocations: 1.256 MB / 307.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.1325, allocations: 0.8477 MB / 308 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.1355, allocations: 3.23 MB / 311.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1355, allocations: 0 / 311.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1355, allocations: 0 / 311.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.1357, allocations: 0 / 311.2 MB, free: 6.828 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.003305/0.139, allocations: 3.158 MB / 314.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.139, allocations: 12.62 kB / 314.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.1415, allocations: 1.019 MB / 315.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.1429, allocations: 0.9634 MB / 316.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.143, allocations: 156.2 kB / 316.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.1432, allocations: 200.2 kB / 316.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.1466, allocations: 3.218 MB / 319.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/0.1466, allocations: 23.95 kB / 320 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.1468, allocations: 95.81 kB / 320.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/0.1482, allocations: 1.517 MB / 321.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.1518, allocations: 1.753 MB / 323.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.1687, allocations: 16.94 MB / 340.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1701, allocations: 0.7392 MB / 341 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.1704, allocations: 211.7 kB / 341.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.1726, allocations: 1.544 MB / 342.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1727, allocations: 44.83 kB / 342.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=123): time 4.448e-06/0.1727, allocations: 0 / 342.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.004272/0.1769, allocations: 1.829 MB / 344.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.177, allocations: 72.34 kB / 344.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.1786, allocations: 1.626 MB / 346.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.1786, allocations: 45.7 kB / 346.4 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.1798, allocations: 2.036 MB / 348.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.1802, allocations: 0.5192 MB / 348.9 MB, free: 112 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008308/0.181, allocations: 0.7072 MB / 349.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1811, allocations: 341.9 kB / 350 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.1818, allocations: 380.5 kB / 350.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.1837, allocations: 2.365 MB / 352.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.1871, allocations: 3.301 MB / 356 MB, free: 6.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/0.1872, allocations: 24 kB / 356 MB, free: 6.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.003657/0.1908, allocations: 2.455 MB / 358.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.1909, allocations: 39.94 kB / 358.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/0.191, allocations: 72 kB / 358.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.1914, allocations: 193.2 kB / 358.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.1934, allocations: 0.8188 MB / 359.6 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.1951, allocations: 2.01 MB / 361.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.1967, allocations: 144 kB / 361.7 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.1969, allocations: 192 kB / 361.9 MB, free: 0.8945 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.0009072/0.1979, allocations: 402.3 kB / 362.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.1981, allocations: 131.2 kB / 362.5 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.1995, allocations: 0.7093 MB / 363.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.1995, allocations: 16.56 kB / 363.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1996, allocations: 4 kB / 363.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.1996, allocations: 11.91 kB / 363.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.2037, allocations: 2.453 MB / 365.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2037, allocations: 0 / 365.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.2043, allocations: 175.8 kB / 365.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.2047, allocations: 154.2 kB / 366 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.2047, allocations: 24.09 kB / 366 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.2061, allocations: 1.746 MB / 367.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2061, allocations: 4 kB / 367.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.2104, allocations: 1.081 MB / 368.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.2109, allocations: 242.8 kB / 369.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.2111, allocations: 20 kB / 369.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.2115, allocations: 31.98 kB / 369.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.2116, allocations: 80.8 kB / 369.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.2117, allocations: 32 kB / 369.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008363/0.2125, allocations: 0.5772 MB / 369.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2125, allocations: 0 / 369.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002521/0.2151, allocations: 0.6132 MB / 370.4 MB, free: 8.117 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.0002908/0.2154, allocations: 144.1 kB / 370.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.2177, allocations: 1.563 MB / 372.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001182/0.2179, allocations: 56.19 kB / 372.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.2184, allocations: 443.3 kB / 372.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2194, allocations: 295 kB / 372.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/0.2276, allocations: 5.133 MB / 378 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.2287, allocations: 0.8492 MB / 378.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.2297, allocations: 284.9 kB / 379.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/0.2304, allocations: 345.2 kB / 379.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2304, allocations: 0 / 379.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.04057/0.271, allocations: 20.94 MB / 400.4 MB, free: 10.29 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0544607369229198]