Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",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.001451/0.001451, allocations: 101.4 kB / 16.4 MB, free: 6.438 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.001229/0.001229, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2019/0.2019, allocations: 43.51 MB / 314.1 MB, free: 460 kB / 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.001511/0.001511, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01531/0.117, allocations: 14.21 MB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008936/0.126, allocations: 4.292 MB / 0.5055 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.129, allocations: 75.81 kB / 0.5056 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.1336, allocations: 1.97 MB / 0.5075 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.1388, allocations: 1.973 MB / 0.5094 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1404, allocations: 0.5537 MB / 0.5099 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005453/0.1459, allocations: 4.081 MB / 0.5139 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/0.1497, allocations: 2.882 MB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.1523, allocations: 1.475 MB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.1554, allocations: 2.036 MB / 0.5202 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.1565, allocations: 304 kB / 0.5205 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.159, allocations: 1.014 MB / 0.5215 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.1611, allocations: 1.878 MB / 0.5233 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003506/0.1646, allocations: 2.279 MB / 0.5255 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2183/0.383, allocations: 7.413 MB / 0.5328 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.383, allocations: 1.094 kB / 0.5328 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.383, allocations: 1.094 kB / 0.5328 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001875/0.3832, allocations: 0 / 0.5328 GB, free: 13.15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.009483/0.3927, allocations: 5.062 MB / 0.5377 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3928, allocations: 13.67 kB / 0.5377 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/0.3941, allocations: 0.8209 MB / 0.5385 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4054, allocations: 3.173 MB / 0.5416 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.4114, allocations: 2.672 MB / 0.5442 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.4117, allocations: 243.7 kB / 0.5445 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.413, allocations: 311.5 kB / 0.5448 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4306, allocations: 12.1 MB / 0.5566 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.4307, allocations: 33.81 kB / 0.5566 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004995/0.4312, allocations: 147.2 kB / 0.5567 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004139/0.4354, allocations: 2.837 MB / 0.5595 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4535, allocations: 11.38 MB / 0.5706 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06464/0.5182, allocations: 41.03 MB / 0.6107 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.5308, allocations: 6.086 MB / 0.6166 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004737/0.5356, allocations: 3.005 MB / 0.6196 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/0.5376, allocations: 1.881 MB / 0.6214 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.5377, allocations: 56.56 kB / 0.6215 GB, free: 12.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 9.317e-06/0.5377, allocations: 0 / 0.6215 GB, free: 12.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05499/0.5927, allocations: 20.26 MB / 0.6412 GB, free: 7.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.5928, allocations: 77.41 kB / 0.6413 GB, free: 7.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00608/0.5989, allocations: 3.078 MB / 0.6443 GB, free: 4.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007133/0.5997, allocations: 63.97 kB / 0.6444 GB, free: 4.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002695/0.6024, allocations: 3.131 MB / 0.6474 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/0.6041, allocations: 1.069 MB / 0.6485 GB, free: 324 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003374/0.6075, allocations: 1.211 MB / 0.6497 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6076, allocations: 309.1 kB / 0.65 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/0.6123, allocations: 2.85 MB / 0.6527 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007406/0.6198, allocations: 6.057 MB / 0.6587 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/0.6333, allocations: 9.717 MB / 0.6682 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.6334, allocations: 32 kB / 0.6682 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02282/0.6562, allocations: 10.08 MB / 0.678 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.6564, allocations: 52 kB / 0.6781 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/0.6567, allocations: 117.7 kB / 0.6782 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004223/0.6609, allocations: 1.363 MB / 0.6795 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005435/0.6664, allocations: 1.38 MB / 0.6809 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.6783, allocations: 7.81 MB / 0.6885 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/0.6833, allocations: 370.8 kB / 0.6888 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/0.6845, allocations: 343.6 kB / 0.6892 GB, free: 4.422 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (724): * Single equations (assignments): 717 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005369/0.6899, allocations: 2.305 MB / 0.6914 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.691, allocations: 325.7 kB / 0.6917 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.7036, allocations: 6.624 MB / 0.6982 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-05/0.7037, allocations: 51.92 kB / 0.6983 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.7037, allocations: 4 kB / 0.6983 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-05/0.7038, allocations: 11.95 kB / 0.6983 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/0.7305, allocations: 13.91 MB / 0.7119 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/0.7306, allocations: 12 kB / 0.7119 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.7329, allocations: 455.3 kB / 0.7123 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/0.7365, allocations: 1.21 MB / 0.7135 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004632/0.7369, allocations: 59.92 kB / 0.7135 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009661/0.7466, allocations: 7.009 MB / 0.7204 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.7467, allocations: 11.94 kB / 0.7204 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/0.7637, allocations: 9.887 MB / 0.73 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/0.7668, allocations: 0.8386 MB / 0.7309 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/0.7679, allocations: 44.66 kB / 0.7309 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/0.7703, allocations: 199.6 kB / 0.7311 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.771, allocations: 160.3 kB / 0.7313 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/0.7713, allocations: 79.98 kB / 0.7313 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003768/0.7751, allocations: 1.899 MB / 0.7332 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.243e-06/0.7751, allocations: 0 / 0.7332 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005962/0.7811, allocations: 1.136 MB / 0.7343 GB, free: 5.711 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01676/0.7979, allocations: 10.54 MB / 0.7446 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01138/0.8093, allocations: 7.006 MB / 0.7514 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.8094, allocations: 0 / 0.7514 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.8139, allocations: 2.861 MB / 0.7542 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.8172, allocations: 422.1 kB / 0.7546 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2982/1.115, allocations: 49.3 MB / 0.8028 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/1.119, allocations: 3.584 MB / 0.8063 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004346/1.124, allocations: 2.207 MB / 0.8084 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/1.127, allocations: 2.069 MB / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/1.127, allocations: 0 / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/1.23, allocations: 70.2 MB / 0.879 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/23.43, allocations: 14.09 kB / 0.879 GB, free: 110.6 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches