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.001738/0.001738, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.002087/0.002087, allocations: 201.6 kB / 21.45 MB, free: 1.621 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.514/1.514, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.233/0.233, allocations: 46.94 MB / 357.7 MB, free: 10.22 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.002535/0.002535, allocations: 83.86 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1236, allocations: 66.04 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01683/0.1405, allocations: 13.08 MB / 0.5689 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009367/0.1498, allocations: 4.31 MB / 0.5732 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.1516, allocations: 91.56 kB / 0.5732 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007415/0.1591, allocations: 3.75 MB / 0.5769 GB, free: 268 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.1646, allocations: 2.026 MB / 0.5789 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1669, allocations: 0.8149 MB / 0.5797 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006826/0.1738, allocations: 4.221 MB / 0.5838 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006406/0.1802, allocations: 4.048 MB / 0.5878 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.1841, allocations: 1.877 MB / 0.5896 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004692/0.1888, allocations: 2.64 MB / 0.5922 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.1903, allocations: 412 kB / 0.5926 GB, free: 128 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.261/0.4513, allocations: 1.155 MB / 0.5937 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003297/0.4546, allocations: 2.255 MB / 0.5959 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006201/0.4608, allocations: 2.601 MB / 0.5984 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.4772, allocations: 8.125 MB / 0.6064 GB, free: 8.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4772, allocations: 1.188 kB / 0.6064 GB, free: 8.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4772, allocations: 0 / 0.6064 GB, free: 8.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003644/0.4776, allocations: 0 / 0.6064 GB, free: 8.543 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.02841/0.506, allocations: 6.367 MB / 0.6126 GB, free: 6.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5061, allocations: 9.656 kB / 0.6126 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00385/0.5099, allocations: 0.8272 MB / 0.6134 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009045/0.519, allocations: 2.014 MB / 0.6154 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.5263, allocations: 2.929 MB / 0.6182 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.5266, allocations: 292.8 kB / 0.6185 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.5291, allocations: 390 kB / 0.6189 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/0.5572, allocations: 12.2 MB / 0.6308 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002121/0.5574, allocations: 53.89 kB / 0.6308 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001772/0.5592, allocations: 183.7 kB / 0.631 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004581/0.5637, allocations: 2.185 MB / 0.6332 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0269/0.5906, allocations: 11.2 MB / 0.6441 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08006/0.6707, allocations: 45.97 MB / 0.689 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/0.6913, allocations: 5.304 MB / 0.6942 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005375/0.6967, allocations: 3.172 MB / 0.6973 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.698, allocations: 0.6932 MB / 0.6979 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.062e-05/0.698, allocations: 58.88 kB / 0.698 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 5.35e-06/0.698, allocations: 112 / 0.698 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.09391/0.7919, allocations: 27.55 MB / 0.7249 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.7921, allocations: 150.5 kB / 0.725 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009951/0.802, allocations: 4.416 MB / 0.7294 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008292/0.8028, allocations: 57.7 kB / 0.7294 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003475/0.8063, allocations: 3.52 MB / 0.7328 GB, free: 8.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/0.808, allocations: 0.9212 MB / 0.7337 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003426/0.8114, allocations: 1.426 MB / 0.7351 GB, free: 6.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8116, allocations: 305.1 kB / 0.7354 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/0.8177, allocations: 3.265 MB / 0.7386 GB, free: 2.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/0.8285, allocations: 7.079 MB / 0.7455 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/0.8448, allocations: 11.15 MB / 0.7564 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/0.8449, allocations: 39.19 kB / 0.7565 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.02552/0.8704, allocations: 11.28 MB / 0.7675 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8706, allocations: 60 kB / 0.7675 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/0.8708, allocations: 140 kB / 0.7677 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.8743, allocations: 1.115 MB / 0.7687 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007199/0.8815, allocations: 1.688 MB / 0.7704 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009952/0.8914, allocations: 6.349 MB / 0.7766 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006494/0.8979, allocations: 395 kB / 0.777 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/0.8996, allocations: 443.8 kB / 0.7774 GB, free: 7.867 MB / 0.5919 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.006403/0.906, allocations: 2.307 MB / 0.7797 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/0.9073, allocations: 425.1 kB / 0.7801 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.9215, allocations: 6.174 MB / 0.7861 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-05/0.9216, allocations: 28 kB / 0.7861 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/0.9216, allocations: 4 kB / 0.7861 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.9217, allocations: 7.969 kB / 0.7861 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03039/0.952, allocations: 12.89 MB / 0.7987 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/0.9521, allocations: 4 kB / 0.7987 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003452/0.9555, allocations: 0.5459 MB / 0.7993 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/0.9586, allocations: 0.9492 MB / 0.8002 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007078/0.9593, allocations: 91.89 kB / 0.8003 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009355/0.9687, allocations: 6.094 MB / 0.8062 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.9687, allocations: 11.94 kB / 0.8062 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/0.9882, allocations: 10.48 MB / 0.8165 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/0.991, allocations: 0.9158 MB / 0.8174 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/0.9923, allocations: 40 kB / 0.8174 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/0.9955, allocations: 167.4 kB / 0.8176 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009162/0.9964, allocations: 189.6 kB / 0.8177 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004221/0.9968, allocations: 107.9 kB / 0.8178 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006167/1.003, allocations: 2.774 MB / 0.8205 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.003, allocations: 0 / 0.8205 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008058/1.011, allocations: 1.18 MB / 0.8217 GB, free: 10.16 MB / 0.6387 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.305/1.316, allocations: 11.14 MB / 0.8326 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01648/1.332, allocations: 7.457 MB / 0.8399 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.332, allocations: 1.719 kB / 0.8399 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/1.338, allocations: 2.832 MB / 0.8426 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.343, allocations: 0.4926 MB / 0.8431 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09651/1.439, allocations: 59 MB / 0.9007 GB, free: 169.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006623/1.446, allocations: 3.632 MB / 0.9043 GB, free: 166 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006213/1.452, allocations: 2.257 MB / 0.9065 GB, free: 163.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005061/1.457, allocations: 2.319 MB / 0.9087 GB, free: 161.5 MB / 0.6387 GB Notification: Performance of SimCode: time 2.184e-06/1.457, allocations: 0 / 0.9087 GB, free: 161.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/1.6, allocations: 91.86 MB / 0.9984 GB, free: 69.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.58/23.18, allocations: 23.97 kB / 0.9985 GB, free: 69.95 MB / 0.6387 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.375756857916713] 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.323060205671936 23.335051812 22.855113904 Calling exit ...