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.001428/0.001428, allocations: 114 kB / 20.44 MB, free: 1.469 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.001516/0.001516, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2293/0.2293, allocations: 46.93 MB / 360.8 MB, free: 4.207 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.002341/0.002341, allocations: 79.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3132, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01009/0.3233, allocations: 8.162 MB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.3286, allocations: 2.669 MB / 0.5713 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.3294, allocations: 39.88 kB / 0.5714 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.3322, allocations: 1.312 MB / 0.5726 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.3334, allocations: 477.7 kB / 0.5731 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.3343, allocations: 415.1 kB / 0.5735 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3356, allocations: 1.032 MB / 0.5745 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.3368, allocations: 1.003 MB / 0.5755 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.3375, allocations: 0.5294 MB / 0.576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.3387, allocations: 0.8176 MB / 0.5768 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.3389, allocations: 116 kB / 0.5769 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000958/0.3399, allocations: 0.6084 MB / 0.5775 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007259/0.3406, allocations: 0.7284 MB / 0.5782 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008279/0.3414, allocations: 0.7958 MB / 0.579 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.3443, allocations: 2.498 MB / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3443, allocations: 0 / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3443, allocations: 0 / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.822e-05/0.3443, allocations: 0 / 0.5814 GB, free: 15.02 MB / 430.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.00468/0.349, allocations: 2.094 MB / 0.5835 GB, free: 12.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.349, allocations: 15.97 kB / 0.5835 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004123/0.3494, allocations: 296.5 kB / 0.5838 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3505, allocations: 287.4 kB / 0.584 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3521, allocations: 0.7846 MB / 0.5848 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/0.3522, allocations: 86.69 kB / 0.5849 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.3525, allocations: 123.9 kB / 0.585 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008161/0.3606, allocations: 4.284 MB / 0.5892 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.3607, allocations: 15.88 kB / 0.5892 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.3608, allocations: 59.95 kB / 0.5893 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.3619, allocations: 0.721 MB / 0.59 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007761/0.3697, allocations: 3.5 MB / 0.5934 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.3883, allocations: 14.19 MB / 0.6072 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.3923, allocations: 1.149 MB / 0.6084 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000874/0.3932, allocations: 0.588 MB / 0.6089 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/0.3986, allocations: 2.783 MB / 0.6117 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3986, allocations: 46.88 kB / 0.6117 GB, free: 15.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.3986, allocations: 0 / 0.6117 GB, free: 15.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006295/0.4049, allocations: 1.768 MB / 0.6134 GB, free: 13.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.405, allocations: 63.28 kB / 0.6135 GB, free: 13.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.4071, allocations: 1.476 MB / 0.6149 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.4071, allocations: 33.7 kB / 0.615 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009479/0.4081, allocations: 1.249 MB / 0.6162 GB, free: 10.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.4082, allocations: 178.8 kB / 0.6163 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.4088, allocations: 435.5 kB / 0.6168 GB, free: 10 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4089, allocations: 353.9 kB / 0.6171 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.4097, allocations: 483.9 kB / 0.6176 GB, free: 9.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.4117, allocations: 1.897 MB / 0.6194 GB, free: 6.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.4148, allocations: 2.598 MB / 0.622 GB, free: 3.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/0.4149, allocations: 16 kB / 0.622 GB, free: 3.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003772/0.4186, allocations: 2.263 MB / 0.6242 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.4187, allocations: 35.92 kB / 0.6242 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/0.4187, allocations: 52 kB / 0.6243 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.391e-05/0.4188, allocations: 64.72 kB / 0.6243 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.4202, allocations: 491 kB / 0.6248 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.433e-05/0.4203, allocations: 103.6 kB / 0.6249 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4217, allocations: 309.7 kB / 0.6252 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.4218, allocations: 132 kB / 0.6253 GB, free: 15.79 MB / 478.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.001067/0.4229, allocations: 0.7658 MB / 0.6261 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.423, allocations: 127.1 kB / 0.6262 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4233, allocations: 144.4 kB / 0.6263 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4233, allocations: 4 kB / 0.6263 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4233, allocations: 3.938 kB / 0.6263 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4233, allocations: 3.984 kB / 0.6263 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.4276, allocations: 2.858 MB / 0.6291 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.4276, allocations: 15.94 kB / 0.6291 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.4279, allocations: 99.77 kB / 0.6292 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.428, allocations: 16 kB / 0.6292 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.428, allocations: 28 kB / 0.6293 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-05/0.428, allocations: 19.94 kB / 0.6293 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/0.428, allocations: 19.88 kB / 0.6293 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4291, allocations: 0.876 MB / 0.6302 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.4294, allocations: 143 kB / 0.6303 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4295, allocations: 27.94 kB / 0.6303 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.4299, allocations: 27.98 kB / 0.6304 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.43, allocations: 75.61 kB / 0.6304 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.4301, allocations: 35.94 kB / 0.6305 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.4313, allocations: 0.9011 MB / 0.6313 GB, free: 9.203 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4313, allocations: 0 / 0.6313 GB, free: 9.203 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001703/0.433, allocations: 407 kB / 0.6317 GB, free: 8.805 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.001394/0.4344, allocations: 1.461 MB / 0.6332 GB, free: 7.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.4362, allocations: 1.174 MB / 0.6343 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4362, allocations: 3.938 kB / 0.6343 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.4365, allocations: 234.6 kB / 0.6345 GB, free: 5.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4376, allocations: 202.8 kB / 0.6347 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.4571, allocations: 14.07 MB / 0.6485 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.4588, allocations: 1.528 MB / 0.65 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001417/0.4603, allocations: 0.5777 MB / 0.6505 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.4611, allocations: 0.6125 MB / 0.6511 GB, free: 2.777 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4611, allocations: 0 / 0.6511 GB, free: 2.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0605/0.5217, allocations: 24.77 MB / 0.6753 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.89, allocations: 10.25 kB / 0.6753 GB, free: 10.16 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.089198269182816]