Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 191.1 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1981/0.1981, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002488, allocations: 69.7 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1083, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008462/0.1168, allocations: 10.21 MB / 450.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.1237, allocations: 3.914 MB / 454.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.1248, allocations: 59.81 kB / 454.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.1288, allocations: 2.324 MB / 457.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.1326, allocations: 1.731 MB / 458.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.134, allocations: 0.6979 MB / 459.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.1384, allocations: 3.812 MB / 463.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.1417, allocations: 2.992 MB / 466.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1435, allocations: 1.363 MB / 467.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.1458, allocations: 1.861 MB / 469.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005061/0.1463, allocations: 308 kB / 469.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.1482, allocations: 1.174 MB / 471.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1496, allocations: 1.714 MB / 472.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.1512, allocations: 2.066 MB / 474.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.1569, allocations: 6.597 MB / 481.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1569, allocations: 0 / 481.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1569, allocations: 0 / 481.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.645e-05/0.157, allocations: 4 kB / 481.4 MB, free: 13.78 MB / 366.1 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.007863/0.1649, allocations: 4.512 MB / 486 MB, free: 9.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1649, allocations: 15.89 kB / 486 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007224/0.1657, allocations: 0.6541 MB / 486.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02139/0.1871, allocations: 3.814 MB / 490.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.1926, allocations: 2.839 MB / 493.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.1928, allocations: 205.6 kB / 493.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007613/0.1936, allocations: 279.7 kB / 493.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.2078, allocations: 9.22 MB / 0.4912 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.208, allocations: 43.59 kB / 0.4912 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.2084, allocations: 131.9 kB / 0.4914 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/0.2117, allocations: 1.923 MB / 0.4932 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.2268, allocations: 8.036 MB / 0.5011 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2206/0.4474, allocations: 36.09 MB / 0.5363 GB, free: 63.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.455, allocations: 3.614 MB / 0.5399 GB, free: 62.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.4576, allocations: 2.019 MB / 0.5418 GB, free: 62.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/0.458, allocations: 333.7 kB / 0.5421 GB, free: 62.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.458, allocations: 51.89 kB / 0.5422 GB, free: 62.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 4.309e-06/0.458, allocations: 2.25 kB / 0.5422 GB, free: 62.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.0349/0.4929, allocations: 15.36 MB / 0.5572 GB, free: 57.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.4931, allocations: 179.5 kB / 0.5574 GB, free: 57.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/0.4978, allocations: 3.657 MB / 0.5609 GB, free: 56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003183/0.4982, allocations: 51.06 kB / 0.561 GB, free: 55.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4995, allocations: 2.817 MB / 0.5637 GB, free: 53.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000725/0.5003, allocations: 0.6771 MB / 0.5644 GB, free: 52.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.5016, allocations: 1.122 MB / 0.5655 GB, free: 52.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.5016, allocations: 302.5 kB / 0.5658 GB, free: 52.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.5041, allocations: 2.191 MB / 0.5679 GB, free: 50.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.5075, allocations: 5.521 MB / 0.5733 GB, free: 43.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006726/0.5142, allocations: 8.353 MB / 0.5815 GB, free: 33.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-05/0.5143, allocations: 32 kB / 0.5815 GB, free: 33.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01192/0.5263, allocations: 8.273 MB / 0.5896 GB, free: 25.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.5264, allocations: 56 kB / 0.5896 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.984e-05/0.5265, allocations: 120 kB / 0.5897 GB, free: 25.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.5286, allocations: 0.97 MB / 0.5907 GB, free: 24.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/0.5324, allocations: 1.267 MB / 0.5919 GB, free: 23.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.5391, allocations: 6.93 MB / 0.5987 GB, free: 16.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/0.5437, allocations: 315.4 kB / 0.599 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006209/0.5443, allocations: 343.3 kB / 0.5993 GB, free: 15.55 MB / 414.1 MB 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 (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.00295/0.5473, allocations: 1.972 MB / 0.6013 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006293/0.5479, allocations: 324.8 kB / 0.6016 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/0.5531, allocations: 3.566 MB / 0.605 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.5532, allocations: 16 kB / 0.6051 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5532, allocations: 11.94 kB / 0.6051 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5532, allocations: 7.969 kB / 0.6051 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.5661, allocations: 8.671 MB / 0.6135 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.5662, allocations: 0 / 0.6135 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.5674, allocations: 279.5 kB / 0.6138 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.5693, allocations: 0.8046 MB / 0.6146 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.5695, allocations: 35.98 kB / 0.6146 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.5808, allocations: 6.444 MB / 0.6209 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5809, allocations: 4 kB / 0.6209 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.5941, allocations: 6.381 MB / 0.6272 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/0.5971, allocations: 0.6647 MB / 0.6278 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/0.5986, allocations: 27.94 kB / 0.6278 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/0.6014, allocations: 111.8 kB / 0.6279 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.6018, allocations: 96.81 kB / 0.628 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.602, allocations: 51.45 kB / 0.6281 GB, free: 1.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007106/0.6091, allocations: 2.29 MB / 0.6303 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6091, allocations: 0 / 0.6303 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009109/0.6182, allocations: 0.9445 MB / 0.6312 GB, free: 14.67 MB / 446.1 MB 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 (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.01797/0.6363, allocations: 7.025 MB / 0.6381 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01684/0.6531, allocations: 6.302 MB / 0.6443 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.6532, allocations: 0 / 0.6443 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005114/0.6583, allocations: 1.947 MB / 0.6462 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/0.663, allocations: 415.1 kB / 0.6466 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07704/0.74, allocations: 48.31 MB / 0.6937 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/0.7436, allocations: 3.058 MB / 0.6967 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004486/0.7481, allocations: 1.812 MB / 0.6985 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/0.7507, allocations: 1.729 MB / 0.7002 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.7507, allocations: 4 kB / 0.7002 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/1.068, allocations: 69.84 MB / 0.7684 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.9, allocations: 5.75 kB / 0.7684 GB, free: 184.5 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches