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.001362/0.001362, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001557/0.001557, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04646/0.04646, allocations: 7.112 MB / 266.3 MB, free: 9.758 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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.152e-06/1.152e-06, allocations: 0 / 392.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.635e-05, allocations: 13.31 kB / 392.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01/0.01003, allocations: 7.247 MB / 400.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006281/0.01631, allocations: 2.581 MB / 402.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.01766, allocations: 35.88 kB / 402.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.01894, allocations: 357.6 kB / 403.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.02291, allocations: 1.306 MB / 404.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.0237, allocations: 263.5 kB / 404.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.02748, allocations: 2.462 MB / 407.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.02935, allocations: 0.9045 MB / 408 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.03252, allocations: 1.368 MB / 409.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.03525, allocations: 1.309 MB / 410.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008845/0.03613, allocations: 248 kB / 410.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.03819, allocations: 0.7527 MB / 411.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.04014, allocations: 1.246 MB / 412.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.04225, allocations: 0.8255 MB / 413.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.04862, allocations: 4.934 MB / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.04863, allocations: 7.922 kB / 418.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.04863, allocations: 0 / 418.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.04873, allocations: 4 kB / 418.7 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.00886/0.05759, allocations: 3.593 MB / 422.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.05764, allocations: 8.625 kB / 422.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.06495, allocations: 1.836 MB / 424.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.06772, allocations: 1.261 MB / 425.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.06788, allocations: 152.2 kB / 425.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/0.06837, allocations: 200.2 kB / 425.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.0806, allocations: 7.527 MB / 433.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.592e-05/0.08068, allocations: 20.06 kB / 433.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.08101, allocations: 99.81 kB / 433.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/0.08425, allocations: 1.712 MB / 435.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.09882, allocations: 6.754 MB / 441.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2174/0.3162, allocations: 20.65 MB / 462.5 MB, free: 46.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.3198, allocations: 1.509 MB / 464 MB, free: 45.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.3209, allocations: 0.7038 MB / 464.7 MB, free: 45.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004666/0.3255, allocations: 1.991 MB / 466.7 MB, free: 44.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3256, allocations: 49.33 kB / 466.8 MB, free: 44.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 3.076e-06/0.3256, allocations: 0 / 466.8 MB, free: 44.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.007643/0.3332, allocations: 4.056 MB / 470.8 MB, free: 43.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3333, allocations: 66.34 kB / 470.9 MB, free: 43.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3354, allocations: 2.073 MB / 473 MB, free: 42.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.3355, allocations: 41.67 kB / 473 MB, free: 42.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007239/0.3362, allocations: 2.078 MB / 475.1 MB, free: 40.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.3365, allocations: 0.5057 MB / 475.6 MB, free: 40.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/0.3372, allocations: 0.7304 MB / 476.3 MB, free: 40.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.3373, allocations: 343.5 kB / 476.7 MB, free: 39.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.3392, allocations: 1.208 MB / 477.9 MB, free: 39.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.3416, allocations: 3.262 MB / 481.1 MB, free: 36.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006726/0.3483, allocations: 5.383 MB / 486.5 MB, free: 31.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-05/0.3483, allocations: 21.22 kB / 486.5 MB, free: 31.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.006307/0.3546, allocations: 4.508 MB / 491 MB, free: 28.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.3547, allocations: 39.94 kB / 491.1 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/0.3547, allocations: 76.09 kB / 491.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.3552, allocations: 238.1 kB / 491.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.3573, allocations: 0.811 MB / 492.2 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.3598, allocations: 2.739 MB / 494.9 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.362, allocations: 187.9 kB / 495.1 MB, free: 24.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.3623, allocations: 220.5 kB / 495.3 MB, free: 23.8 MB / 366.1 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 (436): * Single equations (assignments): 431 * 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.001708/0.364, allocations: 1.508 MB / 496.8 MB, free: 22.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.3642, allocations: 182.7 kB / 497 MB, free: 22.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.3666, allocations: 1.768 MB / 498.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.432e-05/0.3667, allocations: 23.98 kB / 498.8 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3667, allocations: 112 / 498.8 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3667, allocations: 15.91 kB / 498.8 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/0.373, allocations: 4.168 MB / 0.4912 GB, free: 16.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.373, allocations: 8.219 kB / 0.4912 GB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.3737, allocations: 175.8 kB / 0.4914 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.3741, allocations: 120.8 kB / 0.4915 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.3741, allocations: 24 kB / 0.4915 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.3759, allocations: 2.275 MB / 0.4937 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3759, allocations: 0 / 0.4937 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.379, allocations: 2.771 MB / 0.4964 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.3795, allocations: 302.7 kB / 0.4967 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.3797, allocations: 22.58 kB / 0.4968 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.3804, allocations: 55.92 kB / 0.4968 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3805, allocations: 76.81 kB / 0.4969 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.3806, allocations: 39.98 kB / 0.4969 GB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.3819, allocations: 1.204 MB / 0.4981 GB, free: 8.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3819, allocations: 0 / 0.4981 GB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002395/0.3843, allocations: 0.6052 MB / 0.4987 GB, free: 8.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (99): * Single equations (assignments): 94 * 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.0002745/0.3846, allocations: 156 kB / 0.4988 GB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.3882, allocations: 2.822 MB / 0.5016 GB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3882, allocations: 4 kB / 0.5016 GB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3892, allocations: 0.8497 MB / 0.5024 GB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3905, allocations: 266.1 kB / 0.5027 GB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/0.3986, allocations: 5.904 MB / 0.5084 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/0.4012, allocations: 1.905 MB / 0.5103 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002458/0.4036, allocations: 1.059 MB / 0.5113 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.404, allocations: 140.5 kB / 0.5115 GB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.404, allocations: 0 / 0.5115 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.04128/0.4453, allocations: 19.27 MB / 0.5303 GB, free: 8.086 MB / 398.1 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.291670765727758] Failed to read output from testmodel.py, exit status != 0: 0.4547215402126312 0.46985031200000005 0.41767462800000005 Calling exit ...