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.002051/0.002051, 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.002495/0.002495, 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.518/1.518, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2307/0.2307, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01641/0.3898, allocations: 13.55 MB / 0.5317 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.4012, allocations: 4.209 MB / 0.5358 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.4047, allocations: 69.28 kB / 0.5358 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.4098, allocations: 1.986 MB / 0.5378 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007476/0.4173, allocations: 1.97 MB / 0.5397 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4195, allocations: 0.5542 MB / 0.5402 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008312/0.4278, allocations: 4.023 MB / 0.5442 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004768/0.4325, allocations: 2.48 MB / 0.5466 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003883/0.4364, allocations: 1.456 MB / 0.548 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/0.4406, allocations: 2.009 MB / 0.55 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.4418, allocations: 308 kB / 0.5503 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.445, allocations: 1.026 MB / 0.5513 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.4477, allocations: 1.924 MB / 0.5532 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.4517, allocations: 2.26 MB / 0.5554 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.4624, allocations: 7.392 MB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4624, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4625, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.4627, allocations: 4 kB / 0.5626 GB, free: 14.71 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.01081/0.4735, allocations: 5.04 MB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4735, allocations: 8.031 kB / 0.5675 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001373/0.4749, allocations: 0.8118 MB / 0.5683 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.4861, allocations: 3.18 MB / 0.5714 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.4917, allocations: 2.52 MB / 0.5739 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.492, allocations: 238.2 kB / 0.5741 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.4931, allocations: 319.7 kB / 0.5744 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.5145, allocations: 12.08 MB / 0.5862 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.5147, allocations: 31.7 kB / 0.5862 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005736/0.5152, allocations: 147.8 kB / 0.5864 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0054/0.5206, allocations: 2.839 MB / 0.5891 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/0.5457, allocations: 11.36 MB / 0.6002 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06318/0.6089, allocations: 41.13 MB / 0.6404 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.621, allocations: 5.814 MB / 0.6461 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004315/0.6253, allocations: 2.756 MB / 0.6488 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/0.6275, allocations: 1.88 MB / 0.6506 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.6276, allocations: 52.56 kB / 0.6506 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 7.203e-06/0.6276, allocations: 11.92 kB / 0.6507 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05493/0.6825, allocations: 20.19 MB / 0.6704 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.6826, allocations: 81.34 kB / 0.6705 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/0.6874, allocations: 3.044 MB / 0.6734 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005809/0.688, allocations: 65.64 kB / 0.6735 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/0.6906, allocations: 3.108 MB / 0.6765 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.6922, allocations: 1.073 MB / 0.6776 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002139/0.6944, allocations: 1.199 MB / 0.6787 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6945, allocations: 305.1 kB / 0.679 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/0.6994, allocations: 2.842 MB / 0.6818 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008806/0.7082, allocations: 6.022 MB / 0.6877 GB, free: 10.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/0.7226, allocations: 9.657 MB / 0.6971 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.7227, allocations: 32 kB / 0.6972 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02192/0.7446, allocations: 10.02 MB / 0.7069 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.822e-05/0.7447, allocations: 55.94 kB / 0.707 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/0.7449, allocations: 112 kB / 0.7071 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/0.7488, allocations: 1.365 MB / 0.7084 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/0.7541, allocations: 1.369 MB / 0.7098 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.7656, allocations: 7.798 MB / 0.7174 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/0.7704, allocations: 359.7 kB / 0.7177 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/0.7717, allocations: 348 kB / 0.7181 GB, free: 9.684 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.004979/0.7767, allocations: 2.302 MB / 0.7203 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007996/0.7775, allocations: 321.8 kB / 0.7206 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.7904, allocations: 6.612 MB / 0.7271 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-05/0.7905, allocations: 51.98 kB / 0.7271 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7905, allocations: 4 kB / 0.7271 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.7906, allocations: 15.89 kB / 0.7271 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.284/1.075, allocations: 13.87 MB / 0.7407 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/1.075, allocations: 10.62 kB / 0.7407 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/1.077, allocations: 455.9 kB / 0.7411 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/1.08, allocations: 1.217 MB / 0.7423 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/1.08, allocations: 51.44 kB / 0.7424 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008418/1.089, allocations: 7.01 MB / 0.7492 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.089, allocations: 10.28 kB / 0.7492 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/1.101, allocations: 9.866 MB / 0.7589 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/1.102, allocations: 369 kB / 0.7592 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/1.103, allocations: 51.62 kB / 0.7593 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.104, allocations: 196 kB / 0.7594 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.105, allocations: 158.8 kB / 0.7596 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.105, allocations: 76.97 kB / 0.7597 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002393/1.107, allocations: 1.883 MB / 0.7615 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 3.938 kB / 0.7615 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004047/1.111, allocations: 1.121 MB / 0.7626 GB, free: 168.2 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.0114/1.123, allocations: 10.55 MB / 0.7729 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008959/1.132, allocations: 6.676 MB / 0.7794 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.132, allocations: 2.625 kB / 0.7794 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.135, allocations: 2.654 MB / 0.782 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.138, allocations: 425.5 kB / 0.7824 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06292/1.201, allocations: 49 MB / 0.8303 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004477/1.206, allocations: 3.579 MB / 0.8338 GB, free: 90.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004389/1.21, allocations: 2.196 MB / 0.8359 GB, free: 88.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/1.213, allocations: 2.069 MB / 0.8379 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/1.213, allocations: 0 / 0.8379 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.321, allocations: 70.42 MB / 0.9067 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.64/22.96, allocations: 6.953 kB / 0.9067 GB, free: 16.12 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