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.001414/0.001414, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001637/0.001637, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2279/0.2279, allocations: 46.95 MB / 360.8 MB, free: 3.988 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3022, allocations: 66.08 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009758/0.312, allocations: 7.182 MB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.3178, allocations: 2.502 MB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.3186, allocations: 43.88 kB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.3213, allocations: 1.254 MB / 0.5714 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.3225, allocations: 465.7 kB / 0.5719 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.3235, allocations: 419.1 kB / 0.5723 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3249, allocations: 1.032 MB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.3262, allocations: 0.984 MB / 0.5742 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/0.327, allocations: 0.5411 MB / 0.5748 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.3283, allocations: 0.7552 MB / 0.5755 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.3285, allocations: 116 kB / 0.5756 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.3295, allocations: 0.5811 MB / 0.5762 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.3302, allocations: 0.7283 MB / 0.5769 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.3309, allocations: 0.6017 MB / 0.5775 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.3334, allocations: 2.517 MB / 0.5799 GB, free: 208 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3335, allocations: 0 / 0.5799 GB, free: 208 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3335, allocations: 0 / 0.5799 GB, free: 208 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.3335, allocations: 0 / 0.5799 GB, free: 208 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.004024/0.3375, allocations: 2.098 MB / 0.582 GB, free: 14.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3376, allocations: 12.03 kB / 0.582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003438/0.3379, allocations: 288.6 kB / 0.5823 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.3389, allocations: 287.4 kB / 0.5825 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.3405, allocations: 0.7923 MB / 0.5833 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.3406, allocations: 94.69 kB / 0.5834 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.3409, allocations: 123.9 kB / 0.5835 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007688/0.3486, allocations: 4.326 MB / 0.5878 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.3486, allocations: 19.88 kB / 0.5878 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.3488, allocations: 55.95 kB / 0.5878 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/0.3499, allocations: 0.7287 MB / 0.5885 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00733/0.3572, allocations: 3.496 MB / 0.5919 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/0.3751, allocations: 13.68 MB / 0.6053 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.3791, allocations: 1.152 MB / 0.6064 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.38, allocations: 0.5958 MB / 0.607 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00527/0.3853, allocations: 2.67 MB / 0.6096 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3853, allocations: 34.89 kB / 0.6097 GB, free: 1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.3853, allocations: 4 kB / 0.6097 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006384/0.3917, allocations: 1.783 MB / 0.6114 GB, free: 15.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3917, allocations: 59.34 kB / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.3938, allocations: 1.561 MB / 0.613 GB, free: 13.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.3939, allocations: 33.7 kB / 0.613 GB, free: 13.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/0.3948, allocations: 1.241 MB / 0.6142 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.395, allocations: 178.8 kB / 0.6144 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/0.3955, allocations: 435.5 kB / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3957, allocations: 361.9 kB / 0.6152 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.3964, allocations: 487.9 kB / 0.6156 GB, free: 10.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.3984, allocations: 1.89 MB / 0.6175 GB, free: 8.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.4014, allocations: 2.602 MB / 0.62 GB, free: 4.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/0.4015, allocations: 12 kB / 0.62 GB, free: 4.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003595/0.405, allocations: 2.263 MB / 0.6222 GB, free: 2.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.4051, allocations: 27.94 kB / 0.6223 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-05/0.4051, allocations: 52 kB / 0.6223 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.4053, allocations: 68 kB / 0.6224 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4066, allocations: 495 kB / 0.6228 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.241e-05/0.4067, allocations: 96.22 kB / 0.6229 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.408, allocations: 321.7 kB / 0.6232 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.4082, allocations: 136 kB / 0.6234 GB, free: 1.434 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.001101/0.4093, allocations: 0.7541 MB / 0.6241 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4095, allocations: 131.1 kB / 0.6242 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.4097, allocations: 144.4 kB / 0.6244 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4097, allocations: 4 kB / 0.6244 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4097, allocations: 0 / 0.6244 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4098, allocations: 4 kB / 0.6244 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.4141, allocations: 2.799 MB / 0.6271 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.4141, allocations: 15.94 kB / 0.6271 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4145, allocations: 99.83 kB / 0.6272 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.192e-05/0.4145, allocations: 16 kB / 0.6272 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.4145, allocations: 24 kB / 0.6273 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-05/0.4145, allocations: 27.86 kB / 0.6273 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.4146, allocations: 15.94 kB / 0.6273 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.4158, allocations: 0.8801 MB / 0.6282 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.4162, allocations: 151 kB / 0.6283 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4163, allocations: 23.98 kB / 0.6283 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.4167, allocations: 31.98 kB / 0.6284 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.4168, allocations: 71.62 kB / 0.6284 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.4168, allocations: 28 kB / 0.6285 GB, free: 11.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.4182, allocations: 0.9128 MB / 0.6293 GB, free: 10.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4182, allocations: 0 / 0.6293 GB, free: 10.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001816/0.42, allocations: 414.9 kB / 0.6297 GB, free: 10.49 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.001448/0.4214, allocations: 1.454 MB / 0.6312 GB, free: 8.852 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.4235, allocations: 1.166 MB / 0.6323 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.4235, allocations: 0 / 0.6323 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.4239, allocations: 238.6 kB / 0.6325 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.425, allocations: 198 kB / 0.6327 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.445, allocations: 14.08 MB / 0.6465 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4462, allocations: 0.931 MB / 0.6474 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.4476, allocations: 0.5777 MB / 0.6479 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/0.4484, allocations: 0.6125 MB / 0.6485 GB, free: 5.066 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4484, allocations: 0 / 0.6485 GB, free: 5.066 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.5057, allocations: 23.54 MB / 0.6715 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.48, allocations: 6.25 kB / 0.6715 GB, free: 13.82 MB / 0.5137 GB " [Timeout remaining time 647] (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: 15.638953383080661]