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.0009513/0.0009513, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001077/0.001077, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.024/1.024, allocations: 177.2 MB / 204.5 MB, free: 5.52 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.0322/0.0322, allocations: 7.187 MB / 268.2 MB, free: 5.91 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.453e-06/1.453e-06, allocations: 0 / 340.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.445e-05, allocations: 6.312 kB / 340.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01231/0.01233, allocations: 7.873 MB / 348 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.01983, allocations: 2.655 MB / 350.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.02097, allocations: 35.88 kB / 350.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.02181, allocations: 373.4 kB / 351 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.02464, allocations: 1.31 MB / 352.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.02519, allocations: 267.4 kB / 352.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.02781, allocations: 2.505 MB / 355.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.02905, allocations: 0.9475 MB / 356 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.03081, allocations: 1.383 MB / 357.4 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.0326, allocations: 1.336 MB / 358.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004836/0.03308, allocations: 248 kB / 359 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.03433, allocations: 0.7489 MB / 359.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.03537, allocations: 1.258 MB / 361 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.03638, allocations: 0.8411 MB / 361.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003877/0.04026, allocations: 3.234 MB / 365.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.04027, allocations: 0 / 365.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.04027, allocations: 3.984 kB / 365.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.066e-05/0.04035, allocations: 0 / 365.1 MB, free: 0.8125 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.005857/0.04621, allocations: 3.846 MB / 368.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.04625, allocations: 8.625 kB / 368.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.05022, allocations: 1.24 MB / 370.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.05173, allocations: 1.142 MB / 371.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.05181, allocations: 156.2 kB / 371.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.05206, allocations: 204.2 kB / 371.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009257/0.06131, allocations: 3.465 MB / 375.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.06137, allocations: 20 kB / 375.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.06155, allocations: 99.81 kB / 375.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.06304, allocations: 1.52 MB / 376.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.06616, allocations: 1.721 MB / 378.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.08324, allocations: 23.3 MB / 401.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.08449, allocations: 0.7114 MB / 402.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.08476, allocations: 231.7 kB / 402.7 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.08665, allocations: 1.662 MB / 404.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.08667, allocations: 50.33 kB / 404.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 2.324e-06/0.08668, allocations: 0 / 404.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.003091/0.08977, allocations: 2.021 MB / 406.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.0898, allocations: 68.34 kB / 406.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.0912, allocations: 1.804 MB / 408.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.09126, allocations: 45.69 kB / 408.4 MB, free: 4.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.09252, allocations: 2.198 MB / 410.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.09284, allocations: 0.5543 MB / 411.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/0.09351, allocations: 0.8089 MB / 412 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.09364, allocations: 0.5159 MB / 412.5 MB, free: 108 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1257/0.2193, allocations: 309 kB / 412.8 MB, free: 71.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.2208, allocations: 3.358 MB / 416.1 MB, free: 67.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.2229, allocations: 4.184 MB / 420.3 MB, free: 63.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-05/0.2229, allocations: 21.28 kB / 420.3 MB, free: 63.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.003605/0.2265, allocations: 2.845 MB / 423.2 MB, free: 62.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2266, allocations: 35.5 kB / 423.2 MB, free: 62.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.249e-05/0.2267, allocations: 73.25 kB / 423.3 MB, free: 62.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2271, allocations: 186.7 kB / 423.5 MB, free: 62.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.2285, allocations: 0.7966 MB / 424.3 MB, free: 62.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.2299, allocations: 2.589 MB / 426.9 MB, free: 60.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2311, allocations: 152.8 kB / 427 MB, free: 60.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.2312, allocations: 192.7 kB / 427.2 MB, free: 60.75 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: 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.0007223/0.232, allocations: 445.2 kB / 427.6 MB, free: 60.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2321, allocations: 212.2 kB / 427.8 MB, free: 60.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/0.2331, allocations: 0.8386 MB / 428.7 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/0.2332, allocations: 20.95 kB / 428.7 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2332, allocations: 5.078 kB / 428.7 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2332, allocations: 5.547 kB / 428.7 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.2365, allocations: 2.768 MB / 431.5 MB, free: 59.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2365, allocations: 7.594 kB / 431.5 MB, free: 59.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.2368, allocations: 159.6 kB / 431.6 MB, free: 59.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.237, allocations: 89.09 kB / 431.7 MB, free: 59.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.237, allocations: 32.08 kB / 431.8 MB, free: 59.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008622/0.2379, allocations: 2.287 MB / 434 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2379, allocations: 7.156 kB / 434 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.239, allocations: 1.29 MB / 435.3 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.2393, allocations: 267.8 kB / 435.6 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2394, allocations: 22.06 kB / 435.6 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.2397, allocations: 33.8 kB / 435.7 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.2397, allocations: 81.03 kB / 435.7 MB, free: 57.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.2398, allocations: 34.3 kB / 435.8 MB, free: 57.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004988/0.2403, allocations: 0.7571 MB / 436.5 MB, free: 56.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2403, allocations: 0 / 436.5 MB, free: 56.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001464/0.2418, allocations: 0.6127 MB / 437.1 MB, free: 56.08 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.0002044/0.242, allocations: 161.6 kB / 437.3 MB, free: 55.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.2435, allocations: 1.726 MB / 439 MB, free: 54.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2435, allocations: 0 / 439 MB, free: 54.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.2439, allocations: 0.5361 MB / 439.6 MB, free: 53.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.2446, allocations: 307.6 kB / 439.9 MB, free: 53.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.2489, allocations: 5.013 MB / 444.9 MB, free: 49.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.2494, allocations: 0.8613 MB / 445.7 MB, free: 48.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005786/0.25, allocations: 288 kB / 446 MB, free: 48.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.2504, allocations: 378.1 kB / 446.4 MB, free: 47.84 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2504, allocations: 0 / 446.4 MB, free: 47.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02739/0.2778, allocations: 21.35 MB / 467.7 MB, free: 27.1 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.4527525808662176]