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.001392/0.001392, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.001509/0.001509, allocations: 221.1 kB / 22.92 MB, free: 5.555 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.32/1.32, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] 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.2088/0.2088, allocations: 46.9 MB / 359.3 MB, free: 4.961 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.002245/0.002245, allocations: 91.84 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2645, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01037/0.2749, allocations: 9.53 MB / 0.5677 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006413/0.2813, allocations: 3.855 MB / 0.5715 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.2819, allocations: 55.81 kB / 0.5715 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.2857, allocations: 2.313 MB / 0.5738 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.2887, allocations: 1.646 MB / 0.5754 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2899, allocations: 0.694 MB / 0.5761 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004056/0.2939, allocations: 3.813 MB / 0.5798 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.2961, allocations: 2.121 MB / 0.5819 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.2975, allocations: 1.289 MB / 0.5831 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2997, allocations: 1.873 MB / 0.585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004038/0.3001, allocations: 280 kB / 0.5852 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3019, allocations: 1.182 MB / 0.5864 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.3033, allocations: 1.628 MB / 0.588 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.3049, allocations: 1.887 MB / 0.5898 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.3111, allocations: 6.304 MB / 0.596 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3111, allocations: 4 kB / 0.596 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3111, allocations: 0 / 0.596 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.631e-05/0.3112, allocations: 4 kB / 0.596 GB, free: 14.56 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.007877/0.3191, allocations: 4.347 MB / 0.6002 GB, free: 10.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3191, allocations: 12.03 kB / 0.6002 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007195/0.3198, allocations: 0.6121 MB / 0.6008 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/0.3404, allocations: 3.762 MB / 0.6045 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.3454, allocations: 2.527 MB / 0.607 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.3455, allocations: 197.2 kB / 0.6072 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.346, allocations: 263.8 kB / 0.6074 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.3584, allocations: 8.514 MB / 0.6157 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.368e-05/0.3585, allocations: 43.62 kB / 0.6158 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.3588, allocations: 127.9 kB / 0.6159 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.3617, allocations: 1.739 MB / 0.6176 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.3738, allocations: 7.439 MB / 0.6249 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.4098, allocations: 33.9 MB / 0.658 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.4162, allocations: 2.917 MB / 0.6608 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.4182, allocations: 1.692 MB / 0.6625 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.4185, allocations: 327.8 kB / 0.6628 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4186, allocations: 55.2 kB / 0.6628 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.496e-06/0.4186, allocations: 0 / 0.6628 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03331/0.4519, allocations: 14.54 MB / 0.677 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.452, allocations: 175.1 kB / 0.6772 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/0.4562, allocations: 3.522 MB / 0.6806 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.4564, allocations: 49.69 kB / 0.6807 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001888/0.4583, allocations: 2.769 MB / 0.6834 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.4588, allocations: 0.6358 MB / 0.684 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.4601, allocations: 1.064 MB / 0.6851 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4602, allocations: 309.1 kB / 0.6854 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.463, allocations: 2.013 MB / 0.6873 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/0.4681, allocations: 5.218 MB / 0.6924 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008648/0.4768, allocations: 7.852 MB / 0.7001 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.623e-05/0.4768, allocations: 32 kB / 0.7001 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.012/0.4888, allocations: 7.803 MB / 0.7077 GB, free: 6.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.4889, allocations: 56 kB / 0.7078 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.489, allocations: 116.3 kB / 0.7079 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.4912, allocations: 0.9725 MB / 0.7088 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.4945, allocations: 1.181 MB / 0.71 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.5031, allocations: 6.924 MB / 0.7168 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.5062, allocations: 299.5 kB / 0.717 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.5066, allocations: 324 kB / 0.7174 GB, free: 12.71 MB / 0.5606 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.002443/0.509, allocations: 1.848 MB / 0.7192 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/0.5095, allocations: 313.9 kB / 0.7195 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005434/0.5149, allocations: 3.182 MB / 0.7226 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.5149, allocations: 20 kB / 0.7226 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5149, allocations: 4 kB / 0.7226 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.515, allocations: 7.969 kB / 0.7226 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2232/0.7382, allocations: 7.804 MB / 0.7302 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.7382, allocations: 1.125 kB / 0.7302 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7395, allocations: 228.2 kB / 0.7304 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.7416, allocations: 0.8105 MB / 0.7312 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.7418, allocations: 25.58 kB / 0.7313 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006467/0.7483, allocations: 6.496 MB / 0.7376 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7483, allocations: 11.02 kB / 0.7376 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/0.7545, allocations: 5.824 MB / 0.7433 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.7551, allocations: 371.9 kB / 0.7437 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.7554, allocations: 27.62 kB / 0.7437 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7564, allocations: 89.06 kB / 0.7438 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.7567, allocations: 93.06 kB / 0.7439 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/0.7568, allocations: 46.77 kB / 0.7439 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00229/0.7591, allocations: 2.2 MB / 0.746 GB, free: 147 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7591, allocations: 0 / 0.746 GB, free: 147 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003148/0.7622, allocations: 0.861 MB / 0.7469 GB, free: 146.9 MB / 0.5606 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.00643/0.7686, allocations: 6.457 MB / 0.7532 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005218/0.7739, allocations: 4.708 MB / 0.7578 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7739, allocations: 0 / 0.7578 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.776, allocations: 1.658 MB / 0.7594 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.7779, allocations: 391.3 kB / 0.7598 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/0.8142, allocations: 40.88 MB / 0.7997 GB, free: 91.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.8162, allocations: 2.886 MB / 0.8025 GB, free: 88.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00267/0.8188, allocations: 1.707 MB / 0.8042 GB, free: 86.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.8203, allocations: 1.554 MB / 0.8057 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.8203, allocations: 4 kB / 0.8057 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08697/0.9072, allocations: 63.38 MB / 0.8676 GB, free: 22.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/19.11, allocations: 16.06 kB / 0.8676 GB, free: 22.27 MB / 0.5606 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 21.722854457999347]