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.001427/0.001427, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001736/0.001736, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.541/1.541, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.04931/0.04931, allocations: 7.17 MB / 266.7 MB, free: 6.098 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.373e-06/1.373e-06, allocations: 0 / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.806e-05, allocations: 9.812 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.006511/0.00654, allocations: 7.332 MB / 345.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.01145, allocations: 2.591 MB / 348 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.01263, allocations: 39.88 kB / 348.1 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008041/0.01343, allocations: 373.4 kB / 348.5 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.0168, allocations: 1.302 MB / 349.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.01746, allocations: 271.4 kB / 350 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00355/0.02101, allocations: 2.494 MB / 352.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.02267, allocations: 0.9517 MB / 353.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.02481, allocations: 1.372 MB / 354.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.02709, allocations: 1.317 MB / 356.2 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.02751, allocations: 252 kB / 356.4 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.02899, allocations: 0.7566 MB / 357.2 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.03055, allocations: 1.25 MB / 358.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.03181, allocations: 0.8333 MB / 359.2 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.03954, allocations: 4.957 MB / 364.2 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.03955, allocations: 0 / 364.2 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03955, allocations: 0 / 364.2 MB, free: 388 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000127/0.03968, allocations: 0 / 364.2 MB, free: 388 kB / 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.008756/0.04843, allocations: 3.609 MB / 367.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.04848, allocations: 12.62 kB / 367.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/0.0565, allocations: 2.265 MB / 370.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.06003, allocations: 1.281 MB / 371.4 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.06024, allocations: 160.2 kB / 371.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.06086, allocations: 208.2 kB / 371.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.07472, allocations: 7.548 MB / 379.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.35e-05/0.07481, allocations: 23.98 kB / 379.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.07512, allocations: 99.81 kB / 379.4 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.07829, allocations: 1.708 MB / 381.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.09275, allocations: 6.793 MB / 387.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.132, allocations: 20.9 MB / 408.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.1363, allocations: 1.576 MB / 410.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.1379, allocations: 0.7116 MB / 411.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.179/0.3169, allocations: 2.01 MB / 413.1 MB, free: 77.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3169, allocations: 50.91 kB / 413.1 MB, free: 77.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 3.216e-06/0.3169, allocations: 1.156 kB / 413.1 MB, free: 77.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.008655/0.3255, allocations: 4.18 MB / 417.3 MB, free: 76.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3256, allocations: 66.69 kB / 417.4 MB, free: 75.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.3287, allocations: 2.071 MB / 419.5 MB, free: 75.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.3288, allocations: 41.48 kB / 419.5 MB, free: 75.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000981/0.3297, allocations: 2.095 MB / 421.6 MB, free: 73.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.3301, allocations: 0.5232 MB / 422.1 MB, free: 73.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/0.3309, allocations: 0.7453 MB / 422.9 MB, free: 72.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.3309, allocations: 340.8 kB / 423.2 MB, free: 72.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.3325, allocations: 1.225 MB / 424.4 MB, free: 72.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.3349, allocations: 3.274 MB / 427.7 MB, free: 68.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/0.3409, allocations: 5.423 MB / 433.1 MB, free: 63.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/0.341, allocations: 20 kB / 433.1 MB, free: 63.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.007319/0.3483, allocations: 4.759 MB / 437.9 MB, free: 59.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.3484, allocations: 38.3 kB / 437.9 MB, free: 59.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-05/0.3484, allocations: 72 kB / 438 MB, free: 59.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/0.3491, allocations: 253.2 kB / 438.3 MB, free: 58.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.3513, allocations: 0.8226 MB / 439.1 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.3537, allocations: 2.751 MB / 441.8 MB, free: 55.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.356, allocations: 187.9 kB / 442 MB, free: 55.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.3563, allocations: 223.8 kB / 442.2 MB, free: 54.89 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.001884/0.3582, allocations: 1.505 MB / 443.7 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.3585, allocations: 218.7 kB / 443.9 MB, free: 53.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.3611, allocations: 1.815 MB / 445.8 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.7e-05/0.3612, allocations: 31.27 kB / 445.8 MB, free: 51.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3612, allocations: 4 kB / 445.8 MB, free: 51.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3612, allocations: 3.984 kB / 445.8 MB, free: 51.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.3679, allocations: 4.394 MB / 450.2 MB, free: 46.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.3679, allocations: 4.438 kB / 450.2 MB, free: 46.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.3686, allocations: 195.6 kB / 450.4 MB, free: 46.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.369, allocations: 128.8 kB / 450.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.3691, allocations: 27.98 kB / 450.5 MB, free: 46.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.3709, allocations: 2.282 MB / 452.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3709, allocations: 8.062 kB / 452.8 MB, free: 44.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.3744, allocations: 2.931 MB / 455.8 MB, free: 41.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/0.3751, allocations: 306.8 kB / 456.1 MB, free: 40.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.3753, allocations: 35.92 kB / 456.1 MB, free: 40.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.376, allocations: 51.94 kB / 456.1 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3761, allocations: 80.8 kB / 456.2 MB, free: 40.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.3762, allocations: 47.92 kB / 456.3 MB, free: 40.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.3777, allocations: 1.205 MB / 457.5 MB, free: 39.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3777, allocations: 0 / 457.5 MB, free: 39.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002995/0.3807, allocations: 0.6131 MB / 458.1 MB, free: 38.8 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.0003507/0.381, allocations: 150.9 kB / 458.2 MB, free: 38.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.385, allocations: 2.859 MB / 461.1 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.385, allocations: 1.375 kB / 461.1 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3861, allocations: 0.8938 MB / 462 MB, free: 34.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.3876, allocations: 298.4 kB / 462.3 MB, free: 34.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008313/0.3959, allocations: 6.093 MB / 468.4 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.3978, allocations: 1.912 MB / 470.3 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002134/0.3999, allocations: 1.056 MB / 471.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.4003, allocations: 144.4 kB / 471.5 MB, free: 25.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4003, allocations: 0 / 471.5 MB, free: 25.29 MB / 330.7 MB Notification: Performance of Templates: time 0.03721/0.4375, allocations: 19.53 MB / 491 MB, free: 6.039 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.531916217994876]