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.001267/0.001267, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001471/0.001471, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.04858/0.04858, allocations: 9.233 MB / 318.1 MB, free: 11.2 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: "" <> 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: 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.001907/0.001907, allocations: 63.91 kB / 442.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 55.42 MB / 498 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.02153/0.1359, allocations: 18.55 MB / 0.5044 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1485, allocations: 5.64 MB / 0.5099 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.1521, allocations: 111.5 kB / 0.51 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004617/0.1567, allocations: 1.785 MB / 0.5118 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2692/0.4258, allocations: 3.04 MB / 0.5147 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.4284, allocations: 0.7236 MB / 0.5154 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01211/0.4405, allocations: 6.778 MB / 0.5221 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0076/0.4481, allocations: 3.444 MB / 0.5254 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/0.4542, allocations: 2.22 MB / 0.5276 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006374/0.4605, allocations: 3.163 MB / 0.5307 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002596/0.4631, allocations: 0.5417 MB / 0.5312 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/0.4678, allocations: 1.363 MB / 0.5325 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003851/0.4716, allocations: 2.741 MB / 0.5352 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005989/0.4776, allocations: 3.539 MB / 0.5387 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.4958, allocations: 11.36 MB / 0.5498 GB, free: 9.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4958, allocations: 0 / 0.5498 GB, free: 9.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4958, allocations: 2.875 kB / 0.5498 GB, free: 9.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004771/0.4963, allocations: 0 / 0.5498 GB, free: 9.473 MB / 398.1 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.04043/0.5367, allocations: 11.17 MB / 0.5607 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5368, allocations: 8.031 kB / 0.5607 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002861/0.5396, allocations: 1.113 MB / 0.5618 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.5535, allocations: 3.595 MB / 0.5653 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008608/0.5621, allocations: 3.646 MB / 0.5688 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.5624, allocations: 337.1 kB / 0.5692 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/0.5644, allocations: 450.1 kB / 0.5696 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03843/0.6028, allocations: 17.6 MB / 0.5868 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/0.6031, allocations: 75.34 kB / 0.5869 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/0.6048, allocations: 223.4 kB / 0.5871 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006875/0.6117, allocations: 3.707 MB / 0.5907 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03737/0.6491, allocations: 15.4 MB / 0.6057 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/0.7676, allocations: 71.77 MB / 0.6758 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02475/0.7923, allocations: 7.166 MB / 0.6828 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007058/0.7994, allocations: 3.211 MB / 0.686 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/0.8298, allocations: 14.51 MB / 0.7001 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.8299, allocations: 72.8 kB / 0.7002 GB, free: 14.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=373): time 6.311e-06/0.8299, allocations: 4 kB / 0.7002 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=420): time 0.3137/1.144, allocations: 25.88 MB / 0.7255 GB, free: 172.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.144, allocations: 202.8 kB / 0.7257 GB, free: 172.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01821/1.162, allocations: 6.586 MB / 0.7321 GB, free: 169.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007606/1.163, allocations: 86.8 kB / 0.7322 GB, free: 169.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003675/1.166, allocations: 4.971 MB / 0.737 GB, free: 166 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002118/1.168, allocations: 1.621 MB / 0.7386 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004123/1.173, allocations: 2.144 MB / 0.7407 GB, free: 163.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/1.173, allocations: 306 kB / 0.741 GB, free: 163.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007755/1.18, allocations: 3.598 MB / 0.7445 GB, free: 162.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/1.191, allocations: 9.612 MB / 0.7539 GB, free: 153 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/1.209, allocations: 14.44 MB / 0.768 GB, free: 140.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/1.209, allocations: 60.62 kB / 0.7681 GB, free: 140.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.03055/1.239, allocations: 13.39 MB / 0.7811 GB, free: 134.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.24, allocations: 92 kB / 0.7812 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003108/1.24, allocations: 212 kB / 0.7814 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.241, allocations: 0.6051 MB / 0.782 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008629/1.25, allocations: 2.458 MB / 0.7844 GB, free: 131.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/1.256, allocations: 5.09 MB / 0.7894 GB, free: 126.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008767/1.264, allocations: 497.1 kB / 0.7899 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/1.266, allocations: 0.6297 MB / 0.7905 GB, free: 125.7 MB / 0.545 GB 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.006966/1.273, allocations: 3.51 MB / 0.7939 GB, free: 122.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.275, allocations: 0.612 MB / 0.7945 GB, free: 121.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/1.283, allocations: 5.215 MB / 0.7996 GB, free: 117.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/1.284, allocations: 75.73 kB / 0.7997 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/1.284, allocations: 4 kB / 0.7997 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.284, allocations: 22.09 kB / 0.7997 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/1.316, allocations: 19.99 MB / 0.8192 GB, free: 97.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/1.316, allocations: 20 kB / 0.8192 GB, free: 97.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.318, allocations: 0.6824 MB / 0.8199 GB, free: 96.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008339/1.319, allocations: 353.7 kB / 0.8202 GB, free: 96.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000382/1.32, allocations: 99.98 kB / 0.8203 GB, free: 96.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/1.325, allocations: 6.703 MB / 0.8269 GB, free: 89.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/1.325, allocations: 31.88 kB / 0.8269 GB, free: 89.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.337, allocations: 9.783 MB / 0.8365 GB, free: 78.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/1.34, allocations: 1.157 MB / 0.8376 GB, free: 77.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001767/1.342, allocations: 100.5 kB / 0.8377 GB, free: 77.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004026/1.346, allocations: 159.8 kB / 0.8378 GB, free: 77.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000786/1.347, allocations: 321 kB / 0.8381 GB, free: 77.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/1.347, allocations: 140 kB / 0.8383 GB, free: 76.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008968/1.356, allocations: 4.354 MB / 0.8425 GB, free: 72.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/1.356, allocations: 0 / 0.8425 GB, free: 72.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01203/1.368, allocations: 1.594 MB / 0.8441 GB, free: 71.02 MB / 0.545 GB 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.01591/1.384, allocations: 10.51 MB / 0.8543 GB, free: 60 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.399, allocations: 8.445 MB / 0.8626 GB, free: 51.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-05/1.399, allocations: 0 / 0.8626 GB, free: 51.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005306/1.404, allocations: 2.929 MB / 0.8655 GB, free: 48.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009589/1.414, allocations: 0.8638 MB / 0.8663 GB, free: 47.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3869/1.8, allocations: 80.67 MB / 0.9451 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006852/1.807, allocations: 4.923 MB / 0.9499 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008419/1.816, allocations: 3.223 MB / 0.953 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006414/1.822, allocations: 3.186 MB / 0.9561 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.822, allocations: 0 / 0.9561 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/1.99, allocations: 119.8 MB / 1.073 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.44/29.44, allocations: 14 kB / 1.073 GB, free: 49.72 MB / 0.5606 GB " [Timeout remaining time 630] (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: 32.321706982009346] Failed to read output from testmodel.py, exit status != 0: 29.614087021996966 29.631871893 29.132443245 Calling exit ...