Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.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.0007285/0.0007285, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007458/0.0007458, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8667/0.8667, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02687/0.02687, allocations: 7.124 MB / 266.3 MB, free: 6.309 MB / 250.7 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: "" <> buildModelFMU(PlanarMechanics.GearComponents.Examples.PlanetaryGear,fileNamePrefix="PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.GearComponents.Examples.PlanetaryGear,fileNamePrefix="PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 392.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.403e-05, allocations: 2.281 kB / 392.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01219/0.0122, allocations: 15.99 MB / 408.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.178, allocations: 5.384 MB / 413.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.1819, allocations: 109.6 kB / 413.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.1862, allocations: 1.809 MB / 415.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00808/0.1943, allocations: 3.136 MB / 418.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1965, allocations: 0.7716 MB / 419.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.2075, allocations: 7.243 MB / 426.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006544/0.214, allocations: 3.955 MB / 430.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008871/0.2229, allocations: 3.422 MB / 434.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.2287, allocations: 3.017 MB / 437.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.2307, allocations: 0.547 MB / 437.8 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/0.2344, allocations: 1.348 MB / 439.1 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.2374, allocations: 2.841 MB / 442 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.2406, allocations: 1.914 MB / 443.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.2509, allocations: 11.32 MB / 455.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.2509, allocations: 0 / 455.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2509, allocations: 0 / 455.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004788/0.2514, allocations: 0 / 455.2 MB, free: 8.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.0233/0.2747, allocations: 11.15 MB / 466.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2747, allocations: 8.625 kB / 466.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002244/0.2769, allocations: 1.119 MB / 467.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007652/0.2846, allocations: 3.675 MB / 471.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/0.2907, allocations: 3.416 MB / 474.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.291, allocations: 345.6 kB / 474.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.2925, allocations: 449.9 kB / 475.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.3163, allocations: 17.62 MB / 493 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.3166, allocations: 79.39 kB / 493.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.3179, allocations: 218.7 kB / 493.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003683/0.3216, allocations: 3.708 MB / 497 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.3444, allocations: 15.35 MB / 0.5003 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07659/0.421, allocations: 68.98 MB / 0.5677 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.4346, allocations: 6.538 MB / 0.5741 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1724/0.607, allocations: 3.2 MB / 0.5772 GB, free: 147.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01858/0.6255, allocations: 11.93 MB / 0.5888 GB, free: 143.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.6256, allocations: 70.72 kB / 0.5889 GB, free: 143.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=373): time 7.233e-06/0.6256, allocations: 0 / 0.5889 GB, free: 143.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=420): time 0.03683/0.6624, allocations: 26.59 MB / 0.6149 GB, free: 132.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6625, allocations: 200.6 kB / 0.6151 GB, free: 131.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006054/0.6685, allocations: 7.11 MB / 0.622 GB, free: 126.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.6688, allocations: 81.7 kB / 0.6221 GB, free: 126 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.6703, allocations: 4.927 MB / 0.6269 GB, free: 121.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/0.671, allocations: 1.591 MB / 0.6285 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.6726, allocations: 2.119 MB / 0.6305 GB, free: 118.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.893e-05/0.6727, allocations: 305.1 kB / 0.6308 GB, free: 117.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.6757, allocations: 3.602 MB / 0.6343 GB, free: 114.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/0.6799, allocations: 9.61 MB / 0.6437 GB, free: 101.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/0.6887, allocations: 14.43 MB / 0.6578 GB, free: 84.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-05/0.6888, allocations: 63.66 kB / 0.6579 GB, free: 84.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.01183/0.7006, allocations: 13.38 MB / 0.6709 GB, free: 71.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.7007, allocations: 92 kB / 0.671 GB, free: 70.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.7008, allocations: 215.9 kB / 0.6712 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/0.7015, allocations: 0.6028 MB / 0.6718 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/0.7052, allocations: 2.445 MB / 0.6742 GB, free: 67.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.7088, allocations: 4.935 MB / 0.679 GB, free: 62.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/0.7129, allocations: 0.5379 MB / 0.6795 GB, free: 62.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004997/0.7134, allocations: 0.6249 MB / 0.6802 GB, free: 61.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * Number of states: 0 () * Number of discrete variables: 42 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1303): * Single equations (assignments): 1294 * Array equations: 8 * 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 {(6,28,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002981/0.7163, allocations: 3.521 MB / 0.6836 GB, free: 57.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.7169, allocations: 0.6053 MB / 0.6842 GB, free: 57.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.7213, allocations: 5.219 MB / 0.6893 GB, free: 52.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.7214, allocations: 63.98 kB / 0.6893 GB, free: 52.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.7214, allocations: 8 kB / 0.6894 GB, free: 52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.7214, allocations: 15.94 kB / 0.6894 GB, free: 51.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7373, allocations: 19.33 MB / 0.7082 GB, free: 32.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7373, allocations: 24 kB / 0.7083 GB, free: 32.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.7386, allocations: 0.6747 MB / 0.7089 GB, free: 31.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.7391, allocations: 355.7 kB / 0.7093 GB, free: 31.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.7392, allocations: 96.86 kB / 0.7094 GB, free: 31.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.7422, allocations: 6.345 MB / 0.7156 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.7422, allocations: 43.75 kB / 0.7156 GB, free: 24.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00678/0.749, allocations: 9.736 MB / 0.7251 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/0.7506, allocations: 1.105 MB / 0.7262 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/0.7511, allocations: 95.98 kB / 0.7263 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.7523, allocations: 195.8 kB / 0.7265 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.7527, allocations: 329 kB / 0.7268 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7528, allocations: 132 kB / 0.7269 GB, free: 12.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003422/0.7562, allocations: 4.495 MB / 0.7313 GB, free: 7.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.7562, allocations: 0 / 0.7313 GB, free: 7.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004022/0.7602, allocations: 1.652 MB / 0.7329 GB, free: 6.262 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 6 (heatCapacitor.T,planetary.planet.phi,planetary.bearing_Carrier.phi,planetary.bearing_Carrier.w,sunSpeed.phi,ringTorque.phi) * 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 (365): * Single equations (assignments): 356 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,22,52.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00748/0.7677, allocations: 10.49 MB / 0.7431 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1454/0.9131, allocations: 8.432 MB / 0.7514 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-05/0.9131, allocations: 4 kB / 0.7514 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004558/0.9177, allocations: 2.931 MB / 0.7542 GB, free: 152.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/0.9222, allocations: 0.8555 MB / 0.7551 GB, free: 152.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/1.032, allocations: 80.98 MB / 0.8342 GB, free: 84.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007693/1.04, allocations: 4.431 MB / 0.8385 GB, free: 80.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006439/1.047, allocations: 3.237 MB / 0.8417 GB, free: 77.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004104/1.051, allocations: 3.183 MB / 0.8448 GB, free: 74.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.994e-06/1.051, allocations: 0 / 0.8448 GB, free: 74.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/1.35, allocations: 120.6 MB / 0.9625 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.98, allocations: 3.5 kB / 0.9625 GB, free: 137.3 MB / 0.4948 GB " [Timeout remaining time 646] (rm -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear.fmu > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.860732341185212] Failed to read output from testmodel.py, exit status != 0: 14.127161183394492 14.135116901 13.882425167 Calling exit ...