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.00163/0.00163, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001798/0.001798, allocations: 192 kB / 18.56 MB, free: 4.434 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2074/0.2074, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 65.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 60.84 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01464/0.1273, allocations: 13.5 MB / 482.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00975/0.1371, allocations: 4.19 MB / 487.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.1398, allocations: 67.88 kB / 487.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.1444, allocations: 1.97 MB / 489.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.1504, allocations: 1.918 MB / 491 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.1524, allocations: 0.5537 MB / 491.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006215/0.1586, allocations: 4.015 MB / 495.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/0.1634, allocations: 2.874 MB / 498.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.1671, allocations: 1.456 MB / 499.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.1711, allocations: 2.013 MB / 0.4902 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.1726, allocations: 304 kB / 0.4905 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.1763, allocations: 1.026 MB / 0.4915 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003277/0.1796, allocations: 1.878 MB / 0.4933 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00547/0.1851, allocations: 2.263 MB / 0.4955 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.1991, allocations: 7.055 MB / 0.5024 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1992, allocations: 0 / 0.5024 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1992, allocations: 0 / 0.5024 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002942/0.1995, allocations: 0 / 0.5024 GB, free: 0.9805 MB / 382.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.2167/0.4162, allocations: 4.902 MB / 0.5072 GB, free: 46.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4163, allocations: 10.19 kB / 0.5072 GB, free: 46.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002022/0.4183, allocations: 0.8146 MB / 0.508 GB, free: 46.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.431, allocations: 3.149 MB / 0.5111 GB, free: 45.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/0.4379, allocations: 2.485 MB / 0.5135 GB, free: 44.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.4383, allocations: 233 kB / 0.5137 GB, free: 44.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.4399, allocations: 310.7 kB / 0.514 GB, free: 44.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.46, allocations: 12.09 MB / 0.5258 GB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.4601, allocations: 39.58 kB / 0.5258 GB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.4606, allocations: 147.8 kB / 0.526 GB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/0.4646, allocations: 2.837 MB / 0.5288 GB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4844, allocations: 11.35 MB / 0.5398 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05457/0.539, allocations: 41.28 MB / 0.5801 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.5508, allocations: 6.083 MB / 0.5861 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/0.5549, allocations: 3.013 MB / 0.589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/0.5568, allocations: 1.88 MB / 0.5909 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.5569, allocations: 56.56 kB / 0.5909 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 5.29e-06/0.5569, allocations: 0 / 0.5909 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04885/0.6057, allocations: 20.13 MB / 0.6106 GB, free: 12.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.6058, allocations: 77.39 kB / 0.6107 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.6099, allocations: 3.035 MB / 0.6136 GB, free: 9.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004788/0.6104, allocations: 65.7 kB / 0.6137 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6125, allocations: 2.989 MB / 0.6166 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.6139, allocations: 1.017 MB / 0.6176 GB, free: 5.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/0.6157, allocations: 1.187 MB / 0.6188 GB, free: 4.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6159, allocations: 305.1 kB / 0.619 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.6198, allocations: 2.846 MB / 0.6218 GB, free: 1.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/0.6269, allocations: 6.018 MB / 0.6277 GB, free: 9.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.6394, allocations: 9.665 MB / 0.6371 GB, free: 14.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.6396, allocations: 28 kB / 0.6372 GB, free: 14.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0179/0.6575, allocations: 10.02 MB / 0.647 GB, free: 4.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.6576, allocations: 52 kB / 0.647 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.6577, allocations: 112 kB / 0.6471 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003573/0.6613, allocations: 1.363 MB / 0.6484 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/0.6658, allocations: 1.372 MB / 0.6498 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.6758, allocations: 7.807 MB / 0.6574 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/0.6801, allocations: 367.7 kB / 0.6578 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008647/0.681, allocations: 348 kB / 0.6581 GB, free: 8.625 MB / 494.1 MB 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.003645/0.6847, allocations: 2.291 MB / 0.6603 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/0.6852, allocations: 304.1 kB / 0.6606 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.6961, allocations: 6.631 MB / 0.6671 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.092e-05/0.6962, allocations: 43.98 kB / 0.6671 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.6963, allocations: 4 kB / 0.6671 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.596e-05/0.6963, allocations: 16.03 kB / 0.6671 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/0.7213, allocations: 14.02 MB / 0.6808 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.7214, allocations: 8 kB / 0.6809 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/0.7238, allocations: 452.1 kB / 0.6813 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003538/0.7274, allocations: 1.22 MB / 0.6825 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005652/0.728, allocations: 47.98 kB / 0.6825 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00956/0.7375, allocations: 6.969 MB / 0.6893 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.7376, allocations: 11.94 kB / 0.6893 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2509/0.9885, allocations: 9.85 MB / 0.699 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/0.9895, allocations: 350.8 kB / 0.6993 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/0.9906, allocations: 51.67 kB / 0.6993 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/0.9928, allocations: 191 kB / 0.6995 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/0.9934, allocations: 166.6 kB / 0.6997 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/0.9936, allocations: 76.27 kB / 0.6998 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003766/0.9974, allocations: 1.885 MB / 0.7016 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9974, allocations: 1.688 kB / 0.7016 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006724/1.004, allocations: 1.121 MB / 0.7027 GB, free: 169.3 MB / 0.5137 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.01651/1.021, allocations: 10.53 MB / 0.713 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.037, allocations: 11.99 MB / 0.7247 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.037, allocations: 0 / 0.7247 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.041, allocations: 2.857 MB / 0.7275 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.043, allocations: 430.4 kB / 0.7279 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06507/1.108, allocations: 52.77 MB / 0.7794 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/1.112, allocations: 3.583 MB / 0.7829 GB, free: 100.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004368/1.116, allocations: 2.2 MB / 0.7851 GB, free: 98.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/1.118, allocations: 2.069 MB / 0.7871 GB, free: 96.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.362e-06/1.118, allocations: 0.6562 kB / 0.7871 GB, free: 96.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09913/1.217, allocations: 73.27 MB / 0.8586 GB, free: 23.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.36, allocations: 11.61 kB / 0.8587 GB, free: 23.33 MB / 0.5137 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