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.001971/0.001971, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00253/0.00253, allocations: 205.8 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.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.05199/0.05199, allocations: 9.23 MB / 321.6 MB, free: 9.879 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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 67.91 kB / 448.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1098, allocations: 55.48 MB / 0.4918 GB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01017/0.12, allocations: 7.241 MB / 0.4989 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.1257, allocations: 2.578 MB / 0.5014 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1268, allocations: 35.88 kB / 0.5015 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1279, allocations: 361.6 kB / 0.5018 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.1312, allocations: 1.257 MB / 0.503 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.132, allocations: 263.6 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.1353, allocations: 2.411 MB / 0.5056 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.1369, allocations: 0.8929 MB / 0.5065 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.1387, allocations: 0.9107 MB / 0.5074 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.1415, allocations: 1.366 MB / 0.5087 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007972/0.1423, allocations: 251.9 kB / 0.509 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.144, allocations: 0.6865 MB / 0.5096 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00165/0.1457, allocations: 1.207 MB / 0.5108 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.1477, allocations: 1.087 MB / 0.5119 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2158/0.3634, allocations: 4.931 MB / 0.5167 GB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3634, allocations: 1.875 kB / 0.5167 GB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3634, allocations: 0 / 0.5167 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.3635, allocations: 0 / 0.5167 GB, free: 13.01 MB / 382.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.006338/0.3699, allocations: 3.613 MB / 0.5202 GB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3699, allocations: 8.219 kB / 0.5202 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006546/0.3764, allocations: 1.769 MB / 0.522 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.3793, allocations: 1.277 MB / 0.5232 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3794, allocations: 151.9 kB / 0.5234 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.3799, allocations: 201.9 kB / 0.5235 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.3903, allocations: 7.565 MB / 0.5309 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.3904, allocations: 24.14 kB / 0.531 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.3907, allocations: 89.55 kB / 0.531 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002721/0.3934, allocations: 1.707 MB / 0.5327 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.4044, allocations: 6.828 MB / 0.5394 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02506/0.4295, allocations: 20.65 MB / 0.5595 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.4329, allocations: 1.484 MB / 0.561 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4341, allocations: 0.7103 MB / 0.5617 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004178/0.4383, allocations: 1.978 MB / 0.5636 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4383, allocations: 40.69 kB / 0.5637 GB, free: 3.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 3.176e-06/0.4383, allocations: 0 / 0.5637 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.008467/0.4468, allocations: 4.039 MB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4469, allocations: 68.39 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.4498, allocations: 2.078 MB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.4499, allocations: 44.23 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4515, allocations: 2.097 MB / 0.5718 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.4519, allocations: 0.5191 MB / 0.5723 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.453, allocations: 0.7464 MB / 0.573 GB, free: 9.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4532, allocations: 341.9 kB / 0.5733 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.4553, allocations: 1.214 MB / 0.5745 GB, free: 8.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.4593, allocations: 3.259 MB / 0.5777 GB, free: 3.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008493/0.4678, allocations: 5.405 MB / 0.583 GB, free: 13.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-05/0.4678, allocations: 20 kB / 0.583 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.007753/0.4756, allocations: 4.523 MB / 0.5874 GB, free: 9.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.4756, allocations: 43.92 kB / 0.5875 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.003e-05/0.4757, allocations: 72 kB / 0.5875 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.4763, allocations: 232.2 kB / 0.5878 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.4788, allocations: 0.8154 MB / 0.5886 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.4824, allocations: 2.733 MB / 0.5912 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.4847, allocations: 195.9 kB / 0.5914 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.485, allocations: 219 kB / 0.5916 GB, free: 5.016 MB / 430.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.002548/0.4876, allocations: 1.504 MB / 0.5931 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.4879, allocations: 174.8 kB / 0.5933 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.4911, allocations: 1.783 MB / 0.595 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.4912, allocations: 31.92 kB / 0.595 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4912, allocations: 1.312 kB / 0.595 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.4913, allocations: 7.969 kB / 0.595 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00871/0.5, allocations: 4.166 MB / 0.5991 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5, allocations: 4 kB / 0.5991 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.5008, allocations: 175.8 kB / 0.5993 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.5011, allocations: 124.6 kB / 0.5994 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.5012, allocations: 32.78 kB / 0.5994 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.5041, allocations: 2.271 MB / 0.6016 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5041, allocations: 4.031 kB / 0.6016 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.5089, allocations: 2.798 MB / 0.6044 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/0.5098, allocations: 311.3 kB / 0.6047 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.51, allocations: 16 kB / 0.6047 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.5107, allocations: 51.94 kB / 0.6047 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5109, allocations: 88.8 kB / 0.6048 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.511, allocations: 42.64 kB / 0.6049 GB, free: 7.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.5131, allocations: 1.212 MB / 0.6061 GB, free: 6.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5131, allocations: 0 / 0.6061 GB, free: 6.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002835/0.5159, allocations: 0.604 MB / 0.6066 GB, free: 5.426 MB / 446.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.0003472/0.5163, allocations: 145.7 kB / 0.6068 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.5215, allocations: 2.832 MB / 0.6095 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5215, allocations: 0 / 0.6095 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.523, allocations: 0.8662 MB / 0.6104 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5246, allocations: 278 kB / 0.6107 GB, free: 1.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5365, allocations: 5.979 MB / 0.6165 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.5393, allocations: 1.902 MB / 0.6184 GB, free: 9.367 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002671/0.542, allocations: 1.059 MB / 0.6194 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.5424, allocations: 143.4 kB / 0.6195 GB, free: 8.168 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5424, allocations: 0 / 0.6195 GB, free: 8.168 MB / 462.1 MB Notification: Performance of Templates: time 0.04459/0.587, allocations: 22.18 MB / 0.6412 GB, free: 2.301 MB / 478.1 MB " [Timeout remaining time 659] 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.664742162451148] Failed to read output from testmodel.py, exit status != 0: 0.5967432055622339 0.611540882 0.24473681900000002 Calling exit ...