Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2391/0.2391, allocations: 46.93 MB / 361.6 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 91.78 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3384, allocations: 66.07 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01684/0.3553, allocations: 13.12 MB / 0.5743 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00994/0.3652, allocations: 4.338 MB / 0.5786 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.3674, allocations: 99.5 kB / 0.5787 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007686/0.3751, allocations: 3.757 MB / 0.5823 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.381, allocations: 2.027 MB / 0.5843 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.3835, allocations: 0.8342 MB / 0.5851 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007507/0.391, allocations: 4.217 MB / 0.5892 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005476/0.3965, allocations: 3.711 MB / 0.5929 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.4003, allocations: 1.877 MB / 0.5947 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.4051, allocations: 2.636 MB / 0.5973 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.4067, allocations: 416 kB / 0.5977 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.4101, allocations: 1.17 MB / 0.5988 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.4139, allocations: 2.259 MB / 0.601 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005394/0.4193, allocations: 2.591 MB / 0.6035 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.4318, allocations: 8.136 MB / 0.6115 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4318, allocations: 0 / 0.6115 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4318, allocations: 0 / 0.6115 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000327/0.4321, allocations: 0 / 0.6115 GB, free: 0.9297 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02319/0.4553, allocations: 6.28 MB / 0.6176 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4553, allocations: 8.031 kB / 0.6176 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/0.4577, allocations: 0.8345 MB / 0.6184 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/0.4655, allocations: 2.014 MB / 0.6204 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007163/0.4727, allocations: 2.846 MB / 0.6232 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.473, allocations: 295.5 kB / 0.6235 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.4745, allocations: 391.7 kB / 0.6238 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/0.5005, allocations: 12.2 MB / 0.6358 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.5007, allocations: 55.58 kB / 0.6358 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008267/0.5015, allocations: 183.8 kB / 0.636 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.5059, allocations: 2.186 MB / 0.6381 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.5307, allocations: 11.21 MB / 0.6491 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07194/0.6026, allocations: 45.81 MB / 0.6938 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/0.6213, allocations: 4.852 MB / 0.6985 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/0.6263, allocations: 3.174 MB / 0.7016 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/0.6273, allocations: 260.9 kB / 0.7019 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.6273, allocations: 55.81 kB / 0.7019 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 4.608e-06/0.6273, allocations: 0 / 0.7019 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.08225/0.7096, allocations: 27.35 MB / 0.7287 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.7097, allocations: 154.5 kB / 0.7288 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/0.7177, allocations: 4.412 MB / 0.7331 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007132/0.7184, allocations: 57.7 kB / 0.7332 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2455/0.9639, allocations: 3.515 MB / 0.7366 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.9654, allocations: 0.9169 MB / 0.7375 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003553/0.9689, allocations: 1.423 MB / 0.7389 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.969, allocations: 304.7 kB / 0.7392 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005302/0.9743, allocations: 3.271 MB / 0.7424 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/0.9808, allocations: 7.073 MB / 0.7493 GB, free: 147 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.9917, allocations: 11.15 MB / 0.7602 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.9918, allocations: 36.56 kB / 0.7602 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.01814/1.01, allocations: 11.29 MB / 0.7712 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.01, allocations: 64 kB / 0.7713 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.01, allocations: 134.3 kB / 0.7714 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/1.013, allocations: 1.116 MB / 0.7725 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.018, allocations: 1.688 MB / 0.7741 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/1.025, allocations: 6.232 MB / 0.7802 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/1.03, allocations: 396.8 kB / 0.7806 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.031, allocations: 439.8 kB / 0.781 GB, free: 119.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (812): * Single equations (assignments): 808 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003641/1.035, allocations: 2.311 MB / 0.7833 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008626/1.036, allocations: 428.5 kB / 0.7837 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/1.045, allocations: 6.174 MB / 0.7897 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/1.045, allocations: 30.16 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.045, allocations: 4 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/1.045, allocations: 7.969 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.063, allocations: 12.86 MB / 0.8023 GB, free: 97.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/1.063, allocations: 4 kB / 0.8023 GB, free: 97.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/1.066, allocations: 0.5462 MB / 0.8029 GB, free: 97.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.068, allocations: 0.9516 MB / 0.8038 GB, free: 96.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000529/1.069, allocations: 83.89 kB / 0.8039 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/1.075, allocations: 6.002 MB / 0.8097 GB, free: 90.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.075, allocations: 3.938 kB / 0.8097 GB, free: 90.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.088, allocations: 10.48 MB / 0.82 GB, free: 79.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.09, allocations: 0.8372 MB / 0.8208 GB, free: 78.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.091, allocations: 39.98 kB / 0.8208 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.094, allocations: 167.8 kB / 0.821 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005839/1.094, allocations: 197.5 kB / 0.8212 GB, free: 78.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.095, allocations: 108.1 kB / 0.8213 GB, free: 78.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003725/1.098, allocations: 2.77 MB / 0.824 GB, free: 75.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.098, allocations: 0 / 0.824 GB, free: 75.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005742/1.104, allocations: 1.184 MB / 0.8251 GB, free: 74.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/1.118, allocations: 11.15 MB / 0.836 GB, free: 63.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01/1.128, allocations: 7.448 MB / 0.8433 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.128, allocations: 0 / 0.8433 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.132, allocations: 2.856 MB / 0.8461 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.135, allocations: 0.4943 MB / 0.8466 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08035/1.215, allocations: 59.08 MB / 0.9043 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005895/1.221, allocations: 3.627 MB / 0.9078 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006217/1.227, allocations: 2.258 MB / 0.91 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004906/1.232, allocations: 2.319 MB / 0.9123 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of SimCode: time 1.763e-06/1.232, allocations: 0 / 0.9123 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4634/1.696, allocations: 97.27 MB / 1.007 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.48/23.18, allocations: 4.062 kB / 1.007 GB, free: 221.9 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.282746554352343] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1.phi', 'r1.w', 'r2.phi', 'r2.w', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.322758984286338 23.338735039 22.903285076 Calling exit ...