Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",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.001226/0.001226, allocations: 107.2 kB / 16.27 MB, free: 6.41 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.001137/0.001137, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2069/0.2069, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001651/0.001651, allocations: 70.48 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09664, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007645/0.1043, allocations: 9.171 MB / 449.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.1097, allocations: 2.697 MB / 452.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1108, allocations: 43.94 kB / 452.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1132, allocations: 1.316 MB / 453.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.1145, allocations: 0.5401 MB / 454.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.1154, allocations: 427 kB / 454.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1167, allocations: 1.239 MB / 456 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.118, allocations: 1.289 MB / 457.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.1187, allocations: 0.5994 MB / 457.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1198, allocations: 0.8446 MB / 458.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.1201, allocations: 128 kB / 458.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1211, allocations: 0.5812 MB / 459.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006913/0.1218, allocations: 0.8142 MB / 460.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.1226, allocations: 0.9317 MB / 461.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.1255, allocations: 2.745 MB / 464 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1255, allocations: 0 / 464 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1255, allocations: 0 / 464 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.211e-05/0.1256, allocations: 0 / 464 MB, free: 15.33 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004776/0.1304, allocations: 2.388 MB / 466.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1304, allocations: 15.89 kB / 466.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003976/0.1309, allocations: 351.9 kB / 466.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.132, allocations: 265.8 kB / 467 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1333, allocations: 0.8848 MB / 467.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.1334, allocations: 111.1 kB / 468 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.1337, allocations: 147.9 kB / 468.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.1414, allocations: 4.908 MB / 473 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.1415, allocations: 11.88 kB / 473 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.1416, allocations: 63.94 kB / 473.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.1433, allocations: 1.007 MB / 474.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007529/0.1509, allocations: 3.805 MB / 477.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.1695, allocations: 16.39 MB / 494.3 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.1738, allocations: 1.282 MB / 495.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.1747, allocations: 0.7184 MB / 496.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005478/0.1802, allocations: 4.031 MB / 0.4886 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1803, allocations: 46.44 kB / 0.4887 GB, free: 9.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 6.553e-06/0.1803, allocations: 4 kB / 0.4887 GB, free: 9.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006612/0.187, allocations: 1.775 MB / 0.4904 GB, free: 8.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.1871, allocations: 106.8 kB / 0.4905 GB, free: 7.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.1896, allocations: 1.608 MB / 0.4921 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.1897, allocations: 29.7 kB / 0.4921 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.1908, allocations: 1.403 MB / 0.4935 GB, free: 4.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.191, allocations: 186 kB / 0.4936 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006202/0.1916, allocations: 471.7 kB / 0.4941 GB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1918, allocations: 353.9 kB / 0.4944 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.1926, allocations: 0.5159 MB / 0.4949 GB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.1945, allocations: 2.058 MB / 0.4969 GB, free: 440 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.1978, allocations: 2.811 MB / 0.4997 GB, free: 12.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.842e-05/0.1979, allocations: 24 kB / 0.4997 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004291/0.2022, allocations: 2.458 MB / 0.5021 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.2023, allocations: 36.22 kB / 0.5021 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.715e-05/0.2024, allocations: 55.98 kB / 0.5022 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.15e-05/0.2025, allocations: 76 kB / 0.5023 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.204, allocations: 0.538 MB / 0.5028 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001222/0.2041, allocations: 107.6 kB / 0.5029 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.2059, allocations: 336.4 kB / 0.5032 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.206, allocations: 148 kB / 0.5034 GB, free: 9.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (295): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.2073, allocations: 0.8672 MB / 0.5042 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.2075, allocations: 138.2 kB / 0.5043 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.2078, allocations: 157.6 kB / 0.5045 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2078, allocations: 4 kB / 0.5045 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2078, allocations: 3.984 kB / 0.5045 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2078, allocations: 4 kB / 0.5045 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.2124, allocations: 3.274 MB / 0.5077 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.2125, allocations: 12.97 kB / 0.5077 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.2128, allocations: 103.8 kB / 0.5078 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.2128, allocations: 15.94 kB / 0.5078 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.2129, allocations: 32 kB / 0.5079 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.2129, allocations: 19.92 kB / 0.5079 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.2129, allocations: 19.94 kB / 0.5079 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.2139, allocations: 0.8966 MB / 0.5088 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.2142, allocations: 223.2 kB / 0.509 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.2144, allocations: 28 kB / 0.509 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.215, allocations: 27.98 kB / 0.509 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.2151, allocations: 71.58 kB / 0.5091 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.2151, allocations: 36 kB / 0.5091 GB, free: 2.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.2165, allocations: 0.9906 MB / 0.5101 GB, free: 1.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2165, allocations: 0 / 0.5101 GB, free: 1.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002005/0.2186, allocations: 486 kB / 0.5106 GB, free: 1.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.2199, allocations: 1.458 MB / 0.512 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2221, allocations: 1.303 MB / 0.5133 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.2222, allocations: 4 kB / 0.5133 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2225, allocations: 234.5 kB / 0.5135 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.2237, allocations: 187.5 kB / 0.5137 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1851/0.4088, allocations: 16.34 MB / 0.5296 GB, free: 85.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.4103, allocations: 1.698 MB / 0.5313 GB, free: 84.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001715/0.412, allocations: 0.6155 MB / 0.5319 GB, free: 84.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.4127, allocations: 0.7466 MB / 0.5326 GB, free: 84.64 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4127, allocations: 0 / 0.5326 GB, free: 84.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.5226, allocations: 24.03 MB / 0.5561 GB, free: 70.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.739, allocations: 7.922 kB / 0.5561 GB, free: 70.2 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches