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.00146/0.00146, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001572/0.001572, allocations: 162 kB / 23.01 MB, free: 4.965 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: 177.2 MB / 203.4 MB, free: 8.969 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.04731/0.04731, allocations: 7.129 MB / 266.9 MB, free: 9.73 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.00214/0.00214, allocations: 63.91 kB / 393.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1185, allocations: 55.46 MB / 448.8 MB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.009688/0.1282, allocations: 7.227 MB / 456.1 MB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.1345, allocations: 2.574 MB / 458.6 MB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.1361, allocations: 35.88 kB / 458.7 MB, free: 9.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.1374, allocations: 361.6 kB / 459 MB, free: 8.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.141, allocations: 1.257 MB / 460.3 MB, free: 7.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.1417, allocations: 263.6 kB / 460.5 MB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.1447, allocations: 2.413 MB / 463 MB, free: 4.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1459, allocations: 0.9006 MB / 463.9 MB, free: 3.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.147, allocations: 0.9068 MB / 464.8 MB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.149, allocations: 1.366 MB / 466.1 MB, free: 1.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.1494, allocations: 251.9 kB / 466.4 MB, free: 1.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1507, allocations: 0.6866 MB / 467.1 MB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.1519, allocations: 1.207 MB / 468.3 MB, free: 15.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1531, allocations: 1.087 MB / 469.4 MB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005608/0.1587, allocations: 4.93 MB / 474.3 MB, free: 9.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1587, allocations: 0 / 474.3 MB, free: 9.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1588, allocations: 0 / 474.3 MB, free: 9.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.601e-05/0.1588, allocations: 0 / 474.3 MB, free: 9.344 MB / 446.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.007368/0.1662, allocations: 3.636 MB / 477.9 MB, free: 5.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1662, allocations: 8.625 kB / 477.9 MB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007034/0.1733, allocations: 1.832 MB / 479.8 MB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.1761, allocations: 1.266 MB / 481 MB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.1762, allocations: 152.2 kB / 481.2 MB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.1766, allocations: 200.2 kB / 481.4 MB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2406/0.4172, allocations: 7.529 MB / 488.9 MB, free: 66.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/0.4173, allocations: 22.7 kB / 488.9 MB, free: 66.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.4175, allocations: 92.3 kB / 489 MB, free: 66.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002311/0.4198, allocations: 1.706 MB / 490.7 MB, free: 65.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.4318, allocations: 6.761 MB / 497.5 MB, free: 63.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.458, allocations: 20.7 MB / 0.506 GB, free: 50 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.4612, allocations: 1.511 MB / 0.5075 GB, free: 49.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4622, allocations: 0.7 MB / 0.5082 GB, free: 49.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/0.4663, allocations: 1.992 MB / 0.5101 GB, free: 48.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4663, allocations: 38.91 kB / 0.5102 GB, free: 48.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=118): time 3.256e-06/0.4663, allocations: 1.062 kB / 0.5102 GB, free: 48.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=132): time 0.007638/0.4739, allocations: 4.058 MB / 0.5141 GB, free: 46.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.474, allocations: 66.06 kB / 0.5142 GB, free: 46.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.4767, allocations: 2.069 MB / 0.5162 GB, free: 46.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.4768, allocations: 40.89 kB / 0.5163 GB, free: 45.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/0.4778, allocations: 2.102 MB / 0.5183 GB, free: 44.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.4782, allocations: 0.5131 MB / 0.5188 GB, free: 43.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008749/0.479, allocations: 0.7449 MB / 0.5196 GB, free: 43.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.4791, allocations: 345.2 kB / 0.5199 GB, free: 43.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.4809, allocations: 1.202 MB / 0.5211 GB, free: 42.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.4834, allocations: 3.261 MB / 0.5242 GB, free: 39.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/0.4902, allocations: 5.374 MB / 0.5295 GB, free: 35.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.272e-05/0.4903, allocations: 25.41 kB / 0.5295 GB, free: 35.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.008492/0.4988, allocations: 4.528 MB / 0.5339 GB, free: 33.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.4989, allocations: 35.72 kB / 0.534 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.499, allocations: 73.66 kB / 0.534 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.4996, allocations: 234.8 kB / 0.5343 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.5022, allocations: 0.8067 MB / 0.535 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.5052, allocations: 2.747 MB / 0.5377 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.5084, allocations: 190.7 kB / 0.5379 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005517/0.5089, allocations: 214 kB / 0.5381 GB, free: 31.8 MB / 446.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.002736/0.5116, allocations: 1.5 MB / 0.5396 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/0.5121, allocations: 184.3 kB / 0.5398 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.5151, allocations: 1.765 MB / 0.5415 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.5152, allocations: 25.72 kB / 0.5415 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5152, allocations: 8 kB / 0.5415 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.5152, allocations: 5.016 kB / 0.5415 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.523, allocations: 4.167 MB / 0.5456 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.523, allocations: 4 kB / 0.5456 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/0.5238, allocations: 176.4 kB / 0.5458 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.5241, allocations: 126.8 kB / 0.5459 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.5242, allocations: 26.3 kB / 0.5459 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5262, allocations: 2.281 MB / 0.5481 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5262, allocations: 0 / 0.5481 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.5299, allocations: 2.769 MB / 0.5508 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.5309, allocations: 306.1 kB / 0.5511 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.5312, allocations: 29.47 kB / 0.5512 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.5319, allocations: 61.58 kB / 0.5512 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5321, allocations: 71.72 kB / 0.5513 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.5322, allocations: 42.34 kB / 0.5513 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.5339, allocations: 1.201 MB / 0.5525 GB, free: 20.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5339, allocations: 0 / 0.5525 GB, free: 20.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003192/0.5371, allocations: 0.6022 MB / 0.5531 GB, free: 19.42 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.0003257/0.5374, allocations: 151.8 kB / 0.5532 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004699/0.5421, allocations: 2.817 MB / 0.556 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5421, allocations: 4 kB / 0.556 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5433, allocations: 0.8523 MB / 0.5568 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.5449, allocations: 273.8 kB / 0.5571 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/0.5541, allocations: 5.983 MB / 0.5629 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.5561, allocations: 1.9 MB / 0.5648 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002058/0.5582, allocations: 1.067 MB / 0.5658 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.5585, allocations: 136.5 kB / 0.5659 GB, free: 7.641 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5585, allocations: 0 / 0.5659 GB, free: 7.641 MB / 446.1 MB Notification: Performance of Templates: time 0.03747/0.596, allocations: 19.35 MB / 0.5848 GB, free: 4.539 MB / 462.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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.466976415016688] Failed to read output from testmodel.py, exit status != 0: 0.6055989430751652 0.621622731 0.459523086 Calling exit ...