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.001339/0.001339, 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.001622/0.001622, allocations: 170.3 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.9229/0.9229, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02755/0.02755, allocations: 7.115 MB / 266.3 MB, free: 6.324 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.462e-06/1.462e-06, allocations: 0 / 392.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.638e-05, allocations: 5.375 kB / 392.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01316/0.01318, allocations: 15.99 MB / 408.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1825/0.1957, allocations: 5.38 MB / 413.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.1989, allocations: 105.2 kB / 413.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.2024, allocations: 1.81 MB / 415.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006967/0.2094, allocations: 3.138 MB / 418.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.2112, allocations: 0.7691 MB / 419.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00954/0.2207, allocations: 7.239 MB / 426.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006355/0.2271, allocations: 3.955 MB / 430.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007294/0.2344, allocations: 3.418 MB / 434.2 MB, free: 8.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.2394, allocations: 3.021 MB / 437.2 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.2408, allocations: 0.5495 MB / 437.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.2435, allocations: 1.356 MB / 439.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.2454, allocations: 2.84 MB / 442 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.2485, allocations: 1.901 MB / 443.9 MB, free: 3.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2592, allocations: 11.32 MB / 455.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2592, allocations: 0 / 455.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2592, allocations: 0 / 455.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004266/0.2596, allocations: 0 / 455.2 MB, free: 8.215 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.02575/0.2854, allocations: 11.16 MB / 466.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.2854, allocations: 8.625 kB / 466.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/0.2877, allocations: 1.124 MB / 467.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007972/0.2957, allocations: 3.671 MB / 471.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006763/0.3024, allocations: 3.417 MB / 474.6 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.3027, allocations: 340.2 kB / 474.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.3043, allocations: 455.2 kB / 475.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/0.3303, allocations: 17.62 MB / 493 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000261/0.3306, allocations: 83.33 kB / 493.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/0.3318, allocations: 217.4 kB / 493.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/0.336, allocations: 3.709 MB / 497 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/0.3627, allocations: 15.35 MB / 0.5003 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08099/0.4437, allocations: 68.97 MB / 0.5677 GB, free: 8.301 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.4584, allocations: 6.544 MB / 0.5741 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1779/0.6363, allocations: 3.2 MB / 0.5772 GB, free: 147.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/0.658, allocations: 11.93 MB / 0.5888 GB, free: 144 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.6581, allocations: 75.62 kB / 0.5889 GB, free: 144 MB / 474.7 MB Notification: Performance of pre-optimization done (n=373): time 7.223e-06/0.6581, allocations: 1.188 kB / 0.5889 GB, free: 144 MB / 474.7 MB Notification: Performance of matching and sorting (n=420): time 0.04781/0.7059, allocations: 26.58 MB / 0.6149 GB, free: 132.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.706, allocations: 192.9 kB / 0.6151 GB, free: 132.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007279/0.7133, allocations: 7.116 MB / 0.622 GB, free: 126.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007747/0.714, allocations: 85.7 kB / 0.6221 GB, free: 126.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.7159, allocations: 4.917 MB / 0.6269 GB, free: 121.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.7174, allocations: 1.594 MB / 0.6285 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00254/0.7199, allocations: 2.123 MB / 0.6305 GB, free: 118.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.72, allocations: 309.1 kB / 0.6308 GB, free: 118.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/0.7237, allocations: 3.599 MB / 0.6343 GB, free: 114.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/0.7288, allocations: 9.61 MB / 0.6437 GB, free: 102.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.7389, allocations: 14.43 MB / 0.6578 GB, free: 84.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/0.7391, allocations: 63.66 kB / 0.6579 GB, free: 84.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.01952/0.7586, allocations: 13.38 MB / 0.6709 GB, free: 71.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7587, allocations: 96 kB / 0.671 GB, free: 71.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/0.759, allocations: 212.1 kB / 0.6712 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.7597, allocations: 0.5982 MB / 0.6718 GB, free: 70.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.7649, allocations: 2.456 MB / 0.6742 GB, free: 67.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.7691, allocations: 4.922 MB / 0.679 GB, free: 62.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/0.7757, allocations: 0.5413 MB / 0.6795 GB, free: 62.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/0.7772, allocations: 0.6288 MB / 0.6802 GB, free: 61.78 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.005477/0.7827, allocations: 3.518 MB / 0.6836 GB, free: 58.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/0.7839, allocations: 0.6053 MB / 0.6842 GB, free: 57.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/0.7905, allocations: 5.216 MB / 0.6893 GB, free: 52.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-05/0.7905, allocations: 64 kB / 0.6893 GB, free: 52.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.7905, allocations: 11.09 kB / 0.6894 GB, free: 52.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.7906, allocations: 19.92 kB / 0.6894 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/0.8158, allocations: 19.32 MB / 0.7082 GB, free: 32.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/0.8158, allocations: 24 kB / 0.7083 GB, free: 32.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.8176, allocations: 0.6747 MB / 0.7089 GB, free: 31.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005821/0.8182, allocations: 352.2 kB / 0.7093 GB, free: 31.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/0.8185, allocations: 99.98 kB / 0.7094 GB, free: 31.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.8222, allocations: 6.349 MB / 0.7156 GB, free: 24.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.8222, allocations: 39.81 kB / 0.7156 GB, free: 24.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008422/0.8306, allocations: 9.736 MB / 0.7251 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/0.833, allocations: 1.109 MB / 0.7262 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009526/0.834, allocations: 95.98 kB / 0.7263 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.8358, allocations: 195.8 kB / 0.7265 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.8362, allocations: 332.8 kB / 0.7268 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.8364, allocations: 136 kB / 0.7269 GB, free: 12.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005755/0.8421, allocations: 4.487 MB / 0.7313 GB, free: 8.223 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8421, allocations: 4 kB / 0.7313 GB, free: 8.219 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0081/0.8502, allocations: 1.652 MB / 0.7329 GB, free: 6.566 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.009927/0.8602, allocations: 10.49 MB / 0.7432 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1709/1.031, allocations: 8.429 MB / 0.7514 GB, free: 153.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.777e-05/1.031, allocations: 6.938 kB / 0.7514 GB, free: 153.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004338/1.035, allocations: 2.93 MB / 0.7543 GB, free: 152.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.041, allocations: 0.8462 MB / 0.7551 GB, free: 152.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/1.152, allocations: 80.99 MB / 0.8342 GB, free: 85.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005275/1.158, allocations: 4.435 MB / 0.8385 GB, free: 80.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005239/1.163, allocations: 3.229 MB / 0.8416 GB, free: 77.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004168/1.167, allocations: 3.187 MB / 0.8448 GB, free: 74.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.774e-06/1.167, allocations: 0 / 0.8448 GB, free: 74.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3059/1.473, allocations: 120.6 MB / 0.9625 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.56, allocations: 3.5 kB / 0.9625 GB, free: 137.6 MB / 0.4948 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PlanarMechanics_PlanarMechanics_GearComponents_Examples_PlanetaryGear.fmu > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.57539004366845] Failed to read output from testmodel.py, exit status != 0: 16.71187375765294 16.722191348 16.461058145 Calling exit ...