Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 107 kB / 15.98 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002903/0.002903, allocations: 188.7 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.52 MB / 313.6 MB, free: 0.6797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 66.14 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08689, allocations: 57.79 MB / 440.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.03751/0.1244, allocations: 47.53 MB / 487.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.1423, allocations: 9.248 MB / 496.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0084/0.1507, allocations: 191.6 kB / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006364/0.1572, allocations: 3.23 MB / 0.4886 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.1599, allocations: 0.8712 MB / 0.4894 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1614, allocations: 0.5968 MB / 0.49 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1641, allocations: 2.334 MB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.1682, allocations: 4.289 MB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.17, allocations: 1.39 MB / 0.4978 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.1723, allocations: 1.916 MB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.1728, allocations: 360 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1741, allocations: 0.9091 MB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.1755, allocations: 1.691 MB / 0.5026 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.1772, allocations: 1.966 MB / 0.5045 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.1827, allocations: 6.118 MB / 0.5105 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1827, allocations: 0 / 0.5105 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1828, allocations: 0 / 0.5105 GB, free: 4.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002078/0.183, allocations: 0 / 0.5105 GB, free: 4.234 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.007447/0.1904, allocations: 4.165 MB / 0.5146 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1905, allocations: 11.94 kB / 0.5146 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006914/0.1912, allocations: 0.6281 MB / 0.5152 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.1934, allocations: 0.5849 MB / 0.5157 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.1959, allocations: 1.806 MB / 0.5175 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.1961, allocations: 238.3 kB / 0.5177 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/0.1965, allocations: 315.9 kB / 0.518 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.2085, allocations: 8.66 MB / 0.5265 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/0.2086, allocations: 19.88 kB / 0.5265 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/0.2088, allocations: 143.8 kB / 0.5267 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002239/0.2111, allocations: 1.561 MB / 0.5282 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1767/0.3877, allocations: 6.679 MB / 0.5347 GB, free: 90.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.4134, allocations: 26.39 MB / 0.5605 GB, free: 72.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.4186, allocations: 1.953 MB / 0.5624 GB, free: 71.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.4195, allocations: 0.8563 MB / 0.5632 GB, free: 70.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005645/0.4252, allocations: 6.302 MB / 0.5694 GB, free: 63.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4252, allocations: 49.27 kB / 0.5694 GB, free: 63.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/0.4252, allocations: 0 / 0.5694 GB, free: 63.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.01333/0.4386, allocations: 6.232 MB / 0.5755 GB, free: 57.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4386, allocations: 141.6 kB / 0.5756 GB, free: 56.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.4408, allocations: 2.525 MB / 0.5781 GB, free: 54.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.4409, allocations: 41.7 kB / 0.5781 GB, free: 54.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/0.4417, allocations: 2.391 MB / 0.5805 GB, free: 51.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4419, allocations: 397.5 kB / 0.5809 GB, free: 51.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.4425, allocations: 0.75 MB / 0.5816 GB, free: 50.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.639e-05/0.4425, allocations: 301.1 kB / 0.5819 GB, free: 50.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4436, allocations: 0.9638 MB / 0.5828 GB, free: 49.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.4454, allocations: 3.277 MB / 0.586 GB, free: 45.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.4485, allocations: 4.606 MB / 0.5905 GB, free: 39.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/0.4485, allocations: 27.94 kB / 0.5905 GB, free: 39.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.004412/0.4529, allocations: 4.122 MB / 0.5946 GB, free: 35.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.453, allocations: 40 kB / 0.5946 GB, free: 35.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-05/0.453, allocations: 80 kB / 0.5947 GB, free: 35.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.839e-05/0.4531, allocations: 112 kB / 0.5948 GB, free: 34.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.4552, allocations: 0.8889 MB / 0.5957 GB, free: 34.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-05/0.4553, allocations: 161.4 kB / 0.5958 GB, free: 33.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.457, allocations: 172 kB / 0.596 GB, free: 33.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.4572, allocations: 228 kB / 0.5962 GB, free: 33.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (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 (483): * Single equations (assignments): 483 * 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.001514/0.4587, allocations: 1.586 MB / 0.5977 GB, free: 31.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.459, allocations: 225 kB / 0.598 GB, free: 31.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.4604, allocations: 1.142 MB / 0.5991 GB, free: 30.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4604, allocations: 11.94 kB / 0.5991 GB, free: 30.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4604, allocations: 4 kB / 0.5991 GB, free: 30.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4604, allocations: 3.984 kB / 0.5991 GB, free: 30.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.4666, allocations: 5.981 MB / 0.6049 GB, free: 24.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4666, allocations: 19.94 kB / 0.605 GB, free: 24.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.4672, allocations: 215.7 kB / 0.6052 GB, free: 24.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.4673, allocations: 24 kB / 0.6052 GB, free: 24.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.4673, allocations: 40 kB / 0.6052 GB, free: 23.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/0.4673, allocations: 35.86 kB / 0.6053 GB, free: 23.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.4674, allocations: 29 kB / 0.6053 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4688, allocations: 1.743 MB / 0.607 GB, free: 21.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.4692, allocations: 310.1 kB / 0.6073 GB, free: 21.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4694, allocations: 43.98 kB / 0.6073 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.4701, allocations: 43.98 kB / 0.6074 GB, free: 21.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4702, allocations: 127.4 kB / 0.6075 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.4703, allocations: 55.98 kB / 0.6075 GB, free: 21.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.4719, allocations: 1.632 MB / 0.6091 GB, free: 19.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4719, allocations: 0 / 0.6091 GB, free: 19.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002557/0.4745, allocations: 0.647 MB / 0.6098 GB, free: 19.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (120): * Single equations (assignments): 120 * 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.001762/0.4763, allocations: 2.4 MB / 0.6121 GB, free: 16.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003074/0.4793, allocations: 2.465 MB / 0.6145 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.4794, allocations: 4 kB / 0.6145 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.4799, allocations: 0.5263 MB / 0.615 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.4817, allocations: 323.8 kB / 0.6153 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/0.5212, allocations: 31.34 MB / 0.6459 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002666/0.5239, allocations: 2.746 MB / 0.6486 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002388/0.5263, allocations: 0.9922 MB / 0.6496 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.5278, allocations: 1.464 MB / 0.651 GB, free: 3.816 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5278, allocations: 0 / 0.651 GB, free: 3.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07223/0.6001, allocations: 44.86 MB / 0.6948 GB, free: 6.977 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.6003, allocations: 184.8 kB / 0.695 GB, free: 6.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/3.82, allocations: 0 / 0.695 GB, free: 6.727 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches