Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 76.22 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1109, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2828/0.3938, allocations: 45.5 MB / 0.5128 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.414, allocations: 8.978 MB / 0.5216 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.4258, allocations: 188.1 kB / 0.5217 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006858/0.4327, allocations: 3.19 MB / 0.5248 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.4354, allocations: 0.7257 MB / 0.5256 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4372, allocations: 0.6035 MB / 0.5261 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.4399, allocations: 1.975 MB / 0.5281 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.4443, allocations: 4.14 MB / 0.5321 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.4463, allocations: 1.272 MB / 0.5334 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.4484, allocations: 1.768 MB / 0.5351 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.449, allocations: 343.3 kB / 0.5354 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.4504, allocations: 0.9226 MB / 0.5363 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.4515, allocations: 1.523 MB / 0.5378 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.4527, allocations: 1.752 MB / 0.5395 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.4578, allocations: 5.578 MB / 0.545 GB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4578, allocations: 2.531 kB / 0.545 GB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4578, allocations: 0 / 0.545 GB, free: 13.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.458, allocations: 0 / 0.545 GB, free: 13.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.007406/0.4654, allocations: 3.728 MB / 0.5486 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4654, allocations: 9.438 kB / 0.5486 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008054/0.4662, allocations: 0.537 MB / 0.5491 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.4693, allocations: 0.5818 MB / 0.5497 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.4727, allocations: 1.731 MB / 0.5514 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.4729, allocations: 206.8 kB / 0.5516 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/0.4734, allocations: 288.5 kB / 0.5519 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.4906, allocations: 7.623 MB / 0.5593 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.4908, allocations: 15.88 kB / 0.5593 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.4922, allocations: 124.2 kB / 0.5594 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/0.4943, allocations: 1.096 MB / 0.5605 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5093, allocations: 6.19 MB / 0.5666 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/0.5431, allocations: 22.91 MB / 0.5889 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/0.5508, allocations: 1.862 MB / 0.5908 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.5521, allocations: 0.8339 MB / 0.5916 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008692/0.5608, allocations: 5.859 MB / 0.5973 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.5609, allocations: 39.22 kB / 0.5973 GB, free: 7.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 2.665e-06/0.5609, allocations: 4 kB / 0.5973 GB, free: 7.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01637/0.5773, allocations: 4.448 MB / 0.6017 GB, free: 3.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5774, allocations: 64.41 kB / 0.6017 GB, free: 3.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.5813, allocations: 2.274 MB / 0.604 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.5814, allocations: 41.7 kB / 0.604 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.583, allocations: 2.036 MB / 0.606 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.5834, allocations: 378.5 kB / 0.6063 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009427/0.5843, allocations: 0.6943 MB / 0.607 GB, free: 13.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5845, allocations: 309.1 kB / 0.6073 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.586, allocations: 0.8967 MB / 0.6082 GB, free: 12.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.5891, allocations: 2.965 MB / 0.6111 GB, free: 8.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.5944, allocations: 4.206 MB / 0.6152 GB, free: 3.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.502e-05/0.5944, allocations: 27.94 kB / 0.6152 GB, free: 3.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006271/0.6007, allocations: 3.77 MB / 0.6189 GB, free: 15.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.6008, allocations: 40.06 kB / 0.6189 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.856e-05/0.6009, allocations: 76 kB / 0.619 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.556e-05/0.601, allocations: 96 kB / 0.6191 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.6034, allocations: 0.7798 MB / 0.6199 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.6035, allocations: 147.4 kB / 0.62 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.6056, allocations: 151.9 kB / 0.6202 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.606, allocations: 212 kB / 0.6204 GB, free: 13.95 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (436): * Single equations (assignments): 436 * 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.002662/0.6086, allocations: 1.418 MB / 0.6217 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/0.6093, allocations: 197.5 kB / 0.6219 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.6101, allocations: 237 kB / 0.6222 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.6101, allocations: 8 kB / 0.6222 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.6101, allocations: 4 kB / 0.6222 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6101, allocations: 3.984 kB / 0.6222 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.6206, allocations: 5.346 MB / 0.6274 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.6207, allocations: 20 kB / 0.6274 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.6214, allocations: 215.6 kB / 0.6276 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.543e-05/0.6214, allocations: 28 kB / 0.6276 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.6215, allocations: 44 kB / 0.6277 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.167e-05/0.6216, allocations: 35.86 kB / 0.6277 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-05/0.6216, allocations: 39.75 kB / 0.6278 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.6241, allocations: 1.714 MB / 0.6294 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/0.6248, allocations: 298.3 kB / 0.6297 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/0.6253, allocations: 43.98 kB / 0.6298 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.6263, allocations: 43.98 kB / 0.6298 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.6265, allocations: 143.3 kB / 0.6299 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.6266, allocations: 56 kB / 0.63 GB, free: 3.453 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002521/0.6291, allocations: 1.469 MB / 0.6314 GB, free: 1.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6291, allocations: 0 / 0.6314 GB, free: 1.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003372/0.6325, allocations: 0.5702 MB / 0.632 GB, free: 1.398 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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 (118): * Single equations (assignments): 118 * 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.002693/0.6352, allocations: 2.355 MB / 0.6343 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.639, allocations: 2.231 MB / 0.6365 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.639, allocations: 8.25 kB / 0.6365 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.6397, allocations: 0.5039 MB / 0.637 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.6419, allocations: 367.7 kB / 0.6373 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/0.6853, allocations: 27.97 MB / 0.6646 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/0.6887, allocations: 2.46 MB / 0.667 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002464/0.6912, allocations: 0.898 MB / 0.6679 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/0.6928, allocations: 1.237 MB / 0.6691 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.6928, allocations: 4 kB / 0.6691 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/1.009, allocations: 41.48 MB / 0.7096 GB, free: 196.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/1.01, allocations: 186.2 kB / 0.7098 GB, free: 196.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/4.48, allocations: 5.219 kB / 0.7098 GB, free: 196.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches