Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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.001504/0.001504, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001746/0.001746, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.589/1.589, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.2499/0.2499, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Joints.Revolute2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2",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.002328/0.002328, allocations: 84.14 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1362, allocations: 66.03 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02387/0.1601, allocations: 18.23 MB / 0.574 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.1752, allocations: 5.311 MB / 0.5792 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.1794, allocations: 123.4 kB / 0.5793 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007596/0.187, allocations: 3.098 MB / 0.5823 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.1948, allocations: 2.607 MB / 0.5848 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.1974, allocations: 1.014 MB / 0.5858 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3422/0.5396, allocations: 7.666 MB / 0.5933 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006883/0.5465, allocations: 3.64 MB / 0.5969 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006354/0.5528, allocations: 2.295 MB / 0.5991 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00801/0.5609, allocations: 3.514 MB / 0.6026 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.5638, allocations: 452.2 kB / 0.603 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005335/0.5691, allocations: 1.333 MB / 0.6043 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005791/0.5749, allocations: 2.884 MB / 0.6071 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009088/0.584, allocations: 3.22 MB / 0.6102 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0188/0.6028, allocations: 10.08 MB / 0.6201 GB, free: 1.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6028, allocations: 0 / 0.6201 GB, free: 1.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6028, allocations: 0 / 0.6201 GB, free: 1.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005801/0.6034, allocations: 1.062 kB / 0.6201 GB, free: 1.25 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.0262/0.6296, allocations: 7.513 MB / 0.6274 GB, free: 12.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6296, allocations: 9.469 kB / 0.6274 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003401/0.633, allocations: 1.014 MB / 0.6284 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03386/0.6669, allocations: 5.643 MB / 0.6339 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.6788, allocations: 4.897 MB / 0.6387 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.6791, allocations: 317.3 kB / 0.639 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.6813, allocations: 432 kB / 0.6394 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/0.7157, allocations: 15.53 MB / 0.6546 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002449/0.716, allocations: 61.97 kB / 0.6547 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.717, allocations: 200.5 kB / 0.6548 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007084/0.7241, allocations: 3.373 MB / 0.6581 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03888/0.763, allocations: 14.69 MB / 0.6725 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/0.8652, allocations: 54.86 MB / 0.7261 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/0.8848, allocations: 7.819 MB / 0.7337 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007331/0.8922, allocations: 4.404 MB / 0.738 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.8946, allocations: 2.209 MB / 0.7402 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.8946, allocations: 65.08 kB / 0.7402 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.354e-06/0.8946, allocations: 4 kB / 0.7402 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.1328/1.027, allocations: 39.66 MB / 0.779 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.028, allocations: 122.7 kB / 0.7791 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.039, allocations: 4.315 MB / 0.7833 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001444/1.04, allocations: 85.7 kB / 0.7834 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004506/1.045, allocations: 3.958 MB / 0.7872 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/1.048, allocations: 1.564 MB / 0.7888 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00685/1.055, allocations: 1.531 MB / 0.7903 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.055, allocations: 301.1 kB / 0.7905 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008458/1.063, allocations: 3.942 MB / 0.7944 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.076, allocations: 7.693 MB / 0.8019 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02206/1.098, allocations: 12.65 MB / 0.8143 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/1.099, allocations: 36 kB / 0.8143 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.04188/1.14, allocations: 14.17 MB / 0.8281 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/1.141, allocations: 60 kB / 0.8282 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002756/1.141, allocations: 135.8 kB / 0.8283 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009532/1.15, allocations: 2.675 MB / 0.8309 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008196/1.159, allocations: 1.762 MB / 0.8326 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3458/1.505, allocations: 15.21 MB / 0.8475 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/1.511, allocations: 492.7 kB / 0.848 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.513, allocations: 428.4 kB / 0.8484 GB, free: 221.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (911): * Single equations (assignments): 903 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008635/1.522, allocations: 2.865 MB / 0.8512 GB, free: 221.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.524, allocations: 490.7 kB / 0.8516 GB, free: 221.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02347/1.547, allocations: 10.53 MB / 0.8619 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001641/1.547, allocations: 58.69 kB / 0.862 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.303e-05/1.547, allocations: 12.08 kB / 0.862 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/1.547, allocations: 25.12 kB / 0.862 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04854/1.596, allocations: 21.19 MB / 0.8827 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.789e-05/1.596, allocations: 11.09 kB / 0.8827 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/1.6, allocations: 0.6832 MB / 0.8834 GB, free: 212.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007483/1.607, allocations: 2.488 MB / 0.8858 GB, free: 211.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/1.608, allocations: 81.88 kB / 0.8859 GB, free: 211.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.624, allocations: 13.83 MB / 0.8994 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.624, allocations: 19.94 kB / 0.8994 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/1.647, allocations: 15.09 MB / 0.9142 GB, free: 188.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.648, allocations: 0.5138 MB / 0.9147 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/1.65, allocations: 82.09 kB / 0.9147 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/1.654, allocations: 303.5 kB / 0.915 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/1.655, allocations: 268.3 kB / 0.9153 GB, free: 187.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004407/1.656, allocations: 115.9 kB / 0.9154 GB, free: 187 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004306/1.66, allocations: 2.709 MB / 0.918 GB, free: 184.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/1.66, allocations: 0 / 0.918 GB, free: 184.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009576/1.669, allocations: 1.616 MB / 0.9196 GB, free: 182.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02468/1.694, allocations: 15.81 MB / 0.9351 GB, free: 166.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.71, allocations: 9.43 MB / 0.9443 GB, free: 157.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/1.71, allocations: 4 kB / 0.9443 GB, free: 157.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006916/1.717, allocations: 4.014 MB / 0.9482 GB, free: 153.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006788/1.724, allocations: 0.7251 MB / 0.9489 GB, free: 152.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1161/1.84, allocations: 70.15 MB / 1.017 GB, free: 76.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005881/1.846, allocations: 4.547 MB / 1.022 GB, free: 71.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006224/1.852, allocations: 2.72 MB / 1.025 GB, free: 69.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005012/1.857, allocations: 2.823 MB / 1.027 GB, free: 66.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/1.857, allocations: 0 / 1.027 GB, free: 66.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5538/2.411, allocations: 113.8 MB / 1.138 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.83/24.24, allocations: 1.75 kB / 1.138 GB, free: 201.3 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.580758050084114] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'revolute1.phi', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 24.397612990811467 24.413209365 23.806831722 Calling exit ...