Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",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.001581/0.001581, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001543/0.001543, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.297/1.297, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2087/0.2087, allocations: 43.53 MB / 314.1 MB, free: 464 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.001497/0.001497, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01361/0.1281, allocations: 12.02 MB / 0.4991 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1385, allocations: 4.383 MB / 0.5034 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.1411, allocations: 71.81 kB / 0.5035 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006333/0.1475, allocations: 2.756 MB / 0.5062 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006264/0.1538, allocations: 2.097 MB / 0.5082 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.1566, allocations: 1.01 MB / 0.5092 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008074/0.1648, allocations: 5.143 MB / 0.5142 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/0.1699, allocations: 3.44 MB / 0.5176 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.1733, allocations: 1.764 MB / 0.5193 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/0.1774, allocations: 2.457 MB / 0.5217 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.1788, allocations: 368 kB / 0.5221 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.182, allocations: 1.408 MB / 0.5235 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.185, allocations: 2.217 MB / 0.5256 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004735/0.1898, allocations: 2.587 MB / 0.5281 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2535/0.4433, allocations: 8.3 MB / 0.5362 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4434, allocations: 0.5625 kB / 0.5362 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4434, allocations: 1.281 kB / 0.5363 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003919/0.4438, allocations: 1.781 kB / 0.5363 GB, free: 15.47 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02331/0.4671, allocations: 6.066 MB / 0.5422 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4671, allocations: 13.89 kB / 0.5422 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003145/0.4703, allocations: 0.7941 MB / 0.543 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08901/0.5593, allocations: 7.254 MB / 0.55 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.5704, allocations: 4.135 MB / 0.5541 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.5708, allocations: 260.6 kB / 0.5543 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.5731, allocations: 347.9 kB / 0.5547 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02773/0.6009, allocations: 12.28 MB / 0.5667 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003227/0.6013, allocations: 62.95 kB / 0.5667 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/0.6032, allocations: 158.7 kB / 0.5669 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/0.6072, allocations: 2.384 MB / 0.5692 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02386/0.6311, allocations: 10.7 MB / 0.5797 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07659/0.7077, allocations: 48.69 MB / 0.6272 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.7245, allocations: 5.853 MB / 0.6329 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/0.7294, allocations: 3.114 MB / 0.636 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02692/0.7564, allocations: 13.04 MB / 0.6487 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.7565, allocations: 55.88 kB / 0.6487 GB, free: 3.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 6.602e-06/0.7565, allocations: 0 / 0.6487 GB, free: 3.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1334/0.89, allocations: 39.07 MB / 0.6869 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.8901, allocations: 213.2 kB / 0.6871 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009392/0.8995, allocations: 4.429 MB / 0.6914 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/0.9004, allocations: 68.33 kB / 0.6915 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003183/0.9036, allocations: 3.572 MB / 0.695 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.9054, allocations: 0.9945 MB / 0.6959 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004075/0.9095, allocations: 1.377 MB / 0.6973 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.9096, allocations: 301.1 kB / 0.6976 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005984/0.9156, allocations: 3.113 MB / 0.7006 GB, free: 14.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/0.9258, allocations: 7.046 MB / 0.7075 GB, free: 5.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.9412, allocations: 10.95 MB / 0.7182 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.9414, allocations: 40 kB / 0.7182 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02951/0.971, allocations: 12.68 MB / 0.7306 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.9711, allocations: 64 kB / 0.7307 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/0.9714, allocations: 136 kB / 0.7308 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.9817, allocations: 3.247 MB / 0.734 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006441/0.9882, allocations: 1.536 MB / 0.7355 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02875/1.017, allocations: 16.62 MB / 0.7517 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007231/1.024, allocations: 431.5 kB / 0.7521 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/1.026, allocations: 402.6 kB / 0.7525 GB, free: 6.039 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007/1.033, allocations: 2.356 MB / 0.7548 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.035, allocations: 429.1 kB / 0.7552 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2531/1.288, allocations: 7.514 MB / 0.7626 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-05/1.288, allocations: 34.14 kB / 0.7626 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.504e-05/1.288, allocations: 10.75 kB / 0.7626 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/1.288, allocations: 14.64 kB / 0.7626 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03986/1.328, allocations: 15.04 MB / 0.7773 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-05/1.328, allocations: 0 / 0.7773 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.331, allocations: 384 kB / 0.7777 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008802/1.339, allocations: 2.928 MB / 0.7805 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008025/1.34, allocations: 44.95 kB / 0.7806 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/1.361, allocations: 14.83 MB / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.361, allocations: 0 / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.379, allocations: 11.52 MB / 0.8063 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/1.382, allocations: 0.9405 MB / 0.8072 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.384, allocations: 40 kB / 0.8073 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.386, allocations: 191.6 kB / 0.8074 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/1.387, allocations: 145.8 kB / 0.8076 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/1.388, allocations: 63.98 kB / 0.8076 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005298/1.393, allocations: 2.775 MB / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.22e-07/1.393, allocations: 0 / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007329/1.4, allocations: 1.317 MB / 0.8116 GB, free: 182.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01928/1.42, allocations: 12.17 MB / 0.8235 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.432, allocations: 7.872 MB / 0.8312 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.432, allocations: 6.031 kB / 0.8312 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.437, allocations: 3.126 MB / 0.8343 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/1.443, allocations: 0.5244 MB / 0.8348 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/1.543, allocations: 60.92 MB / 0.8943 GB, free: 92.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006394/1.549, allocations: 3.68 MB / 0.8979 GB, free: 88.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005591/1.555, allocations: 2.169 MB / 0.9 GB, free: 86.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004499/1.559, allocations: 2.229 MB / 0.9022 GB, free: 84.02 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/1.559, allocations: 0 / 0.9022 GB, free: 84.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/1.973, allocations: 94.61 MB / 0.9945 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.1/29.07, allocations: 14.88 kB / 0.9946 GB, free: 203.4 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches