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.001809/0.001809, allocations: 85.48 kB / 19.44 MB, free: 344 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.00205/0.00205, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.627/1.627, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.08075/0.08075, allocations: 7.173 MB / 266.7 MB, free: 6.086 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.443e-06/1.443e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.572e-05, allocations: 6.031 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.006898/0.006924, allocations: 8.017 MB / 346.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.01144, allocations: 2.657 MB / 348.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.01218, allocations: 35.88 kB / 348.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008079/0.01299, allocations: 365.5 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.0158, allocations: 1.318 MB / 350.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.01637, allocations: 259.5 kB / 350.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.01963, allocations: 2.502 MB / 353.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.02114, allocations: 0.9479 MB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.02315, allocations: 1.376 MB / 355.6 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.02526, allocations: 1.34 MB / 356.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.02572, allocations: 248 kB / 357.2 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.02722, allocations: 0.7528 MB / 357.9 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.02865, allocations: 1.25 MB / 359.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.02996, allocations: 0.8488 MB / 360 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.03646, allocations: 4.961 MB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.03647, allocations: 0 / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03647, allocations: 0 / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.168e-05/0.03656, allocations: 0 / 365 MB, free: 15.57 MB / 298.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.009835/0.0464, allocations: 4.311 MB / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.04645, allocations: 8.625 kB / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/0.05423, allocations: 2.187 MB / 371.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.05766, allocations: 1.221 MB / 372.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.05783, allocations: 156.2 kB / 372.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/0.05833, allocations: 200.2 kB / 373.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/0.06733, allocations: 4.316 MB / 377.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.51e-05/0.0674, allocations: 20.06 kB / 377.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.06772, allocations: 99.81 kB / 377.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/0.0709, allocations: 1.704 MB / 379.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009045/0.07995, allocations: 2.647 MB / 381.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2071/0.287, allocations: 35.59 MB / 417.4 MB, free: 55.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.29, allocations: 0.9069 MB / 418.3 MB, free: 55.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/0.2908, allocations: 344 kB / 418.7 MB, free: 55.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005321/0.2961, allocations: 1.906 MB / 420.6 MB, free: 55.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2961, allocations: 43.12 kB / 420.6 MB, free: 55.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 4.208e-06/0.2961, allocations: 5.562 kB / 420.6 MB, free: 55.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.007046/0.3032, allocations: 2.711 MB / 423.3 MB, free: 54.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3032, allocations: 63.19 kB / 423.4 MB, free: 54.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/0.3062, allocations: 2.506 MB / 425.9 MB, free: 54.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3064, allocations: 45.17 kB / 426 MB, free: 54.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.3075, allocations: 2.332 MB / 428.3 MB, free: 52.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.308, allocations: 0.5863 MB / 428.9 MB, free: 52.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.3091, allocations: 0.975 MB / 429.8 MB, free: 51.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3093, allocations: 0.5327 MB / 430.4 MB, free: 51.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3104, allocations: 0.5165 MB / 430.9 MB, free: 51.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.3126, allocations: 3.697 MB / 434.6 MB, free: 47.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.3166, allocations: 4.702 MB / 439.3 MB, free: 42.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.351e-05/0.3166, allocations: 23.5 kB / 439.3 MB, free: 42.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.005859/0.3225, allocations: 3.336 MB / 442.7 MB, free: 41.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.3225, allocations: 37.28 kB / 442.7 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.943e-05/0.3226, allocations: 71.47 kB / 442.8 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.3233, allocations: 214.6 kB / 443 MB, free: 40.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.3256, allocations: 0.8177 MB / 443.8 MB, free: 40.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.328, allocations: 2.893 MB / 446.7 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.3305, allocations: 188.6 kB / 446.9 MB, free: 37.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.3308, allocations: 219.4 kB / 447.1 MB, free: 37.01 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.001367/0.3321, allocations: 0.5548 MB / 447.6 MB, free: 36.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.3325, allocations: 218.8 kB / 447.8 MB, free: 36.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.3345, allocations: 1.015 MB / 448.9 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.223e-05/0.3346, allocations: 23.98 kB / 448.9 MB, free: 35.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3346, allocations: 4 kB / 448.9 MB, free: 35.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.3346, allocations: 7.922 kB / 448.9 MB, free: 35.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008331/0.3429, allocations: 4.607 MB / 453.5 MB, free: 30.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.3429, allocations: 4 kB / 453.5 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.3437, allocations: 187.7 kB / 453.7 MB, free: 30.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.344, allocations: 99.92 kB / 453.8 MB, free: 30.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.3441, allocations: 27.98 kB / 453.8 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.3458, allocations: 2.479 MB / 456.3 MB, free: 27.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3458, allocations: 8.031 kB / 456.3 MB, free: 27.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.3485, allocations: 1.61 MB / 457.9 MB, free: 25.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.3493, allocations: 298.7 kB / 458.2 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.3495, allocations: 26.66 kB / 458.2 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.3501, allocations: 51.94 kB / 458.3 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3503, allocations: 88.75 kB / 458.4 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.3504, allocations: 40 kB / 458.4 MB, free: 25.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.3518, allocations: 1.056 MB / 459.5 MB, free: 24.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 459.5 MB, free: 24.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003012/0.3548, allocations: 0.6118 MB / 460.1 MB, free: 23.84 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.0003622/0.3552, allocations: 157.4 kB / 460.2 MB, free: 23.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004048/0.3592, allocations: 2.187 MB / 462.4 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3592, allocations: 4 kB / 462.4 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.3602, allocations: 0.67 MB / 463.1 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.3619, allocations: 293.2 kB / 463.4 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.371, allocations: 5.149 MB / 468.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.3727, allocations: 1.725 MB / 470.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001991/0.3747, allocations: 0.9111 MB / 471.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.3751, allocations: 136.5 kB / 471.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.983e-06/0.3751, allocations: 3.938 kB / 471.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of Templates: time 0.03842/0.4135, allocations: 19.48 MB / 490.8 MB, free: 9.262 MB / 346.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: 5.658496416988783]