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.001285/0.001285, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001271/0.001271, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.394/1.394, 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.2207/0.2207, allocations: 44.18 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4171, 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.01636/0.4335, allocations: 13.5 MB / 0.5316 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.4445, allocations: 4.199 MB / 0.5357 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.4482, allocations: 73.16 kB / 0.5358 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004959/0.4532, allocations: 1.967 MB / 0.5377 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.46, allocations: 1.962 MB / 0.5396 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.4622, allocations: 0.5551 MB / 0.5402 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007704/0.4699, allocations: 4.03 MB / 0.5441 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00497/0.4749, allocations: 2.869 MB / 0.5469 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.4782, allocations: 1.456 MB / 0.5483 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.4819, allocations: 2.017 MB / 0.5503 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.4835, allocations: 304 kB / 0.5506 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.4872, allocations: 1.026 MB / 0.5516 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.4904, allocations: 1.874 MB / 0.5534 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004636/0.4951, allocations: 2.26 MB / 0.5556 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.507, allocations: 7.392 MB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.507, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.507, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003296/0.5074, allocations: 4 kB / 0.5628 GB, free: 14.45 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.01365/0.521, allocations: 5.036 MB / 0.5678 GB, free: 9.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.5211, allocations: 8.031 kB / 0.5678 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00229/0.5234, allocations: 0.8196 MB / 0.5686 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.535, allocations: 3.172 MB / 0.5717 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/0.5411, allocations: 2.521 MB / 0.5741 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.5414, allocations: 246.2 kB / 0.5744 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.5428, allocations: 311.7 kB / 0.5747 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/0.565, allocations: 12.08 MB / 0.5865 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.5653, allocations: 35.69 kB / 0.5865 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.5668, allocations: 155.8 kB / 0.5866 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005161/0.572, allocations: 2.835 MB / 0.5894 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/0.5943, allocations: 11.36 MB / 0.6005 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06511/0.6594, allocations: 41.12 MB / 0.6407 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.6719, allocations: 6.072 MB / 0.6466 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00451/0.6765, allocations: 2.998 MB / 0.6495 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/0.6786, allocations: 1.892 MB / 0.6514 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.6787, allocations: 56.56 kB / 0.6514 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 9.157e-06/0.6787, allocations: 0 / 0.6514 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05669/0.7354, allocations: 20.22 MB / 0.6712 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.7355, allocations: 73.41 kB / 0.6712 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.7414, allocations: 3.04 MB / 0.6742 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007283/0.7421, allocations: 65.64 kB / 0.6743 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.7446, allocations: 3.112 MB / 0.6773 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.7462, allocations: 1.066 MB / 0.6783 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003395/0.7497, allocations: 1.195 MB / 0.6795 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7498, allocations: 309.1 kB / 0.6798 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00503/0.7548, allocations: 2.846 MB / 0.6826 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008351/0.7632, allocations: 6.018 MB / 0.6885 GB, free: 9.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/0.7776, allocations: 9.669 MB / 0.6979 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/0.7779, allocations: 28 kB / 0.6979 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02291/0.8009, allocations: 10.03 MB / 0.7077 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.8012, allocations: 56.94 kB / 0.7078 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00032/0.8015, allocations: 112 kB / 0.7079 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/0.8057, allocations: 1.369 MB / 0.7092 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/0.811, allocations: 1.365 MB / 0.7106 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.8218, allocations: 7.805 MB / 0.7182 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/0.8264, allocations: 359.7 kB / 0.7185 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.8276, allocations: 351.9 kB / 0.7189 GB, free: 8.871 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.00449/0.8321, allocations: 2.297 MB / 0.7211 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007905/0.8329, allocations: 321.8 kB / 0.7214 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3008/1.134, allocations: 6.624 MB / 0.7279 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/1.134, allocations: 48.7 kB / 0.7279 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.134, allocations: 7.031 kB / 0.7279 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.805e-05/1.134, allocations: 12.41 kB / 0.7279 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.16, allocations: 13.89 MB / 0.7415 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.16, allocations: 9.875 kB / 0.7415 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.162, allocations: 458.7 kB / 0.742 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/1.165, allocations: 1.209 MB / 0.7431 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004424/1.166, allocations: 55.42 kB / 0.7432 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/1.174, allocations: 7.008 MB / 0.75 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.174, allocations: 7.906 kB / 0.75 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.188, allocations: 9.893 MB / 0.7597 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.189, allocations: 360.6 kB / 0.76 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009345/1.19, allocations: 49.89 kB / 0.7601 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.192, allocations: 196.7 kB / 0.7603 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.193, allocations: 164.9 kB / 0.7604 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.193, allocations: 70.92 kB / 0.7605 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003308/1.196, allocations: 1.885 MB / 0.7623 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.196, allocations: 0 / 0.7623 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005363/1.202, allocations: 1.128 MB / 0.7635 GB, free: 167.3 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.01297/1.215, allocations: 10.55 MB / 0.7738 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009075/1.224, allocations: 6.983 MB / 0.7806 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.224, allocations: 3.719 kB / 0.7806 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003865/1.228, allocations: 2.862 MB / 0.7834 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/1.232, allocations: 420.1 kB / 0.7838 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.106/1.338, allocations: 49.03 MB / 0.8317 GB, free: 92.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006613/1.345, allocations: 3.579 MB / 0.8352 GB, free: 88.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00543/1.35, allocations: 2.2 MB / 0.8373 GB, free: 86.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004246/1.355, allocations: 2.065 MB / 0.8393 GB, free: 84.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/1.355, allocations: 0 / 0.8393 GB, free: 84.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.456, allocations: 70.15 MB / 0.9078 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/22.98, allocations: 14.94 kB / 0.9078 GB, free: 14.89 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