Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002127, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 85.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2978/0.2978, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.936e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 58.84 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.6066, allocations: 98.66 MB / 0.5622 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.607, allocations: 79.45 kB / 0.5623 GB, free: 0.5391 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.145/0.752, allocations: 34.54 MB / 0.5961 GB, free: 13.69 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7521, allocations: 0 / 0.5961 GB, free: 13.69 MB / 443.1 MB Notification: Performance of Transformations before backend: time 9.013e-05/0.7522, allocations: 36 kB / 0.5961 GB, free: 13.66 MB / 443.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.007622/0.7598, allocations: 2.206 MB / 0.5982 GB, free: 11.4 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.7599, allocations: 16.02 kB / 0.5983 GB, free: 11.38 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.7629, allocations: 376.7 kB / 0.5986 GB, free: 11.01 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.7668, allocations: 1.16 MB / 0.5997 GB, free: 9.809 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.767, allocations: 60 kB / 0.5998 GB, free: 9.75 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000462/0.7674, allocations: 112 kB / 0.5999 GB, free: 9.641 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006693/0.7741, allocations: 2.75 MB / 0.6026 GB, free: 6.887 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008259/0.7824, allocations: 3.774 MB / 0.6063 GB, free: 2.859 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.7826, allocations: 11.88 kB / 0.6063 GB, free: 2.848 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.7828, allocations: 8 kB / 0.6063 GB, free: 2.84 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.7846, allocations: 0.5268 MB / 0.6068 GB, free: 2.309 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.8175, allocations: 15.62 MB / 0.6221 GB, free: 2.293 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.8196, allocations: 0.8487 MB / 0.6229 GB, free: 1.414 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.8209, allocations: 0.6559 MB / 0.6235 GB, free: 0.75 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007795/0.8287, allocations: 3.502 MB / 0.627 GB, free: 13.04 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.8288, allocations: 38.5 kB / 0.627 GB, free: 12.99 MB / 475.1 MB Notification: Performance of pre-optimization done (n=28): time 3.307e-06/0.8288, allocations: 0 / 0.627 GB, free: 12.99 MB / 475.1 MB Notification: Performance of matching and sorting (n=28): time 0.005821/0.8346, allocations: 1.069 MB / 0.628 GB, free: 11.91 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.8347, allocations: 110.8 kB / 0.6281 GB, free: 11.78 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.8373, allocations: 1.283 MB / 0.6294 GB, free: 10.49 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.8374, allocations: 29.7 kB / 0.6294 GB, free: 10.45 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.8387, allocations: 1.512 MB / 0.6309 GB, free: 8.918 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.8389, allocations: 134.6 kB / 0.631 GB, free: 8.785 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.839, allocations: 0 / 0.631 GB, free: 8.785 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.8393, allocations: 419.8 kB / 0.6314 GB, free: 8.367 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.8404, allocations: 476.7 kB / 0.6319 GB, free: 7.898 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.843, allocations: 2.076 MB / 0.6339 GB, free: 4.988 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.8451, allocations: 0.9516 MB / 0.6348 GB, free: 4.035 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/0.8452, allocations: 16 kB / 0.6349 GB, free: 4.02 MB / 475.1 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.005186/0.8504, allocations: 2.128 MB / 0.6369 GB, free: 1.887 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.8504, allocations: 35.94 kB / 0.637 GB, free: 1.852 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/0.8505, allocations: 56 kB / 0.637 GB, free: 1.797 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.8507, allocations: 88 kB / 0.6371 GB, free: 1.711 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.8537, allocations: 0.5693 MB / 0.6377 GB, free: 1.141 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/0.8539, allocations: 119.5 kB / 0.6378 GB, free: 1.023 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.8562, allocations: 288.8 kB / 0.6381 GB, free: 0.7383 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.8565, allocations: 160 kB / 0.6382 GB, free: 0.5781 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004108/0.8569, allocations: 258.7 kB / 0.6385 GB, free: 324 kB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.8572, allocations: 118.4 kB / 0.6386 GB, free: 204 kB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.8575, allocations: 139.8 kB / 0.6387 GB, free: 56 kB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.8575, allocations: 4 kB / 0.6387 GB, free: 52 kB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.8575, allocations: 0 / 0.6387 GB, free: 52 kB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8576, allocations: 4 kB / 0.6387 GB, free: 48 kB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3622/1.22, allocations: 2.519 MB / 0.6412 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.22, allocations: 9.75 kB / 0.6412 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/1.22, allocations: 72.02 kB / 0.6412 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/1.221, allocations: 12.03 kB / 0.6413 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/1.221, allocations: 10.91 kB / 0.6413 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.98e-05/1.221, allocations: 14.97 kB / 0.6413 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-05/1.221, allocations: 12.73 kB / 0.6413 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/1.222, allocations: 1.195 MB / 0.6425 GB, free: 127.6 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/1.223, allocations: 208 kB / 0.6427 GB, free: 127.5 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.223, allocations: 17 kB / 0.6427 GB, free: 127.5 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/1.224, allocations: 21.92 kB / 0.6427 GB, free: 127.5 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/1.224, allocations: 49.47 kB / 0.6427 GB, free: 127.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/1.224, allocations: 19.88 kB / 0.6428 GB, free: 127.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.00205/1.226, allocations: 0.8419 MB / 0.6436 GB, free: 127.4 MB / 475.1 MB Notification: Performance of sort global known variables: time 7.72e-07/1.226, allocations: 0 / 0.6436 GB, free: 127.4 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003217/1.229, allocations: 454.1 kB / 0.644 GB, free: 127.3 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/1.23, allocations: 124.2 kB / 0.6441 GB, free: 127.2 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/1.233, allocations: 1.13 MB / 0.6452 GB, free: 127.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.233, allocations: 0.9062 kB / 0.6452 GB, free: 127.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/1.233, allocations: 179.7 kB / 0.6454 GB, free: 127.2 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/1.234, allocations: 120.5 kB / 0.6455 GB, free: 127.2 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008922/1.243, allocations: 2.87 MB / 0.6483 GB, free: 126.3 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.247, allocations: 1.736 MB / 0.65 GB, free: 125.6 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/1.247, allocations: 108.7 kB / 0.6501 GB, free: 125.6 MB / 475.1 MB Notification: Performance of SimCode: time 1.432e-06/1.247, allocations: 0 / 0.6501 GB, free: 125.6 MB / 475.1 MB Notification: Performance of Templates: time 0.05454/1.302, allocations: 19.17 MB / 0.6688 GB, free: 124.3 MB / 475.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches