Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001727/0.001727, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002185/0.002185, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2389/0.2389, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.002382/0.002382, allocations: 81.58 kB / 0.4912 GB, free: 27.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1284, allocations: 65.97 MB / 0.5557 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01163/0.14, allocations: 9.515 MB / 0.5649 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.1477, allocations: 3.831 MB / 0.5687 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1489, allocations: 55.81 kB / 0.5687 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.1532, allocations: 2.309 MB / 0.571 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.1577, allocations: 1.645 MB / 0.5726 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1594, allocations: 0.694 MB / 0.5733 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.1656, allocations: 3.808 MB / 0.577 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.1693, allocations: 2.446 MB / 0.5794 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.1717, allocations: 1.289 MB / 0.5806 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/0.1747, allocations: 1.861 MB / 0.5825 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.1754, allocations: 284 kB / 0.5827 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.1776, allocations: 1.19 MB / 0.5839 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.1794, allocations: 1.624 MB / 0.5855 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002684/0.182, allocations: 1.891 MB / 0.5873 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008707/0.1907, allocations: 6.304 MB / 0.5935 GB, free: 2.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1908, allocations: 4 kB / 0.5935 GB, free: 2.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1908, allocations: 0 / 0.5935 GB, free: 2.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002093/0.191, allocations: 0 / 0.5935 GB, free: 2.309 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01167/0.2026, allocations: 4.344 MB / 0.5977 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.2027, allocations: 12.03 kB / 0.5977 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001062/0.2038, allocations: 0.6082 MB / 0.5983 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02039/0.2241, allocations: 3.766 MB / 0.602 GB, free: 9.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007005/0.2312, allocations: 2.535 MB / 0.6045 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.2313, allocations: 193.3 kB / 0.6047 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009417/0.2323, allocations: 263.8 kB / 0.6049 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3024/0.5347, allocations: 8.515 MB / 0.6132 GB, free: 43.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.5349, allocations: 45.5 kB / 0.6133 GB, free: 43.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005744/0.5355, allocations: 120.1 kB / 0.6134 GB, free: 43.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003559/0.539, allocations: 1.741 MB / 0.6151 GB, free: 43.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.5563, allocations: 7.441 MB / 0.6224 GB, free: 41.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.5963, allocations: 33.9 MB / 0.6555 GB, free: 16.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/0.602, allocations: 2.9 MB / 0.6583 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.6036, allocations: 1.696 MB / 0.66 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.6039, allocations: 335.7 kB / 0.6603 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.604, allocations: 43.41 kB / 0.6603 GB, free: 13.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 3.337e-06/0.604, allocations: 3.281 kB / 0.6603 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.02981/0.6338, allocations: 14.56 MB / 0.6745 GB, free: 15.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.6339, allocations: 171.2 kB / 0.6747 GB, free: 15.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005537/0.6394, allocations: 3.53 MB / 0.6782 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004236/0.6399, allocations: 49.7 kB / 0.6782 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002581/0.6424, allocations: 2.77 MB / 0.6809 GB, free: 9.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009622/0.6434, allocations: 0.6256 MB / 0.6815 GB, free: 8.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.6451, allocations: 1.069 MB / 0.6826 GB, free: 7.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6453, allocations: 309.1 kB / 0.6829 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.6485, allocations: 2.013 MB / 0.6848 GB, free: 5.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006652/0.6551, allocations: 5.219 MB / 0.6899 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6663, allocations: 7.854 MB / 0.6976 GB, free: 4.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.6664, allocations: 32 kB / 0.6976 GB, free: 4.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01645/0.6829, allocations: 7.795 MB / 0.7052 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.683, allocations: 52 kB / 0.7053 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/0.6832, allocations: 116 kB / 0.7054 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.6857, allocations: 0.9689 MB / 0.7063 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.69, allocations: 1.181 MB / 0.7075 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.7006, allocations: 6.912 MB / 0.7142 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/0.7047, allocations: 307.6 kB / 0.7145 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000911/0.7056, allocations: 320 kB / 0.7148 GB, free: 3.117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 626 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003785/0.7094, allocations: 1.848 MB / 0.7166 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008382/0.7102, allocations: 321.8 kB / 0.717 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006593/0.7168, allocations: 3.186 MB / 0.7201 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-05/0.7169, allocations: 16 kB / 0.7201 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.7169, allocations: 8 kB / 0.7201 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.7169, allocations: 7.969 kB / 0.7201 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.7345, allocations: 7.799 MB / 0.7277 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.7345, allocations: 0 / 0.7277 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7357, allocations: 231.9 kB / 0.7279 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.7379, allocations: 0.8085 MB / 0.7287 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.7381, allocations: 24 kB / 0.7287 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00978/0.7479, allocations: 6.507 MB / 0.7351 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7479, allocations: 4 kB / 0.7351 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.7578, allocations: 5.832 MB / 0.7408 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.7589, allocations: 370.9 kB / 0.7411 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007486/0.7597, allocations: 28 kB / 0.7412 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.7613, allocations: 95.8 kB / 0.7413 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.7617, allocations: 80.89 kB / 0.7413 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.7619, allocations: 47.98 kB / 0.7414 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005058/0.7669, allocations: 2.205 MB / 0.7435 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7669, allocations: 0 / 0.7435 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005103/0.772, allocations: 0.8515 MB / 0.7444 GB, free: 4.594 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/0.7827, allocations: 6.468 MB / 0.7507 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008724/0.7915, allocations: 4.702 MB / 0.7553 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7915, allocations: 4 kB / 0.7553 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.795, allocations: 1.666 MB / 0.7569 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/0.7987, allocations: 391.2 kB / 0.7573 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08382/0.8825, allocations: 40.81 MB / 0.7971 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/0.8874, allocations: 2.881 MB / 0.8 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0042/0.8916, allocations: 1.714 MB / 0.8016 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/0.8942, allocations: 1.554 MB / 0.8031 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.8942, allocations: 0 / 0.8031 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.44/1.334, allocations: 62.98 MB / 0.8647 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/22.8, allocations: 10.72 kB / 0.8647 GB, free: 217.3 MB / 0.6387 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.93779180618003] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 22.92623828491196 22.946630676 22.752098171 Calling exit ...