Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 207.5 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.92 MB / 361.6 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 0.497 GB, free: 8.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.385, allocations: 66.08 MB / 0.5615 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00701/0.392, allocations: 8.169 MB / 0.5695 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3967, allocations: 2.667 MB / 0.5721 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3979, allocations: 43.34 kB / 0.5721 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.4002, allocations: 1.3 MB / 0.5734 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.4013, allocations: 479.6 kB / 0.5738 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4023, allocations: 408.2 kB / 0.5742 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.4039, allocations: 1.037 MB / 0.5753 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.4051, allocations: 0.9929 MB / 0.5762 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008007/0.4059, allocations: 0.5341 MB / 0.5767 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.4072, allocations: 0.8194 MB / 0.5775 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.4074, allocations: 115.6 kB / 0.5777 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.4085, allocations: 0.6116 MB / 0.5782 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007308/0.4092, allocations: 0.7296 MB / 0.579 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.4099, allocations: 0.7946 MB / 0.5797 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.4135, allocations: 2.5 MB / 0.5822 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4135, allocations: 5.5 kB / 0.5822 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4135, allocations: 0 / 0.5822 GB, free: 21.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.702e-05/0.4136, allocations: 0 / 0.5822 GB, free: 21.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.006483/0.4201, allocations: 2.092 MB / 0.5842 GB, free: 20.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4202, allocations: 10.16 kB / 0.5842 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.528e-05/0.4202, allocations: 46.84 kB / 0.5843 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005091/0.4207, allocations: 291 kB / 0.5846 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.4219, allocations: 286.8 kB / 0.5848 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.4236, allocations: 0.7852 MB / 0.5856 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.4237, allocations: 93.81 kB / 0.5857 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.4239, allocations: 123.8 kB / 0.5858 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009566/0.4335, allocations: 4.28 MB / 0.59 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/0.4335, allocations: 11.94 kB / 0.59 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.4337, allocations: 61.09 kB / 0.5901 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.435, allocations: 0.7255 MB / 0.5908 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009366/0.4444, allocations: 3.499 MB / 0.5942 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.4629, allocations: 14.2 MB / 0.608 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.4668, allocations: 1.149 MB / 0.6092 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.4674, allocations: 0.5958 MB / 0.6097 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.4716, allocations: 2.775 MB / 0.6125 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4717, allocations: 42.83 kB / 0.6125 GB, free: 1.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.464e-06/0.4717, allocations: 0 / 0.6125 GB, free: 1.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005804/0.4775, allocations: 1.764 MB / 0.6142 GB, free: 15.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.4775, allocations: 63.34 kB / 0.6143 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.4801, allocations: 1.484 MB / 0.6157 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.4802, allocations: 29.7 kB / 0.6158 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.4815, allocations: 1.241 MB / 0.617 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.4819, allocations: 178.8 kB / 0.6171 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007064/0.4826, allocations: 439.4 kB / 0.6176 GB, free: 12.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.4828, allocations: 353.9 kB / 0.6179 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/0.4836, allocations: 483.9 kB / 0.6184 GB, free: 11.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.4857, allocations: 1.901 MB / 0.6202 GB, free: 8.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.4891, allocations: 2.594 MB / 0.6227 GB, free: 5.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.4891, allocations: 16 kB / 0.6228 GB, free: 5.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003778/0.4929, allocations: 2.264 MB / 0.625 GB, free: 3.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.4929, allocations: 36 kB / 0.625 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-05/0.493, allocations: 52 kB / 0.6251 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.676e-05/0.4931, allocations: 64 kB / 0.6251 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4944, allocations: 491 kB / 0.6256 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/0.4945, allocations: 107.6 kB / 0.6257 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.4961, allocations: 309.7 kB / 0.626 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.4962, allocations: 136 kB / 0.6261 GB, free: 2.168 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (269): * Single equations (assignments): 269 * 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.001404/0.4977, allocations: 0.7697 MB / 0.6269 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.4979, allocations: 131.1 kB / 0.627 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.4981, allocations: 136.4 kB / 0.6271 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4981, allocations: 4 kB / 0.6271 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4981, allocations: 4 kB / 0.6271 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4981, allocations: 3.984 kB / 0.6271 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.5027, allocations: 2.865 MB / 0.6299 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.5027, allocations: 12 kB / 0.6299 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.503, allocations: 99.83 kB / 0.63 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/0.503, allocations: 16 kB / 0.6301 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.503, allocations: 20.66 kB / 0.6301 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/0.5031, allocations: 23.88 kB / 0.6301 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-05/0.5031, allocations: 19.94 kB / 0.6301 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.5042, allocations: 0.8797 MB / 0.631 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.5044, allocations: 147 kB / 0.6311 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5046, allocations: 27.98 kB / 0.6311 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.505, allocations: 24 kB / 0.6312 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.5051, allocations: 75.61 kB / 0.6312 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.5051, allocations: 28 kB / 0.6313 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.5065, allocations: 0.9049 MB / 0.6321 GB, free: 11.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5065, allocations: 0 / 0.6321 GB, free: 11.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001922/0.5084, allocations: 411 kB / 0.6325 GB, free: 11.17 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.001687/0.5101, allocations: 1.454 MB / 0.634 GB, free: 9.531 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.5123, allocations: 1.172 MB / 0.6351 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.5123, allocations: 2 kB / 0.6351 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.5127, allocations: 242.4 kB / 0.6353 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5139, allocations: 206 kB / 0.6355 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.5362, allocations: 14.06 MB / 0.6493 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.5378, allocations: 1.532 MB / 0.6508 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.5393, allocations: 0.5738 MB / 0.6513 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/0.5402, allocations: 0.6203 MB / 0.6519 GB, free: 5.152 MB / 494.1 MB Notification: Performance of SimCode: time 2.204e-06/0.5402, allocations: 0 / 0.6519 GB, free: 5.152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/0.6032, allocations: 24.79 MB / 0.6761 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.7, allocations: 8.062 kB / 0.6761 GB, free: 12.53 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 18.392389974964317]