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.00127/0.00127, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001408/0.001408, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.446/1.446, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2194/0.2194, allocations: 46.93 MB / 361.6 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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.002275/0.002275, allocations: 79.88 kB / 0.4969 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2851, allocations: 66.08 MB / 0.5614 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009269/0.2944, allocations: 7.121 MB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005102/0.2995, allocations: 2.494 MB / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.3003, allocations: 43.88 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.303, allocations: 1.254 MB / 0.5721 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.3041, allocations: 473.7 kB / 0.5726 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.305, allocations: 411.1 kB / 0.5729 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.3063, allocations: 1.04 MB / 0.574 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3075, allocations: 0.9918 MB / 0.5749 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.3082, allocations: 0.5372 MB / 0.5755 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.3094, allocations: 0.8138 MB / 0.5763 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.3097, allocations: 116 kB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/0.3106, allocations: 0.5849 MB / 0.5769 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007499/0.3114, allocations: 0.7244 MB / 0.5776 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.3121, allocations: 0.6056 MB / 0.5782 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.3151, allocations: 2.513 MB / 0.5807 GB, free: 228 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.3151, allocations: 8 kB / 0.5807 GB, free: 220 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.3151, allocations: 0 / 0.5807 GB, free: 220 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.3152, allocations: 0 / 0.5807 GB, free: 220 kB / 414.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.004672/0.3199, allocations: 2.094 MB / 0.5827 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3199, allocations: 8.031 kB / 0.5827 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.4e-05/0.32, allocations: 46.56 kB / 0.5828 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003789/0.3203, allocations: 288.6 kB / 0.5831 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.3214, allocations: 291.4 kB / 0.5833 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3229, allocations: 0.7962 MB / 0.5841 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.3229, allocations: 90.45 kB / 0.5842 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.3232, allocations: 119.9 kB / 0.5843 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.3309, allocations: 4.33 MB / 0.5885 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.331, allocations: 11.88 kB / 0.5886 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.3311, allocations: 59.94 kB / 0.5886 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/0.3322, allocations: 0.7287 MB / 0.5893 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007564/0.3397, allocations: 3.496 MB / 0.5927 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.3577, allocations: 13.69 MB / 0.6061 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.3618, allocations: 1.144 MB / 0.6072 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.3627, allocations: 0.588 MB / 0.6078 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00479/0.3674, allocations: 2.678 MB / 0.6104 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3675, allocations: 42.83 kB / 0.6105 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.448e-06/0.3675, allocations: 3.984 kB / 0.6105 GB, free: 0.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006434/0.3739, allocations: 1.78 MB / 0.6122 GB, free: 15.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.374, allocations: 59.34 kB / 0.6123 GB, free: 15.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.376, allocations: 1.48 MB / 0.6137 GB, free: 13.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.376, allocations: 29.7 kB / 0.6137 GB, free: 13.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009515/0.377, allocations: 1.238 MB / 0.6149 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.3771, allocations: 182.7 kB / 0.6151 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005156/0.3776, allocations: 435.5 kB / 0.6155 GB, free: 11.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3778, allocations: 353.9 kB / 0.6159 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.3786, allocations: 491.9 kB / 0.6163 GB, free: 10.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.3805, allocations: 1.897 MB / 0.6182 GB, free: 8.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.3835, allocations: 2.594 MB / 0.6207 GB, free: 4.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.3835, allocations: 16 kB / 0.6207 GB, free: 4.926 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003817/0.3873, allocations: 2.263 MB / 0.623 GB, free: 2.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.3874, allocations: 34.12 kB / 0.623 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.917e-05/0.3874, allocations: 52 kB / 0.623 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.437e-05/0.3875, allocations: 64 kB / 0.6231 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3889, allocations: 491 kB / 0.6236 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.019e-05/0.389, allocations: 103.6 kB / 0.6237 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.3904, allocations: 317.7 kB / 0.624 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.3906, allocations: 128.3 kB / 0.6241 GB, free: 1.492 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.001155/0.3918, allocations: 0.7669 MB / 0.6248 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.392, allocations: 131.1 kB / 0.625 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3923, allocations: 136.4 kB / 0.6251 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3923, allocations: 11.94 kB / 0.6251 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.3923, allocations: 4 kB / 0.6251 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3923, allocations: 3.984 kB / 0.6251 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.3968, allocations: 2.807 MB / 0.6279 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.3968, allocations: 12 kB / 0.6279 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.3972, allocations: 95.84 kB / 0.628 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.3972, allocations: 19.94 kB / 0.628 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.3972, allocations: 23.98 kB / 0.628 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.3972, allocations: 19.94 kB / 0.628 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.63e-05/0.3973, allocations: 15.94 kB / 0.628 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.3984, allocations: 0.8838 MB / 0.6289 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.3988, allocations: 143 kB / 0.629 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.3989, allocations: 20 kB / 0.629 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.3993, allocations: 27.98 kB / 0.6291 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3994, allocations: 75.56 kB / 0.6291 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.3995, allocations: 32 kB / 0.6292 GB, free: 11.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.4009, allocations: 0.9128 MB / 0.6301 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4009, allocations: 0 / 0.6301 GB, free: 10.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00203/0.4029, allocations: 406.9 kB / 0.6305 GB, free: 10.55 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.001573/0.4045, allocations: 1.454 MB / 0.6319 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.4066, allocations: 1.166 MB / 0.633 GB, free: 7.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.4067, allocations: 4 kB / 0.633 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.407, allocations: 234.5 kB / 0.6332 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4082, allocations: 214.7 kB / 0.6334 GB, free: 7.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/0.4281, allocations: 14.06 MB / 0.6472 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.4294, allocations: 0.9388 MB / 0.6481 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.4307, allocations: 0.5776 MB / 0.6487 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/0.4315, allocations: 0.6125 MB / 0.6493 GB, free: 5.121 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4315, allocations: 0 / 0.6493 GB, free: 5.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.4862, allocations: 24.08 MB / 0.6728 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.33, allocations: 13.64 kB / 0.6728 GB, free: 13.34 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: 17.760455186013132]