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.00119/0.00119, 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.001464/0.001464, allocations: 181 kB / 23.35 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 0.9809/0.9809, allocations: 177.2 MB / 203.8 MB, free: 5.441 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.02922/0.02922, allocations: 7.18 MB / 267.4 MB, free: 5.914 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.433e-06/1.433e-06, allocations: 0 / 286 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.474e-05, allocations: 2.312 kB / 286 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.1195/0.1196, allocations: 7.885 MB / 293.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.124, allocations: 2.759 MB / 296.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/0.1247, allocations: 37.06 kB / 296.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.1254, allocations: 371.5 kB / 297.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.1276, allocations: 1.324 MB / 298.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.128, allocations: 261.1 kB / 298.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.1303, allocations: 2.503 MB / 301.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009894/0.1312, allocations: 0.9663 MB / 302.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1325, allocations: 1.384 MB / 303.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.1338, allocations: 1.286 MB / 304.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005621/0.1344, allocations: 255.3 kB / 305 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1357, allocations: 0.748 MB / 305.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.1364, allocations: 1.252 MB / 307 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.1371, allocations: 0.8487 MB / 307.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.1395, allocations: 3.23 MB / 311.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1395, allocations: 0 / 311.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1395, allocations: 0 / 311.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.1395, allocations: 0 / 311.1 MB, free: 6.945 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.002684/0.1422, allocations: 3.156 MB / 314.3 MB, free: 3.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1422, allocations: 12.62 kB / 314.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.1446, allocations: 1.019 MB / 315.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.1455, allocations: 0.9678 MB / 316.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.1456, allocations: 156.2 kB / 316.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.1458, allocations: 200.2 kB / 316.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.1487, allocations: 3.214 MB / 319.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.1487, allocations: 29.02 kB / 319.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.1489, allocations: 99.81 kB / 320 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/0.1503, allocations: 1.509 MB / 321.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.1532, allocations: 1.75 MB / 323.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.1671, allocations: 16.94 MB / 340.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.1683, allocations: 0.734 MB / 340.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.1686, allocations: 205.5 kB / 341.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/0.1706, allocations: 1.548 MB / 342.7 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1706, allocations: 47.56 kB / 342.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=123): time 4.849e-06/0.1706, allocations: 4 kB / 342.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.003026/0.1736, allocations: 1.829 MB / 344.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1737, allocations: 68.34 kB / 344.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1749, allocations: 1.622 MB / 346.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.175, allocations: 53.7 kB / 346.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/0.1758, allocations: 2.036 MB / 348.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.1761, allocations: 0.5231 MB / 348.8 MB, free: 224 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005642/0.1766, allocations: 0.6996 MB / 349.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1767, allocations: 345.9 kB / 349.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.1772, allocations: 380.5 kB / 350.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.1786, allocations: 2.357 MB / 352.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.1809, allocations: 3.31 MB / 355.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/0.1809, allocations: 24 kB / 355.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.002731/0.1836, allocations: 2.448 MB / 358.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.1837, allocations: 39.94 kB / 358.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-05/0.1837, allocations: 72 kB / 358.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.1841, allocations: 184.9 kB / 358.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.1853, allocations: 0.7837 MB / 359.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.1868, allocations: 2.025 MB / 361.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.1878, allocations: 144 kB / 361.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.188, allocations: 192 kB / 361.8 MB, free: 1.043 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.0007094/0.1887, allocations: 398.2 kB / 362.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1888, allocations: 128 kB / 362.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.1897, allocations: 0.7209 MB / 363 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/0.1897, allocations: 16 kB / 363.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1897, allocations: 3.984 kB / 363.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1897, allocations: 7.984 kB / 363.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.1928, allocations: 2.445 MB / 365.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1928, allocations: 4 kB / 365.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.1932, allocations: 172.3 kB / 365.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.1934, allocations: 153 kB / 365.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.1935, allocations: 23.98 kB / 365.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1945, allocations: 1.73 MB / 367.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1945, allocations: 8.031 kB / 367.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1956, allocations: 1.09 MB / 368.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.1959, allocations: 230.8 kB / 368.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.196, allocations: 21.45 kB / 368.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1963, allocations: 31.98 kB / 369 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.1964, allocations: 84.77 kB / 369 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.1965, allocations: 39.98 kB / 369.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004966/0.197, allocations: 0.5772 MB / 369.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.197, allocations: 0 / 369.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001583/0.1985, allocations: 0.6093 MB / 370.3 MB, free: 8.273 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.0002327/0.1988, allocations: 144.1 kB / 370.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.2004, allocations: 1.555 MB / 372 MB, free: 6.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.73e-05/0.2005, allocations: 47.94 kB / 372 MB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.2009, allocations: 463.9 kB / 372.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2016, allocations: 301.4 kB / 372.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.2075, allocations: 5.131 MB / 377.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007128/0.2082, allocations: 0.8415 MB / 378.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006679/0.2089, allocations: 288.7 kB / 379 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.2093, allocations: 349.2 kB / 379.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2093, allocations: 0 / 379.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of Templates: time 0.03059/0.2399, allocations: 20.93 MB / 400.3 MB, free: 10.45 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.056951656937599]