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.001191/0.001191, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 74.72 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1675, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2647/0.4322, allocations: 45.5 MB / 0.5126 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.4536, allocations: 9.039 MB / 0.5214 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009531/0.4632, allocations: 187.3 kB / 0.5216 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006306/0.4695, allocations: 3.311 MB / 0.5248 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.4726, allocations: 0.7417 MB / 0.5256 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4742, allocations: 0.5816 MB / 0.5261 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004164/0.4784, allocations: 3.254 MB / 0.5293 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.4832, allocations: 3.894 MB / 0.5331 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.4854, allocations: 1.103 MB / 0.5342 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.4884, allocations: 1.709 MB / 0.5358 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005595/0.489, allocations: 245.5 kB / 0.5361 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.4908, allocations: 0.8866 MB / 0.5369 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.492, allocations: 1.423 MB / 0.5383 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.4936, allocations: 1.649 MB / 0.5399 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.499, allocations: 5.483 MB / 0.5453 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.499, allocations: 3.938 kB / 0.5453 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.499, allocations: 3.938 kB / 0.5453 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001503/0.4992, allocations: 0 / 0.5453 GB, free: 13.09 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.008553/0.5078, allocations: 3.727 MB / 0.5489 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5078, allocations: 12.88 kB / 0.549 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008008/0.5086, allocations: 0.538 MB / 0.5495 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.5109, allocations: 0.5779 MB / 0.55 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.5142, allocations: 1.736 MB / 0.5517 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.5144, allocations: 209.7 kB / 0.5519 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.5149, allocations: 278.5 kB / 0.5522 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.531, allocations: 7.619 MB / 0.5596 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.5311, allocations: 19.81 kB / 0.5597 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.5315, allocations: 124.7 kB / 0.5598 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001603/0.5331, allocations: 1.102 MB / 0.5609 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.5481, allocations: 6.185 MB / 0.5669 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.5844, allocations: 22.9 MB / 0.5893 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/0.5906, allocations: 1.874 MB / 0.5911 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.5918, allocations: 0.8315 MB / 0.5919 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008151/0.6, allocations: 5.864 MB / 0.5976 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.6, allocations: 43.22 kB / 0.5977 GB, free: 7.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 3.817e-06/0.6, allocations: 0 / 0.5977 GB, free: 7.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01469/0.6147, allocations: 4.454 MB / 0.602 GB, free: 2.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.6148, allocations: 64.34 kB / 0.6021 GB, free: 2.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.6178, allocations: 2.274 MB / 0.6043 GB, free: 276 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.6178, allocations: 41.7 kB / 0.6043 GB, free: 228 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.6192, allocations: 2.047 MB / 0.6063 GB, free: 14.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.6196, allocations: 373.5 kB / 0.6067 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008617/0.6204, allocations: 0.6826 MB / 0.6074 GB, free: 13.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6206, allocations: 313 kB / 0.6077 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.6219, allocations: 0.8929 MB / 0.6085 GB, free: 11.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.6247, allocations: 2.969 MB / 0.6114 GB, free: 7.941 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/0.6295, allocations: 4.213 MB / 0.6155 GB, free: 2.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.749e-05/0.6295, allocations: 20 kB / 0.6156 GB, free: 2.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006078/0.6356, allocations: 3.767 MB / 0.6192 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.6357, allocations: 36 kB / 0.6193 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-05/0.6358, allocations: 72 kB / 0.6194 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.72e-05/0.6359, allocations: 100.8 kB / 0.6194 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.6381, allocations: 0.7876 MB / 0.6202 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001261/0.6383, allocations: 143.4 kB / 0.6204 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.6405, allocations: 159.8 kB / 0.6205 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.6407, allocations: 203.9 kB / 0.6207 GB, free: 13.41 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.002353/0.6431, allocations: 1.422 MB / 0.6221 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.6434, allocations: 193.5 kB / 0.6223 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.6439, allocations: 241 kB / 0.6225 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.6439, allocations: 12 kB / 0.6225 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6439, allocations: 0 / 0.6225 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.644, allocations: 3.984 kB / 0.6225 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/0.6523, allocations: 5.345 MB / 0.6277 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.6524, allocations: 16 kB / 0.6278 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.653, allocations: 220.5 kB / 0.628 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.56e-05/0.6531, allocations: 27.98 kB / 0.628 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6531, allocations: 44 kB / 0.628 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.439e-05/0.6532, allocations: 39.86 kB / 0.6281 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/0.6532, allocations: 31.81 kB / 0.6281 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.6554, allocations: 1.722 MB / 0.6298 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.656, allocations: 294.3 kB / 0.6301 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.6562, allocations: 47.98 kB / 0.6301 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.6569, allocations: 43.98 kB / 0.6301 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.657, allocations: 139.3 kB / 0.6303 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.6571, allocations: 56 kB / 0.6303 GB, free: 2.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00233/0.6595, allocations: 1.473 MB / 0.6318 GB, free: 1.426 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6595, allocations: 0 / 0.6318 GB, free: 1.426 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0029/0.6624, allocations: 0.5624 MB / 0.6323 GB, free: 0.8633 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.002565/0.665, allocations: 2.354 MB / 0.6346 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003738/0.6687, allocations: 2.115 MB / 0.6367 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.6687, allocations: 4 kB / 0.6367 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.6695, allocations: 0.4999 MB / 0.6372 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.6715, allocations: 357.3 kB / 0.6375 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04194/0.7135, allocations: 27.97 MB / 0.6648 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.7163, allocations: 2.452 MB / 0.6672 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002559/0.7189, allocations: 0.9058 MB / 0.6681 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.7204, allocations: 1.241 MB / 0.6693 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.7205, allocations: 0 / 0.6693 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3212/1.042, allocations: 40.8 MB / 0.7092 GB, free: 192.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.042, allocations: 187.2 kB / 0.7093 GB, free: 192.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.143, allocations: 3.281 kB / 0.7094 GB, free: 192.3 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