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_2.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.001729/0.001729, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001451/0.001451, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2314/0.2314, allocations: 46.93 MB / 361.6 MB, free: 4.191 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_2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.002371/0.002371, allocations: 76.16 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 66.09 MB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0139/0.3287, allocations: 11.12 MB / 0.5724 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009354/0.338, allocations: 3.874 MB / 0.5762 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.3404, allocations: 75.62 kB / 0.5762 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.3463, allocations: 2.726 MB / 0.5789 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.3514, allocations: 1.794 MB / 0.5806 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.3533, allocations: 0.7017 MB / 0.5813 GB, free: 68 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.3593, allocations: 3.586 MB / 0.5848 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004531/0.3639, allocations: 2.815 MB / 0.5876 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.3671, allocations: 1.484 MB / 0.589 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.3708, allocations: 2.157 MB / 0.5911 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3719, allocations: 324 kB / 0.5914 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.3746, allocations: 1.08 MB / 0.5925 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.3771, allocations: 1.842 MB / 0.5943 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003612/0.3807, allocations: 2.093 MB / 0.5963 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009717/0.3904, allocations: 6.708 MB / 0.6029 GB, free: 9.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3904, allocations: 0 / 0.6029 GB, free: 9.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3904, allocations: 4 kB / 0.6029 GB, free: 9.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.3906, allocations: 0 / 0.6029 GB, free: 9.848 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01883/0.4095, allocations: 5.132 MB / 0.6079 GB, free: 4.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4095, allocations: 8.031 kB / 0.6079 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/0.4113, allocations: 0.6781 MB / 0.6086 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/0.4187, allocations: 1.886 MB / 0.6104 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.4241, allocations: 2.415 MB / 0.6128 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.4244, allocations: 229.8 kB / 0.613 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.4254, allocations: 303.8 kB / 0.6133 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.4457, allocations: 10.04 MB / 0.6231 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.4458, allocations: 39.64 kB / 0.6231 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000668/0.4465, allocations: 147.9 kB / 0.6233 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.4498, allocations: 1.805 MB / 0.625 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.4691, allocations: 9.038 MB / 0.6339 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.5198, allocations: 37 MB / 0.67 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.5325, allocations: 3.158 MB / 0.6731 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.535, allocations: 1.602 MB / 0.6746 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/0.5358, allocations: 236.3 kB / 0.6749 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.5359, allocations: 51.09 kB / 0.6749 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 3.617e-06/0.5359, allocations: 0 / 0.6749 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04298/0.5789, allocations: 12.95 MB / 0.6876 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.579, allocations: 145.2 kB / 0.6877 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006707/0.5857, allocations: 3.972 MB / 0.6916 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.586, allocations: 41.7 kB / 0.6916 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.5889, allocations: 3.097 MB / 0.6946 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008537/0.5897, allocations: 0.57 MB / 0.6952 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.5916, allocations: 1.139 MB / 0.6963 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5917, allocations: 309.1 kB / 0.6966 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.595, allocations: 1.924 MB / 0.6985 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/0.6017, allocations: 5.486 MB / 0.7038 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6128, allocations: 8.046 MB / 0.7117 GB, free: 4.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.613, allocations: 36 kB / 0.7117 GB, free: 4.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01649/0.6295, allocations: 7.914 MB / 0.7195 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.6296, allocations: 66.44 kB / 0.7195 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/0.6297, allocations: 124 kB / 0.7196 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.6324, allocations: 0.9026 MB / 0.7205 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.6368, allocations: 1.279 MB / 0.7218 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.6441, allocations: 5.086 MB / 0.7267 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/0.648, allocations: 303.8 kB / 0.727 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007878/0.6488, allocations: 356 kB / 0.7274 GB, free: 4.609 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (677): * Single equations (assignments): 673 * 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.003569/0.6524, allocations: 1.971 MB / 0.7293 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007305/0.6531, allocations: 349.7 kB / 0.7296 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2412/0.8943, allocations: 2.767 MB / 0.7323 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/0.8944, allocations: 19.97 kB / 0.7324 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.8944, allocations: 3.625 kB / 0.7324 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/0.8944, allocations: 6.75 kB / 0.7324 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.9067, allocations: 7.143 MB / 0.7393 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9067, allocations: 3.438 kB / 0.7393 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9078, allocations: 244.7 kB / 0.7396 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.9098, allocations: 0.7126 MB / 0.7403 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.91, allocations: 35.45 kB / 0.7403 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.9151, allocations: 4.653 MB / 0.7448 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.9151, allocations: 3.719 kB / 0.7449 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.922, allocations: 5.138 MB / 0.7499 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000741/0.9227, allocations: 324.3 kB / 0.7502 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.9232, allocations: 19.5 kB / 0.7502 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9245, allocations: 87.28 kB / 0.7503 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.9248, allocations: 92.83 kB / 0.7504 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.9249, allocations: 48.09 kB / 0.7504 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003382/0.9282, allocations: 2.482 MB / 0.7528 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9282, allocations: 6.531 kB / 0.7528 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004228/0.9325, allocations: 0.8759 MB / 0.7537 GB, free: 144 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007246/0.9397, allocations: 5.776 MB / 0.7593 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006046/0.9458, allocations: 4.441 MB / 0.7637 GB, free: 134 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.9458, allocations: 3.156 kB / 0.7637 GB, free: 134 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.9474, allocations: 1.286 MB / 0.7649 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.9499, allocations: 425.1 kB / 0.7653 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0512/1.001, allocations: 42.9 MB / 0.8072 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/1.004, allocations: 3.057 MB / 0.8102 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003491/1.008, allocations: 1.786 MB / 0.812 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/1.01, allocations: 1.749 MB / 0.8137 GB, free: 77.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.694e-06/1.01, allocations: 4 kB / 0.8137 GB, free: 77.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/1.117, allocations: 68.93 MB / 0.881 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.23/24.35, allocations: 7.547 kB / 0.881 GB, free: 8.844 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.335132287815213] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 24.476970937103033 24.489499868 24.095266085 Calling exit ...