Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_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.00159/0.00159, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001779/0.001779, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 71.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3548, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01586/0.3707, allocations: 13.5 MB / 0.5316 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009989/0.3807, allocations: 4.199 MB / 0.5357 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.3838, allocations: 69.91 kB / 0.5358 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.3883, allocations: 1.966 MB / 0.5377 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.394, allocations: 1.924 MB / 0.5396 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3958, allocations: 0.5475 MB / 0.5401 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006428/0.4023, allocations: 4.028 MB / 0.5441 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.4066, allocations: 2.873 MB / 0.5469 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.4093, allocations: 1.444 MB / 0.5483 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.4122, allocations: 2.017 MB / 0.5502 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008178/0.413, allocations: 304 kB / 0.5505 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.4153, allocations: 1.034 MB / 0.5515 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.4172, allocations: 1.874 MB / 0.5534 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.42, allocations: 2.26 MB / 0.5556 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008772/0.4288, allocations: 7.392 MB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4288, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4288, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001691/0.429, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009787/0.4388, allocations: 5.044 MB / 0.5677 GB, free: 9.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4389, allocations: 8.031 kB / 0.5677 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.4403, allocations: 0.8157 MB / 0.5685 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4515, allocations: 3.172 MB / 0.5716 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.4565, allocations: 2.524 MB / 0.5741 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.4568, allocations: 238.2 kB / 0.5743 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4578, allocations: 311.7 kB / 0.5746 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.4788, allocations: 12.08 MB / 0.5864 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.479, allocations: 31.7 kB / 0.5864 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007645/0.4797, allocations: 143.8 kB / 0.5866 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005493/0.4852, allocations: 2.839 MB / 0.5893 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02454/0.5098, allocations: 11.36 MB / 0.6004 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06286/0.5727, allocations: 41.13 MB / 0.6406 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.5852, allocations: 6.068 MB / 0.6465 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/0.5899, allocations: 3.009 MB / 0.6495 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/0.5919, allocations: 1.884 MB / 0.6513 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.592, allocations: 61.06 kB / 0.6514 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.77e-06/0.592, allocations: 0 / 0.6514 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.0561/0.6481, allocations: 20.21 MB / 0.6711 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.6483, allocations: 73.41 kB / 0.6712 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/0.6544, allocations: 3.052 MB / 0.6741 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007034/0.6552, allocations: 61.7 kB / 0.6742 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003064/0.6582, allocations: 3.108 MB / 0.6772 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/0.6601, allocations: 1.073 MB / 0.6783 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.6626, allocations: 1.199 MB / 0.6795 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6628, allocations: 309 kB / 0.6798 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/0.6675, allocations: 2.842 MB / 0.6825 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008294/0.6758, allocations: 6.018 MB / 0.6884 GB, free: 9.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/0.6894, allocations: 9.665 MB / 0.6978 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.6896, allocations: 32 kB / 0.6979 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02142/0.711, allocations: 10.04 MB / 0.7077 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/0.7112, allocations: 54.66 kB / 0.7077 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.7113, allocations: 108 kB / 0.7078 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/0.7153, allocations: 1.363 MB / 0.7092 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/0.7205, allocations: 1.369 MB / 0.7105 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.7322, allocations: 7.812 MB / 0.7181 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/0.7368, allocations: 359.7 kB / 0.7185 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.7381, allocations: 348 kB / 0.7188 GB, free: 8.934 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (718): * Single equations (assignments): 711 * 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.005298/0.7434, allocations: 2.293 MB / 0.721 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008672/0.7443, allocations: 325.8 kB / 0.7214 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.316/1.06, allocations: 6.624 MB / 0.7278 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001568/1.061, allocations: 54.69 kB / 0.7279 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/1.061, allocations: 4.031 kB / 0.7279 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/1.061, allocations: 12.81 kB / 0.7279 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/1.087, allocations: 13.89 MB / 0.7415 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/1.087, allocations: 7.062 kB / 0.7415 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/1.09, allocations: 454.6 kB / 0.7419 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.093, allocations: 1.212 MB / 0.7431 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007376/1.094, allocations: 51.78 kB / 0.7431 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008002/1.102, allocations: 7.02 MB / 0.75 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.102, allocations: 11.88 kB / 0.75 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.116, allocations: 9.885 MB / 0.7596 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.117, allocations: 369.8 kB / 0.76 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.118, allocations: 47.77 kB / 0.76 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.121, allocations: 194.4 kB / 0.7602 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006657/1.121, allocations: 159.5 kB / 0.7604 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.122, allocations: 88.61 kB / 0.7605 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003092/1.125, allocations: 1.877 MB / 0.7623 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/1.125, allocations: 0 / 0.7623 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00631/1.131, allocations: 1.126 MB / 0.7634 GB, free: 167.4 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.01454/1.146, allocations: 10.55 MB / 0.7737 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.156, allocations: 6.987 MB / 0.7805 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.156, allocations: 7.828 kB / 0.7805 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004268/1.16, allocations: 2.846 MB / 0.7833 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.164, allocations: 437.7 kB / 0.7837 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06868/1.232, allocations: 49.02 MB / 0.8316 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.237, allocations: 3.582 MB / 0.8351 GB, free: 89.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004801/1.242, allocations: 2.196 MB / 0.8372 GB, free: 86.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003566/1.245, allocations: 2.069 MB / 0.8393 GB, free: 84.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/1.245, allocations: 4 kB / 0.8393 GB, free: 84.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.355, allocations: 70.14 MB / 0.9078 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.29/24.65, allocations: 15.14 kB / 0.9078 GB, free: 14.98 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches