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.001089/0.001089, allocations: 104 kB / 16.4 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.001065/0.001066, allocations: 192.1 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.318/1.318, 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.1968/0.1968, allocations: 43.53 MB / 314.1 MB, free: 460 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.001744/0.001744, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1058, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009739/0.1156, allocations: 9.182 MB / 0.4964 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00498/0.1206, allocations: 2.701 MB / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1217, allocations: 43.94 kB / 0.4991 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.1243, allocations: 1.296 MB / 0.5003 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1258, allocations: 0.5557 MB / 0.5009 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1268, allocations: 411.1 kB / 0.5013 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.1284, allocations: 1.254 MB / 0.5025 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.13, allocations: 1.281 MB / 0.5037 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.1311, allocations: 0.607 MB / 0.5043 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.1325, allocations: 0.8409 MB / 0.5051 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.1329, allocations: 124 kB / 0.5053 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1342, allocations: 0.585 MB / 0.5058 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009622/0.1352, allocations: 0.818 MB / 0.5066 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.1365, allocations: 0.9317 MB / 0.5075 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.1397, allocations: 2.849 MB / 0.5103 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1397, allocations: 0 / 0.5103 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1398, allocations: 3.938 kB / 0.5103 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.1399, allocations: 0 / 0.5103 GB, free: 4.707 MB / 398.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.005106/0.145, allocations: 2.384 MB / 0.5127 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.145, allocations: 11.89 kB / 0.5127 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005589/0.1456, allocations: 351.9 kB / 0.513 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1469, allocations: 277.8 kB / 0.5133 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1484, allocations: 0.8848 MB / 0.5141 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.1485, allocations: 111.1 kB / 0.5142 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.1488, allocations: 143.9 kB / 0.5144 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007988/0.1568, allocations: 4.908 MB / 0.5192 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/0.1569, allocations: 15.88 kB / 0.5192 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.1571, allocations: 63.94 kB / 0.5192 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/0.1587, allocations: 1.003 MB / 0.5202 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00751/0.1663, allocations: 3.807 MB / 0.5239 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2114/0.3777, allocations: 16.29 MB / 0.5399 GB, free: 30.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.382, allocations: 1.271 MB / 0.5411 GB, free: 30.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.3828, allocations: 0.7159 MB / 0.5418 GB, free: 29.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005005/0.3878, allocations: 4.026 MB / 0.5457 GB, free: 27.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3879, allocations: 41.17 kB / 0.5458 GB, free: 27.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 3.006e-06/0.3879, allocations: 0.5938 kB / 0.5458 GB, free: 27.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006689/0.3946, allocations: 1.777 MB / 0.5475 GB, free: 26.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3947, allocations: 111.6 kB / 0.5476 GB, free: 26.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.3968, allocations: 1.608 MB / 0.5492 GB, free: 26.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.3969, allocations: 31.98 kB / 0.5492 GB, free: 26.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/0.3976, allocations: 1.411 MB / 0.5506 GB, free: 25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.3978, allocations: 181.6 kB / 0.5508 GB, free: 24.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/0.3983, allocations: 469.1 kB / 0.5512 GB, free: 24.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3984, allocations: 357.6 kB / 0.5515 GB, free: 24.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.3991, allocations: 0.5124 MB / 0.552 GB, free: 24.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4004, allocations: 2.063 MB / 0.5541 GB, free: 21.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.4027, allocations: 2.812 MB / 0.5568 GB, free: 19.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.807e-05/0.4028, allocations: 16.55 kB / 0.5568 GB, free: 19.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003842/0.4066, allocations: 2.457 MB / 0.5592 GB, free: 18.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.4067, allocations: 28.88 kB / 0.5592 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.093e-05/0.4068, allocations: 55 kB / 0.5593 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.063e-05/0.4069, allocations: 78.03 kB / 0.5594 GB, free: 18.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.4083, allocations: 0.5435 MB / 0.5599 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.135e-05/0.4084, allocations: 111.6 kB / 0.56 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.41, allocations: 338.2 kB / 0.5603 GB, free: 17.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.4102, allocations: 142.5 kB / 0.5605 GB, free: 17.84 MB / 414.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.001057/0.4112, allocations: 0.8726 MB / 0.5613 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4114, allocations: 133.2 kB / 0.5615 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.4116, allocations: 150.7 kB / 0.5616 GB, free: 17.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4117, allocations: 15.3 kB / 0.5616 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4117, allocations: 4 kB / 0.5616 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4117, allocations: 0 / 0.5616 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.4154, allocations: 3.278 MB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.4154, allocations: 12.25 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.4157, allocations: 102.9 kB / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.4157, allocations: 21.06 kB / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.4158, allocations: 23.38 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.4158, allocations: 18.97 kB / 0.565 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.4158, allocations: 19.31 kB / 0.565 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.4165, allocations: 0.8993 MB / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.4167, allocations: 229.4 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4169, allocations: 30.52 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.4173, allocations: 30.3 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4174, allocations: 70.39 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4174, allocations: 30.91 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.4184, allocations: 0.9945 MB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4184, allocations: 0 / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4203, allocations: 488.2 kB / 0.5677 GB, free: 13.37 MB / 414.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.0008722/0.4212, allocations: 1.463 MB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.423, allocations: 1.299 MB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.4231, allocations: 0 / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4233, allocations: 242.4 kB / 0.5706 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4245, allocations: 190.8 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.4414, allocations: 15.41 MB / 0.5859 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.4431, allocations: 1.709 MB / 0.5875 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001391/0.4445, allocations: 0.6167 MB / 0.5881 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/0.4454, allocations: 0.7492 MB / 0.5889 GB, free: 6.262 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4454, allocations: 0 / 0.5889 GB, free: 6.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.4937, allocations: 24.84 MB / 0.6131 GB, free: 13.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.37, allocations: 12 kB / 0.6131 GB, free: 13.4 MB / 462.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