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.001617/0.001617, allocations: 100.6 kB / 16.27 MB, free: 5.965 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.001872/0.001872, allocations: 191.8 kB / 17.2 MB, free: 5.598 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.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.216/0.216, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001429/0.00143, allocations: 64.98 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1262, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008302/0.1345, allocations: 9.171 MB / 449.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.1402, allocations: 2.701 MB / 452.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.1415, allocations: 36 kB / 452.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.1442, allocations: 1.308 MB / 453.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1458, allocations: 0.5441 MB / 454.4 MB, free: 9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1469, allocations: 419 kB / 454.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.1487, allocations: 1.25 MB / 456 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.1505, allocations: 1.277 MB / 457.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1515, allocations: 0.6033 MB / 457.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.1527, allocations: 0.8446 MB / 458.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.153, allocations: 128 kB / 458.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009072/0.1539, allocations: 0.585 MB / 459.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006856/0.1546, allocations: 0.8064 MB / 460.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.1556, allocations: 0.9356 MB / 461.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.1586, allocations: 2.745 MB / 464 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.1586, allocations: 0 / 464 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1586, allocations: 4 kB / 464 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.1587, allocations: 4 kB / 464 MB, free: 15.36 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.004529/0.1632, allocations: 2.384 MB / 466.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1633, allocations: 11.89 kB / 466.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004059/0.1637, allocations: 343.9 kB / 466.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1648, allocations: 277.8 kB / 467 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.1662, allocations: 0.8848 MB / 467.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.1662, allocations: 103.1 kB / 468 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.1665, allocations: 151.8 kB / 468.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00882/0.1753, allocations: 4.916 MB / 473 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.1754, allocations: 15.88 kB / 473 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1756, allocations: 59.94 kB / 473.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.1773, allocations: 1.003 MB / 474.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008449/0.1857, allocations: 3.812 MB / 477.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.2061, allocations: 16.4 MB / 494.3 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.2103, allocations: 1.278 MB / 495.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008769/0.2112, allocations: 0.7106 MB / 496.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005222/0.2164, allocations: 4.023 MB / 0.4886 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2165, allocations: 46.44 kB / 0.4886 GB, free: 9.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.2165, allocations: 0 / 0.4886 GB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006146/0.2227, allocations: 1.783 MB / 0.4904 GB, free: 8.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.2227, allocations: 111.1 kB / 0.4905 GB, free: 7.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.2252, allocations: 1.604 MB / 0.4921 GB, free: 6.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.2253, allocations: 33.7 kB / 0.4921 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.2265, allocations: 1.402 MB / 0.4935 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.2268, allocations: 182 kB / 0.4936 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/0.2273, allocations: 459.7 kB / 0.4941 GB, free: 4.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2275, allocations: 361.9 kB / 0.4944 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.2282, allocations: 0.512 MB / 0.4949 GB, free: 3.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.2298, allocations: 2.066 MB / 0.4969 GB, free: 472 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.2326, allocations: 2.819 MB / 0.4997 GB, free: 12.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.2326, allocations: 16 kB / 0.4997 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00355/0.2361, allocations: 2.461 MB / 0.5021 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.2362, allocations: 28 kB / 0.5021 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-05/0.2363, allocations: 56 kB / 0.5022 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.217e-05/0.2363, allocations: 72 kB / 0.5023 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.2377, allocations: 0.538 MB / 0.5028 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.02e-05/0.2378, allocations: 112 kB / 0.5029 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.2394, allocations: 340.4 kB / 0.5032 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.2396, allocations: 148 kB / 0.5034 GB, free: 9.098 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.001299/0.2409, allocations: 0.8644 MB / 0.5042 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.2411, allocations: 138.2 kB / 0.5043 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2414, allocations: 153.6 kB / 0.5045 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2414, allocations: 11.94 kB / 0.5045 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.2414, allocations: 4 kB / 0.5045 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.2414, allocations: 3.984 kB / 0.5045 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.2457, allocations: 3.283 MB / 0.5077 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.2457, allocations: 12 kB / 0.5077 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.246, allocations: 103.8 kB / 0.5078 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.246, allocations: 19.94 kB / 0.5078 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.2461, allocations: 24 kB / 0.5079 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.533e-05/0.2461, allocations: 19.94 kB / 0.5079 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/0.2461, allocations: 15.94 kB / 0.5079 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.2471, allocations: 0.8969 MB / 0.5088 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.2474, allocations: 223.3 kB / 0.509 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2475, allocations: 27.98 kB / 0.509 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.248, allocations: 35.97 kB / 0.509 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.2481, allocations: 75.58 kB / 0.5091 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.2481, allocations: 28 kB / 0.5091 GB, free: 2.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.2493, allocations: 0.9867 MB / 0.5101 GB, free: 1.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2493, allocations: 0 / 0.5101 GB, free: 1.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001878/0.2512, allocations: 486 kB / 0.5106 GB, free: 1.27 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.001335/0.2526, allocations: 1.462 MB / 0.512 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.2546, allocations: 1.303 MB / 0.5133 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.2547, allocations: 0.8125 kB / 0.5133 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.255, allocations: 238.6 kB / 0.5135 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/0.256, allocations: 189 kB / 0.5137 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2286/0.4845, allocations: 16.32 MB / 0.5296 GB, free: 85.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.4863, allocations: 1.703 MB / 0.5313 GB, free: 84.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001673/0.488, allocations: 0.6164 MB / 0.5319 GB, free: 84.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.4888, allocations: 0.7451 MB / 0.5326 GB, free: 84.89 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4888, allocations: 0 / 0.5326 GB, free: 84.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.5373, allocations: 24.04 MB / 0.5561 GB, free: 70.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.933, allocations: 8.047 kB / 0.5561 GB, free: 70.46 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_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_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.csv","/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