Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000884/0.0008841, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007504/0.0007504, allocations: 92.91 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3496/0.3496, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003808, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2315/0.3424, allocations: 37.78 MB / 0.5163 GB, free: 23.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.365, allocations: 8.72 MB / 0.5248 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009538/0.3745, allocations: 173.6 kB / 0.525 GB, free: 17.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006842/0.3814, allocations: 1.952 MB / 0.5269 GB, free: 16.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.399, allocations: 5.894 MB / 0.5327 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.4029, allocations: 0.6258 MB / 0.5333 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02534/0.4283, allocations: 18.47 MB / 0.5513 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006589/0.4349, allocations: 3.936 MB / 0.5551 GB, free: 7.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.4374, allocations: 1.101 MB / 0.5562 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.4404, allocations: 1.741 MB / 0.5579 GB, free: 5.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009297/0.4414, allocations: 128 kB / 0.558 GB, free: 5.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.444, allocations: 1.065 MB / 0.5591 GB, free: 4.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.4459, allocations: 1.508 MB / 0.5606 GB, free: 2.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.4489, allocations: 1.749 MB / 0.5623 GB, free: 1.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006334/0.4553, allocations: 5.253 MB / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4553, allocations: 0 / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4553, allocations: 0 / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002654/0.4556, allocations: 0 / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01012/0.4657, allocations: 3.711 MB / 0.571 GB, free: 8.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/0.4658, allocations: 8.031 kB / 0.571 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002013/0.4678, allocations: 0.6619 MB / 0.5717 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02195/0.4898, allocations: 3.861 MB / 0.5754 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006962/0.4968, allocations: 2.839 MB / 0.5782 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4971, allocations: 209.6 kB / 0.5784 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.4983, allocations: 283.7 kB / 0.5787 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.5149, allocations: 9.201 MB / 0.5877 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.515, allocations: 39.59 kB / 0.5877 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.5154, allocations: 135.9 kB / 0.5878 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003216/0.5187, allocations: 1.915 MB / 0.5897 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.5334, allocations: 8.016 MB / 0.5975 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04612/0.5796, allocations: 36.13 MB / 0.6328 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007648/0.5873, allocations: 3.607 MB / 0.6363 GB, free: 3.324 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.5899, allocations: 2.006 MB / 0.6383 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/0.5903, allocations: 340.2 kB / 0.6386 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5903, allocations: 43.56 kB / 0.6387 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 4.559e-06/0.5903, allocations: 0 / 0.6387 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.03874/0.6291, allocations: 15.34 MB / 0.6536 GB, free: 1.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6292, allocations: 171.2 kB / 0.6538 GB, free: 1.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.6357, allocations: 3.633 MB / 0.6574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003938/0.6361, allocations: 49.7 kB / 0.6574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.6383, allocations: 2.823 MB / 0.6602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.6393, allocations: 0.6827 MB / 0.6608 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.6398, allocations: 108 kB / 0.6609 GB, free: 9.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004447/0.6403, allocations: 0.5336 MB / 0.6615 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/0.6437, allocations: 2.162 MB / 0.6636 GB, free: 7.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/0.6495, allocations: 5.501 MB / 0.6689 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00989/0.6594, allocations: 8.325 MB / 0.6771 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.6596, allocations: 39.94 kB / 0.6771 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.2093/0.8689, allocations: 8.221 MB / 0.6851 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.8691, allocations: 55.22 kB / 0.6852 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002891/0.8694, allocations: 118.2 kB / 0.6853 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.8724, allocations: 0.9698 MB / 0.6862 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/0.8772, allocations: 1.265 MB / 0.6875 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.8851, allocations: 6.467 MB / 0.6938 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/0.8897, allocations: 318.8 kB / 0.6941 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/0.8913, allocations: 341.3 kB / 0.6944 GB, free: 143.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (671): * Single equations (assignments): 667 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00491/0.8963, allocations: 1.974 MB / 0.6964 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/0.897, allocations: 321.7 kB / 0.6967 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006054/0.9031, allocations: 3.551 MB / 0.7001 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.9032, allocations: 24.95 kB / 0.7001 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.9032, allocations: 7.062 kB / 0.7002 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.9032, allocations: 13.17 kB / 0.7002 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.9176, allocations: 8.652 MB / 0.7086 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.9176, allocations: 3.516 kB / 0.7086 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9189, allocations: 270.6 kB / 0.7089 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.9209, allocations: 0.8082 MB / 0.7097 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.9211, allocations: 33.42 kB / 0.7097 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/0.9277, allocations: 5.986 MB / 0.7155 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9277, allocations: 2.781 kB / 0.7155 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008593/0.9363, allocations: 6.374 MB / 0.7218 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.9378, allocations: 0.6738 MB / 0.7224 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00068/0.9385, allocations: 27.34 kB / 0.7225 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.9401, allocations: 107.6 kB / 0.7226 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.9406, allocations: 98.44 kB / 0.7227 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.9407, allocations: 45.73 kB / 0.7227 GB, free: 132 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005522/0.9462, allocations: 2.272 MB / 0.7249 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9463, allocations: 0.9688 kB / 0.7249 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005155/0.9514, allocations: 0.9403 MB / 0.7258 GB, free: 131.1 MB / 0.4948 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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01057/0.962, allocations: 7.014 MB / 0.7327 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009854/0.9719, allocations: 5.243 MB / 0.7378 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9719, allocations: 0 / 0.7378 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004492/0.9764, allocations: 1.948 MB / 0.7397 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/0.9812, allocations: 381.1 kB / 0.7401 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06999/1.051, allocations: 33.06 MB / 0.7724 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.055, allocations: 3.06 MB / 0.7753 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/1.058, allocations: 1.772 MB / 0.7771 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.058, allocations: 0 / 0.7771 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.75/7.808, allocations: 85.68 MB / 0.8607 GB, free: 5.105 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches