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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 81.86 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 62.43 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008401/0.1102, allocations: 8.119 MB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.1151, allocations: 2.634 MB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.1161, allocations: 35.94 kB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.1186, allocations: 1.297 MB / 492.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1198, allocations: 449.7 kB / 492.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.1207, allocations: 403.1 kB / 493 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.122, allocations: 1.04 MB / 494.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.1236, allocations: 1.191 MB / 495.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008805/0.1245, allocations: 0.5294 MB / 495.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1258, allocations: 0.767 MB / 496.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.1261, allocations: 116 kB / 496.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.127, allocations: 0.5811 MB / 497.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.1278, allocations: 0.713 MB / 498 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009321/0.1287, allocations: 0.792 MB / 498.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.131, allocations: 2.418 MB / 0.4894 GB, free: 16 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.131, allocations: 4 kB / 0.4894 GB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.131, allocations: 0 / 0.4894 GB, free: 12 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.89e-05/0.1311, allocations: 0 / 0.4894 GB, free: 12 kB / 366.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.00457/0.1357, allocations: 2.129 MB / 0.4915 GB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1357, allocations: 8.031 kB / 0.4915 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000407/0.1361, allocations: 288.6 kB / 0.4918 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1372, allocations: 282.2 kB / 0.4921 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1385, allocations: 0.838 MB / 0.4929 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.1386, allocations: 90.7 kB / 0.493 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.1388, allocations: 127.9 kB / 0.4931 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006797/0.1456, allocations: 4.284 MB / 0.4973 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1457, allocations: 7.938 kB / 0.4973 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.1458, allocations: 55.94 kB / 0.4973 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009857/0.1468, allocations: 0.7248 MB / 0.4981 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/0.1538, allocations: 3.512 MB / 0.5015 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2127/0.3665, allocations: 14.29 MB / 0.5154 GB, free: 32.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.3704, allocations: 1.215 MB / 0.5166 GB, free: 32.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.3712, allocations: 0.7014 MB / 0.5173 GB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004388/0.3756, allocations: 3.682 MB / 0.5209 GB, free: 29.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3757, allocations: 44.83 kB / 0.5209 GB, free: 29.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.3757, allocations: 0 / 0.5209 GB, free: 29.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.006111/0.3818, allocations: 1.764 MB / 0.5227 GB, free: 29.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3818, allocations: 59.67 kB / 0.5227 GB, free: 29.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.3836, allocations: 1.483 MB / 0.5242 GB, free: 28.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3837, allocations: 32.48 kB / 0.5242 GB, free: 28.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.3842, allocations: 1.189 MB / 0.5254 GB, free: 27.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3843, allocations: 179.7 kB / 0.5255 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/0.3847, allocations: 433.4 kB / 0.526 GB, free: 27.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.3848, allocations: 352.2 kB / 0.5263 GB, free: 26.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.3854, allocations: 493.7 kB / 0.5268 GB, free: 26.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.3866, allocations: 1.882 MB / 0.5286 GB, free: 24.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.3885, allocations: 2.608 MB / 0.5311 GB, free: 21.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.558e-05/0.3885, allocations: 14.5 kB / 0.5312 GB, free: 21.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002753/0.3913, allocations: 2.265 MB / 0.5334 GB, free: 20.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.3913, allocations: 29.91 kB / 0.5334 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.3914, allocations: 51.22 kB / 0.5334 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-05/0.3914, allocations: 66.56 kB / 0.5335 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3925, allocations: 492.8 kB / 0.534 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.167e-05/0.3926, allocations: 107 kB / 0.5341 GB, free: 20.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3937, allocations: 303.1 kB / 0.5344 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.3938, allocations: 131.8 kB / 0.5345 GB, free: 20.37 MB / 382.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.0008259/0.3947, allocations: 0.762 MB / 0.5352 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3948, allocations: 122.9 kB / 0.5354 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.395, allocations: 148.5 kB / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.395, allocations: 3.812 kB / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.395, allocations: 0 / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.395, allocations: 3.984 kB / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.398, allocations: 2.89 MB / 0.5383 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.398, allocations: 12 kB / 0.5383 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3983, allocations: 99.83 kB / 0.5384 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.3983, allocations: 16 kB / 0.5385 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3983, allocations: 20 kB / 0.5385 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.3983, allocations: 23.92 kB / 0.5385 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3984, allocations: 20.75 kB / 0.5385 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.3989, allocations: 0.879 MB / 0.5394 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3991, allocations: 215.4 kB / 0.5396 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3992, allocations: 27.92 kB / 0.5396 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3996, allocations: 27.98 kB / 0.5396 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3997, allocations: 75.64 kB / 0.5397 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3997, allocations: 28 kB / 0.5397 GB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008222/0.4005, allocations: 0.905 MB / 0.5406 GB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4006, allocations: 0 / 0.5406 GB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001421/0.402, allocations: 406.6 kB / 0.541 GB, free: 14.28 MB / 382.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.0007646/0.4027, allocations: 1.44 MB / 0.5424 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.404, allocations: 1.214 MB / 0.5436 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.404, allocations: 0 / 0.5436 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.4043, allocations: 238.6 kB / 0.5438 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.4052, allocations: 210.8 kB / 0.544 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.4179, allocations: 14.79 MB / 0.5585 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.4192, allocations: 1.528 MB / 0.56 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001315/0.4205, allocations: 0.5773 MB / 0.5605 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.4211, allocations: 0.6125 MB / 0.5611 GB, free: 7.211 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4211, allocations: 0 / 0.5611 GB, free: 7.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.156/1.577, allocations: 22.4 MB / 0.583 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.47, allocations: 10.48 kB / 0.583 GB, free: 0.9219 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches