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.001576/0.001576, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.002114/0.002114, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.521/1.521, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2532/0.2532, allocations: 46.87 MB / 357.4 MB, free: 10.54 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.002329/0.002329, allocations: 79.86 kB / 0.4912 GB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1398, allocations: 65.99 MB / 0.5557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01645/0.1563, allocations: 13.1 MB / 0.5685 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1667, allocations: 4.299 MB / 0.5726 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.1696, allocations: 83.75 kB / 0.5727 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008034/0.1776, allocations: 3.746 MB / 0.5764 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.1838, allocations: 2.027 MB / 0.5784 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.1864, allocations: 0.8071 MB / 0.5792 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007752/0.1941, allocations: 4.233 MB / 0.5833 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007432/0.2016, allocations: 4.048 MB / 0.5872 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.2063, allocations: 1.85 MB / 0.589 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005272/0.2115, allocations: 2.632 MB / 0.5916 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001816/0.2133, allocations: 416 kB / 0.592 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2935/0.5068, allocations: 1.163 MB / 0.5932 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003136/0.51, allocations: 2.254 MB / 0.5954 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005263/0.5152, allocations: 2.598 MB / 0.5979 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.5289, allocations: 8.126 MB / 0.6058 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5289, allocations: 0 / 0.6058 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5289, allocations: 3.094 kB / 0.6058 GB, free: 8.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004547/0.5293, allocations: 0 / 0.6058 GB, free: 8.832 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.02818/0.5575, allocations: 6.363 MB / 0.612 GB, free: 6.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5576, allocations: 11.83 kB / 0.6121 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.5606, allocations: 0.8264 MB / 0.6129 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.5688, allocations: 2.014 MB / 0.6148 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008603/0.5774, allocations: 2.924 MB / 0.6177 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/0.5777, allocations: 296.3 kB / 0.618 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/0.5803, allocations: 388.4 kB / 0.6183 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.6094, allocations: 12.21 MB / 0.6303 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/0.6097, allocations: 43.17 kB / 0.6303 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/0.6117, allocations: 180.2 kB / 0.6305 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004292/0.616, allocations: 2.195 MB / 0.6326 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02668/0.6427, allocations: 11.2 MB / 0.6436 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08253/0.7252, allocations: 45.97 MB / 0.6884 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/0.7446, allocations: 5.312 MB / 0.6936 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005402/0.75, allocations: 3.164 MB / 0.6967 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.7514, allocations: 0.698 MB / 0.6974 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/0.7515, allocations: 51.88 kB / 0.6975 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 6.211e-06/0.7515, allocations: 4 kB / 0.6975 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.08879/0.8403, allocations: 27.55 MB / 0.7244 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.8404, allocations: 158.1 kB / 0.7245 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/0.8504, allocations: 4.408 MB / 0.7288 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009218/0.8514, allocations: 61.7 kB / 0.7289 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003884/0.8552, allocations: 3.519 MB / 0.7323 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/0.8571, allocations: 0.927 MB / 0.7332 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004913/0.862, allocations: 1.412 MB / 0.7346 GB, free: 7.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8622, allocations: 313.1 kB / 0.7349 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006249/0.8684, allocations: 3.265 MB / 0.7381 GB, free: 3.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/0.8787, allocations: 7.08 MB / 0.745 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.8958, allocations: 11.14 MB / 0.7559 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/0.896, allocations: 40 kB / 0.7559 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.02752/0.9235, allocations: 11.28 MB / 0.7669 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.9237, allocations: 67.98 kB / 0.767 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002702/0.924, allocations: 132 kB / 0.7671 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/0.9274, allocations: 1.114 MB / 0.7682 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/0.9343, allocations: 1.688 MB / 0.7699 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009958/0.9443, allocations: 6.35 MB / 0.7761 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006471/0.9507, allocations: 396.3 kB / 0.7764 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/0.9527, allocations: 443.8 kB / 0.7769 GB, free: 9.066 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.006982/0.9596, allocations: 2.308 MB / 0.7791 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/0.9612, allocations: 417.2 kB / 0.7795 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/0.9754, allocations: 6.187 MB / 0.7856 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.9755, allocations: 24 kB / 0.7856 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.9755, allocations: 4 kB / 0.7856 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/0.9755, allocations: 11.97 kB / 0.7856 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/1.009, allocations: 12.89 MB / 0.7982 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/1.009, allocations: 4 kB / 0.7982 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.012, allocations: 0.5421 MB / 0.7987 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/1.015, allocations: 0.9491 MB / 0.7996 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000915/1.016, allocations: 90 kB / 0.7997 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009319/1.026, allocations: 6.095 MB / 0.8057 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.026, allocations: 4 kB / 0.8057 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.047, allocations: 10.49 MB / 0.8159 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004075/1.051, allocations: 0.912 MB / 0.8168 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/1.053, allocations: 44 kB / 0.8169 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003593/1.056, allocations: 159.8 kB / 0.817 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.057, allocations: 189.6 kB / 0.8172 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006924/1.058, allocations: 107.9 kB / 0.8173 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006554/1.065, allocations: 2.77 MB / 0.82 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/1.065, allocations: 3.844 kB / 0.82 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008007/1.073, allocations: 1.19 MB / 0.8212 GB, free: 11.36 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.02101/1.094, allocations: 11.15 MB / 0.832 GB, free: 152 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3045/1.398, allocations: 7.449 MB / 0.8393 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.398, allocations: 0 / 0.8393 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005148/1.403, allocations: 2.837 MB / 0.8421 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.407, allocations: 0.4936 MB / 0.8426 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09941/1.507, allocations: 59 MB / 0.9002 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008212/1.515, allocations: 3.627 MB / 0.9037 GB, free: 169.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006562/1.521, allocations: 2.263 MB / 0.9059 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005077/1.526, allocations: 2.319 MB / 0.9082 GB, free: 165.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.474e-06/1.526, allocations: 0 / 0.9082 GB, free: 165.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/1.677, allocations: 91.86 MB / 0.9979 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/23.14, allocations: 7.594 kB / 0.9979 GB, free: 73.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.495440805796534] 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.285701512824744 23.302738351 22.769717838 Calling exit ...