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.001397/0.001397, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.00132/0.00132, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.132/1.132, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.03658/0.03658, allocations: 7.195 MB / 267.4 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.232e-06/1.232e-06, allocations: 0 / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.296e-05, allocations: 2.312 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.006893/0.006906, allocations: 7.885 MB / 347.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.01209, allocations: 2.652 MB / 349.8 MB, free: 428 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007072/0.0128, allocations: 31.94 kB / 349.9 MB, free: 396 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.01352, allocations: 381.5 kB / 350.2 MB, free: 12 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.0156, allocations: 1.314 MB / 351.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.01607, allocations: 255.5 kB / 351.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.01837, allocations: 2.505 MB / 354.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.01949, allocations: 0.9439 MB / 355.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.02083, allocations: 1.38 MB / 356.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.02201, allocations: 1.336 MB / 358 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.02224, allocations: 252 kB / 358.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.02313, allocations: 0.7566 MB / 359 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007563/0.02389, allocations: 1.254 MB / 360.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.0245, allocations: 0.8371 MB / 361.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.02713, allocations: 3.23 MB / 364.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.02714, allocations: 0 / 364.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.02714, allocations: 7.938 kB / 364.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.02716, allocations: 0 / 364.3 MB, free: 1.875 MB / 330.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.004125/0.03129, allocations: 3.835 MB / 368.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.03133, allocations: 12.62 kB / 368.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.0341, allocations: 1.244 MB / 369.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.03532, allocations: 1.149 MB / 370.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.03542, allocations: 152.2 kB / 370.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.03569, allocations: 208.1 kB / 370.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.03924, allocations: 3.469 MB / 374.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.03929, allocations: 20.05 kB / 374.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.03947, allocations: 95.83 kB / 374.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/0.04089, allocations: 1.513 MB / 376 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.04337, allocations: 1.721 MB / 377.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.06025, allocations: 23.3 MB / 401 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.06156, allocations: 0.7032 MB / 401.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.06185, allocations: 230.6 kB / 401.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.06389, allocations: 1.682 MB / 403.6 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.06392, allocations: 50.38 kB / 403.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.295e-06/0.06393, allocations: 0 / 403.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.003172/0.0671, allocations: 2.03 MB / 405.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.06714, allocations: 68.34 kB / 405.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.06859, allocations: 1.804 MB / 407.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.06864, allocations: 41.7 kB / 407.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.06968, allocations: 2.198 MB / 409.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.07, allocations: 0.5582 MB / 410.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006966/0.0707, allocations: 0.8128 MB / 411.2 MB, free: 1.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.07086, allocations: 0.5159 MB / 411.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.07127, allocations: 307 kB / 412 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.07335, allocations: 3.363 MB / 415.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.07671, allocations: 4.182 MB / 419.5 MB, free: 6.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.07674, allocations: 20 kB / 419.6 MB, free: 6.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.003227/0.07997, allocations: 2.847 MB / 422.4 MB, free: 3.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.08001, allocations: 39.94 kB / 422.4 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.265e-05/0.08007, allocations: 72 kB / 422.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.08043, allocations: 192.2 kB / 422.7 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.08175, allocations: 0.7876 MB / 423.5 MB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.08397, allocations: 2.593 MB / 426.1 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.08509, allocations: 147.9 kB / 426.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.08534, allocations: 192 kB / 426.4 MB, free: 15.54 MB / 410.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.0008838/0.08623, allocations: 450.7 kB / 426.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.08644, allocations: 214.8 kB / 427.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.08755, allocations: 0.8375 MB / 427.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.0876, allocations: 16 kB / 427.9 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.08761, allocations: 4 kB / 427.9 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.08762, allocations: 7.969 kB / 427.9 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.09142, allocations: 2.766 MB / 430.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.09143, allocations: 4 kB / 430.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.09194, allocations: 167.7 kB / 430.9 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.09221, allocations: 88.27 kB / 431 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.09228, allocations: 27.98 kB / 431 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.09372, allocations: 2.292 MB / 433.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.09372, allocations: 8.031 kB / 433.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.09507, allocations: 1.29 MB / 434.6 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.09538, allocations: 266.7 kB / 434.8 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.09548, allocations: 24 kB / 434.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.09578, allocations: 31.98 kB / 434.9 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.09612, allocations: 84.73 kB / 435 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.0962, allocations: 35.97 kB / 435 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.09723, allocations: 0.7515 MB / 435.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09723, allocations: 0 / 435.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002956/0.1002, allocations: 0.6171 MB / 436.4 MB, free: 5.25 MB / 410.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.0004547/0.1006, allocations: 158.9 kB / 436.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003485/0.1041, allocations: 1.72 MB / 438.2 MB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.1041, allocations: 4.125 kB / 438.2 MB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.1049, allocations: 0.5403 MB / 438.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.1064, allocations: 289.1 kB / 439.1 MB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1979/0.3043, allocations: 5.012 MB / 444.1 MB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3056, allocations: 0.8541 MB / 444.9 MB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001226/0.3068, allocations: 284.6 kB / 445.2 MB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.3074, allocations: 385.1 kB / 445.6 MB, free: 127.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.717e-06/0.3074, allocations: 0 / 445.6 MB, free: 127.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04295/0.3504, allocations: 20.94 MB / 466.5 MB, free: 125.6 MB / 410.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.9082167739979923]