Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.0008931/0.0008986, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 180.7 kB / 16.92 MB, free: 6.922 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.39/1.39, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3149/0.3149, allocations: 43.58 MB / 315 MB, free: 9.078 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.0005289/0.000529, allocations: 20.5 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1188, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2283/0.3471, allocations: 46.29 MB / 489.8 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3639, allocations: 9.427 MB / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007113/0.3711, allocations: 189.6 kB / 499.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3721, allocations: 328.1 kB / 499.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.374, allocations: 0.8857 MB / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3754, allocations: 0.7444 MB / 0.4897 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003014/0.3784, allocations: 3.84 MB / 0.4934 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/0.3854, allocations: 5.98 MB / 0.4992 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3869, allocations: 0.9325 MB / 0.5002 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.3888, allocations: 1.484 MB / 0.5016 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.3892, allocations: 130.6 kB / 0.5017 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.3909, allocations: 0.8503 MB / 0.5026 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.3923, allocations: 1.404 MB / 0.5039 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3937, allocations: 1.661 MB / 0.5055 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007317/0.4011, allocations: 5.953 MB / 0.5114 GB, free: 5.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4011, allocations: 4 kB / 0.5114 GB, free: 5.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4011, allocations: 1.062 kB / 0.5114 GB, free: 5.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.4013, allocations: 0 / 0.5114 GB, free: 5.598 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.008302/0.4096, allocations: 3.547 MB / 0.5148 GB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.4097, allocations: 9.375 kB / 0.5148 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001875/0.4116, allocations: 0.6289 MB / 0.5155 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.4149, allocations: 0.5979 MB / 0.516 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/0.4186, allocations: 1.867 MB / 0.5179 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.4188, allocations: 236 kB / 0.5181 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.4194, allocations: 310.8 kB / 0.5184 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4357, allocations: 9.244 MB / 0.5274 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.4358, allocations: 15.88 kB / 0.5274 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.4362, allocations: 139.9 kB / 0.5276 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/0.4387, allocations: 1.588 MB / 0.5291 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.454, allocations: 7.481 MB / 0.5364 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03851/0.4926, allocations: 28.01 MB / 0.5638 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007276/0.4999, allocations: 2.341 MB / 0.5661 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.5013, allocations: 1.111 MB / 0.5671 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009923/0.5113, allocations: 7.618 MB / 0.5746 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.5113, allocations: 47.22 kB / 0.5746 GB, free: 7.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.846e-06/0.5114, allocations: 0 / 0.5746 GB, free: 7.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.01964/0.531, allocations: 7.168 MB / 0.5816 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.5311, allocations: 141.5 kB / 0.5818 GB, free: 436 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/0.5353, allocations: 2.663 MB / 0.5844 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5354, allocations: 41.7 kB / 0.5844 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5373, allocations: 2.43 MB / 0.5868 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.5377, allocations: 395.3 kB / 0.5871 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.5381, allocations: 342 kB / 0.5875 GB, free: 10.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5383, allocations: 301.1 kB / 0.5878 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.54, allocations: 1.085 MB / 0.5888 GB, free: 9.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.543, allocations: 3.498 MB / 0.5922 GB, free: 4.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.5481, allocations: 4.974 MB / 0.5971 GB, free: 14.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/0.5481, allocations: 24 kB / 0.5971 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006095/0.5542, allocations: 4.461 MB / 0.6015 GB, free: 9.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.5543, allocations: 44 kB / 0.6015 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.577e-05/0.5544, allocations: 84 kB / 0.6016 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.429e-05/0.5545, allocations: 112.8 kB / 0.6017 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.557, allocations: 0.9553 MB / 0.6026 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001158/0.5572, allocations: 171.3 kB / 0.6028 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.5593, allocations: 191.8 kB / 0.603 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.5596, allocations: 232 kB / 0.6032 GB, free: 7.992 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (499): * Single equations (assignments): 499 * 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.002476/0.5621, allocations: 1.597 MB / 0.6048 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.5625, allocations: 232.9 kB / 0.605 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.5646, allocations: 1.381 MB / 0.6063 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5646, allocations: 12.14 kB / 0.6063 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5646, allocations: 3.938 kB / 0.6063 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5646, allocations: 15.95 kB / 0.6064 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007844/0.5725, allocations: 6.032 MB / 0.6123 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.5725, allocations: 16 kB / 0.6123 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.5732, allocations: 215.7 kB / 0.6125 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/0.5732, allocations: 27.98 kB / 0.6125 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.5733, allocations: 39.94 kB / 0.6125 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.5e-05/0.5733, allocations: 39.8 kB / 0.6126 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/0.5734, allocations: 23.94 kB / 0.6126 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.5753, allocations: 1.804 MB / 0.6144 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.5758, allocations: 317.9 kB / 0.6147 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.576, allocations: 43.98 kB / 0.6147 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.5767, allocations: 51.91 kB / 0.6148 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5769, allocations: 120.1 kB / 0.6149 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.5769, allocations: 51.98 kB / 0.6149 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.5792, allocations: 1.696 MB / 0.6166 GB, free: 9.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5792, allocations: 0 / 0.6166 GB, free: 9.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002937/0.5821, allocations: 0.6719 MB / 0.6172 GB, free: 9.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.002322/0.5845, allocations: 2.447 MB / 0.6196 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.5879, allocations: 2.52 MB / 0.6221 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.5879, allocations: 8.125 kB / 0.6221 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.5886, allocations: 0.5681 MB / 0.6226 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/0.5946, allocations: 319.7 kB / 0.623 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/0.8008, allocations: 32.75 MB / 0.6549 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.803, allocations: 2.733 MB / 0.6576 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002307/0.8053, allocations: 1.036 MB / 0.6586 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.8066, allocations: 1.47 MB / 0.66 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.8066, allocations: 0 / 0.66 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.083/2.89, allocations: 46.06 MB / 0.705 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/2.89, allocations: 183.9 kB / 0.7052 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.804/6.694, allocations: 4.062 kB / 0.7052 GB, free: 127.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches