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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 210.8 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.24 MB / 331.1 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 67.91 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1125, allocations: 61.05 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01097/0.1235, allocations: 9.239 MB / 0.5259 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.1291, allocations: 2.74 MB / 0.5286 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.13, allocations: 43.88 kB / 0.5287 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.1326, allocations: 1.328 MB / 0.53 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.1339, allocations: 0.5831 MB / 0.5305 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009392/0.1349, allocations: 415.1 kB / 0.5309 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1365, allocations: 1.242 MB / 0.5321 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1378, allocations: 1.09 MB / 0.5332 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.1385, allocations: 0.615 MB / 0.5338 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.1398, allocations: 0.907 MB / 0.5347 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.14, allocations: 128 kB / 0.5348 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009816/0.1409, allocations: 0.6123 MB / 0.5354 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.1417, allocations: 0.8296 MB / 0.5362 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008961/0.1426, allocations: 0.9317 MB / 0.5371 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.192/0.3346, allocations: 2.859 MB / 0.5399 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3346, allocations: 1.094 kB / 0.5399 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3346, allocations: 0 / 0.5399 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.554e-05/0.3347, allocations: 0 / 0.5399 GB, free: 14.02 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004519/0.3392, allocations: 2.362 MB / 0.5422 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3392, allocations: 11.5 kB / 0.5422 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.382e-05/0.3393, allocations: 48.55 kB / 0.5423 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/0.3397, allocations: 347 kB / 0.5426 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.3409, allocations: 287.6 kB / 0.5429 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.3422, allocations: 0.8338 MB / 0.5437 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.3423, allocations: 111.4 kB / 0.5438 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.3425, allocations: 149.8 kB / 0.544 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007708/0.3502, allocations: 4.909 MB / 0.5488 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.3503, allocations: 10.19 kB / 0.5488 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.3504, allocations: 71.3 kB / 0.5488 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001762/0.3522, allocations: 1.002 MB / 0.5498 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007663/0.3599, allocations: 3.805 MB / 0.5535 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.3766, allocations: 16.24 MB / 0.5694 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.3806, allocations: 1.205 MB / 0.5706 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.3813, allocations: 0.6077 MB / 0.5712 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00496/0.3862, allocations: 3.125 MB / 0.5742 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3863, allocations: 49.09 kB / 0.5743 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.285e-06/0.3863, allocations: 0 / 0.5743 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006132/0.3924, allocations: 1.779 MB / 0.576 GB, free: 14.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.3925, allocations: 110.7 kB / 0.5761 GB, free: 14.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.3946, allocations: 1.612 MB / 0.5777 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3946, allocations: 34.41 kB / 0.5777 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3957, allocations: 1.462 MB / 0.5791 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.3959, allocations: 183 kB / 0.5793 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.3964, allocations: 477 kB / 0.5798 GB, free: 11.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3966, allocations: 357.2 kB / 0.5801 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.3973, allocations: 0.5157 MB / 0.5806 GB, free: 10.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.3993, allocations: 2.06 MB / 0.5826 GB, free: 8.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.4023, allocations: 2.814 MB / 0.5854 GB, free: 5.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.4024, allocations: 16.5 kB / 0.5854 GB, free: 5.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003342/0.4057, allocations: 2.467 MB / 0.5878 GB, free: 4.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.4057, allocations: 34.38 kB / 0.5878 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/0.4058, allocations: 59.03 kB / 0.5879 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.484e-05/0.4058, allocations: 70.53 kB / 0.588 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4072, allocations: 0.5514 MB / 0.5885 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-05/0.4073, allocations: 104.3 kB / 0.5886 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4088, allocations: 349.4 kB / 0.5889 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4089, allocations: 143.4 kB / 0.5891 GB, free: 4.66 MB / 430.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.001072/0.41, allocations: 0.8709 MB / 0.5899 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.4102, allocations: 142.4 kB / 0.59 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.4104, allocations: 157.8 kB / 0.5902 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4104, allocations: 5.062 kB / 0.5902 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4104, allocations: 0 / 0.5902 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4104, allocations: 0 / 0.5902 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/0.4151, allocations: 3.264 MB / 0.5934 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.4152, allocations: 12 kB / 0.5934 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.4155, allocations: 91.84 kB / 0.5935 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.4155, allocations: 19.98 kB / 0.5935 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4155, allocations: 26.31 kB / 0.5935 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-05/0.4156, allocations: 24.5 kB / 0.5936 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.4156, allocations: 19.94 kB / 0.5936 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4166, allocations: 0.9052 MB / 0.5945 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.4169, allocations: 154.9 kB / 0.5946 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.417, allocations: 27.98 kB / 0.5946 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.4175, allocations: 20 kB / 0.5947 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.4176, allocations: 83.55 kB / 0.5947 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4176, allocations: 28 kB / 0.5948 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.4189, allocations: 0.9906 MB / 0.5957 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4189, allocations: 4 kB / 0.5957 GB, free: 14.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001826/0.4208, allocations: 493.2 kB / 0.5962 GB, free: 13.63 MB / 446.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.001394/0.4222, allocations: 1.47 MB / 0.5976 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.4241, allocations: 1.258 MB / 0.5989 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4241, allocations: 3.938 kB / 0.5989 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.4244, allocations: 238.5 kB / 0.5991 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.4254, allocations: 174.4 kB / 0.5993 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.4459, allocations: 15.49 MB / 0.6144 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.4477, allocations: 1.708 MB / 0.6161 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001511/0.4492, allocations: 0.6223 MB / 0.6167 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/0.4501, allocations: 0.7453 MB / 0.6174 GB, free: 5.59 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4501, allocations: 0 / 0.6174 GB, free: 5.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.5063, allocations: 26.6 MB / 0.6434 GB, free: 11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.65, allocations: 8.016 kB / 0.6434 GB, free: 10.99 MB / 494.1 MB " [Timeout remaining time 644] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.119360667013098]