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.001435/0.001435, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001373/0.001373, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.516/1.516, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2219/0.2219, allocations: 43.53 MB / 314.1 MB, free: 452 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.002013/0.002013, allocations: 73.61 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01731/0.1478, allocations: 14.22 MB / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.1579, allocations: 4.284 MB / 0.5055 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.1607, allocations: 75.81 kB / 0.5056 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.1652, allocations: 1.97 MB / 0.5075 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.1711, allocations: 1.914 MB / 0.5094 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.1729, allocations: 0.5536 MB / 0.5099 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006786/0.1798, allocations: 4.089 MB / 0.5139 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004454/0.1843, allocations: 2.882 MB / 0.5167 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.1873, allocations: 1.471 MB / 0.5181 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.1911, allocations: 2.025 MB / 0.5201 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.1924, allocations: 308 kB / 0.5204 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.1956, allocations: 1.022 MB / 0.5214 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002927/0.1986, allocations: 1.878 MB / 0.5232 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004861/0.2034, allocations: 2.283 MB / 0.5255 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2924/0.4959, allocations: 7.404 MB / 0.5327 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.496, allocations: 1.188 kB / 0.5327 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.496, allocations: 0 / 0.5327 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003016/0.4963, allocations: 0 / 0.5327 GB, free: 13.14 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.01404/0.5103, allocations: 5.063 MB / 0.5376 GB, free: 11.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.5104, allocations: 16.58 kB / 0.5377 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002244/0.5127, allocations: 0.8218 MB / 0.5385 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.5254, allocations: 3.177 MB / 0.5416 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.5322, allocations: 2.671 MB / 0.5442 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.5327, allocations: 240.5 kB / 0.5444 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.5348, allocations: 312 kB / 0.5447 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.5599, allocations: 12.1 MB / 0.5565 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.56, allocations: 38.06 kB / 0.5565 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007028/0.5607, allocations: 144.9 kB / 0.5567 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004947/0.5657, allocations: 2.834 MB / 0.5595 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.5871, allocations: 11.38 MB / 0.5706 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06541/0.6526, allocations: 41.04 MB / 0.6106 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.665, allocations: 6.078 MB / 0.6166 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/0.6694, allocations: 3.006 MB / 0.6195 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/0.6714, allocations: 1.878 MB / 0.6213 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/0.6715, allocations: 60.55 kB / 0.6214 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.262e-06/0.6715, allocations: 0 / 0.6214 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.0529/0.7244, allocations: 20.27 MB / 0.6412 GB, free: 7.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.7246, allocations: 77.41 kB / 0.6413 GB, free: 7.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.7294, allocations: 3.073 MB / 0.6443 GB, free: 4.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006574/0.7301, allocations: 65.7 kB / 0.6443 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.7327, allocations: 3.132 MB / 0.6474 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.7344, allocations: 1.067 MB / 0.6484 GB, free: 316 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001993/0.7364, allocations: 1.203 MB / 0.6496 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7366, allocations: 314.1 kB / 0.6499 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/0.7412, allocations: 2.85 MB / 0.6527 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007808/0.7491, allocations: 6.059 MB / 0.6586 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.763, allocations: 9.708 MB / 0.6681 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.7632, allocations: 32 kB / 0.6681 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02138/0.7846, allocations: 10.09 MB / 0.678 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.7847, allocations: 52 kB / 0.678 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.7849, allocations: 117.6 kB / 0.6781 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/0.7889, allocations: 1.359 MB / 0.6795 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/0.7942, allocations: 1.38 MB / 0.6808 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.8058, allocations: 7.809 MB / 0.6884 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004676/0.8105, allocations: 371.5 kB / 0.6888 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/0.8118, allocations: 348 kB / 0.6891 GB, free: 4.41 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.005179/0.817, allocations: 2.301 MB / 0.6914 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007962/0.8178, allocations: 325.7 kB / 0.6917 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.8301, allocations: 6.633 MB / 0.6982 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-05/0.8303, allocations: 47.98 kB / 0.6982 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.8303, allocations: 4 kB / 0.6982 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.8303, allocations: 11.95 kB / 0.6982 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02664/0.857, allocations: 13.91 MB / 0.7118 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.8571, allocations: 11.98 kB / 0.7118 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/0.8594, allocations: 454.6 kB / 0.7122 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/0.8631, allocations: 1.218 MB / 0.7134 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005522/0.8637, allocations: 55.92 kB / 0.7135 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.874, allocations: 7.009 MB / 0.7203 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.408e-05/0.8741, allocations: 11.94 kB / 0.7203 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/0.892, allocations: 9.881 MB / 0.73 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/0.8946, allocations: 0.8385 MB / 0.7308 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/0.8957, allocations: 54.44 kB / 0.7309 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/0.8979, allocations: 195.7 kB / 0.731 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005989/0.8985, allocations: 153.7 kB / 0.7312 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/0.8988, allocations: 83.03 kB / 0.7313 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003662/0.9025, allocations: 1.899 MB / 0.7331 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9025, allocations: 3.938 kB / 0.7331 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006161/0.9087, allocations: 1.133 MB / 0.7342 GB, free: 5.699 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.0178/0.9265, allocations: 10.55 MB / 0.7445 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01363/0.9402, allocations: 6.99 MB / 0.7514 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/0.9403, allocations: 0 / 0.7514 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005255/0.9455, allocations: 2.867 MB / 0.7542 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.9489, allocations: 415.3 kB / 0.7546 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3307/1.28, allocations: 49.31 MB / 0.8027 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005496/1.285, allocations: 3.587 MB / 0.8062 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00715/1.292, allocations: 2.203 MB / 0.8084 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003563/1.296, allocations: 2.069 MB / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/1.296, allocations: 4 kB / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.43, allocations: 70.2 MB / 0.8789 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.19/25.62, allocations: 18.03 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