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.006661/0.006661, allocations: 99.86 kB / 15.87 MB, free: 6.309 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.001096/0.001096, allocations: 194.8 kB / 16.79 MB, free: 6.238 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.286/1.286, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3144/0.3144, allocations: 43.5 MB / 313.5 MB, free: 8.293 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.001329/0.001329, allocations: 66.56 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2412/0.3505, allocations: 47.58 MB / 487.5 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.3701, allocations: 9.469 MB / 497 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009452/0.3796, allocations: 191.1 kB / 497.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005568/0.3852, allocations: 3.321 MB / 0.4887 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.3882, allocations: 0.8808 MB / 0.4896 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.3904, allocations: 0.7413 MB / 0.4903 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005094/0.3955, allocations: 3.841 MB / 0.4941 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006408/0.4019, allocations: 4.078 MB / 0.4981 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.4043, allocations: 1.253 MB / 0.4993 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.4073, allocations: 1.88 MB / 0.5011 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006652/0.4079, allocations: 267 kB / 0.5014 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.41, allocations: 0.9746 MB / 0.5023 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.4117, allocations: 1.591 MB / 0.5039 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.4135, allocations: 1.877 MB / 0.5057 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.4205, allocations: 6.154 MB / 0.5117 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4206, allocations: 1.469 kB / 0.5117 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4206, allocations: 0 / 0.5117 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002044/0.4208, allocations: 0 / 0.5117 GB, free: 3.758 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.009953/0.4308, allocations: 4.299 MB / 0.5159 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4308, allocations: 10.19 kB / 0.5159 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001013/0.4318, allocations: 0.6369 MB / 0.5165 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.4343, allocations: 0.5813 MB / 0.5171 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.438, allocations: 1.872 MB / 0.5189 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.4381, allocations: 239.6 kB / 0.5192 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.4387, allocations: 314.4 kB / 0.5195 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.4576, allocations: 9.21 MB / 0.5285 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.904e-05/0.4577, allocations: 15.88 kB / 0.5285 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.4581, allocations: 139.9 kB / 0.5286 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.4608, allocations: 1.588 MB / 0.5302 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.4774, allocations: 7.453 MB / 0.5374 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.5178, allocations: 28.01 MB / 0.5648 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/0.5255, allocations: 2.329 MB / 0.5671 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.527, allocations: 1.104 MB / 0.5682 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.5371, allocations: 7.626 MB / 0.5756 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.5371, allocations: 47.22 kB / 0.5756 GB, free: 4.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.737e-06/0.5371, allocations: 0 / 0.5756 GB, free: 4.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.01942/0.5566, allocations: 7.156 MB / 0.5826 GB, free: 13.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5567, allocations: 145.5 kB / 0.5828 GB, free: 12.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.5605, allocations: 2.663 MB / 0.5854 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.5606, allocations: 41.7 kB / 0.5854 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.5622, allocations: 2.43 MB / 0.5878 GB, free: 7.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.5625, allocations: 395.2 kB / 0.5882 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000967/0.5635, allocations: 0.7778 MB / 0.5889 GB, free: 6.582 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5636, allocations: 305.1 kB / 0.5892 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.5652, allocations: 1.089 MB / 0.5903 GB, free: 5.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.5682, allocations: 3.49 MB / 0.5937 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005077/0.5733, allocations: 4.974 MB / 0.5985 GB, free: 10.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-05/0.5734, allocations: 24 kB / 0.5986 GB, free: 10.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006261/0.5797, allocations: 4.461 MB / 0.6029 GB, free: 5.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.5797, allocations: 44 kB / 0.603 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.238e-05/0.5798, allocations: 88.83 kB / 0.603 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.5799, allocations: 116 kB / 0.6032 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.5825, allocations: 0.9513 MB / 0.6041 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/0.5826, allocations: 163.4 kB / 0.6042 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.5852, allocations: 195.8 kB / 0.6044 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.5855, allocations: 236 kB / 0.6047 GB, free: 4.059 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.002596/0.5881, allocations: 1.601 MB / 0.6062 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.5885, allocations: 232.9 kB / 0.6064 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.5907, allocations: 1.389 MB / 0.6078 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5907, allocations: 8 kB / 0.6078 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5907, allocations: 4 kB / 0.6078 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5907, allocations: 7.984 kB / 0.6078 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009254/0.6, allocations: 6.024 MB / 0.6137 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.6, allocations: 16 kB / 0.6137 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.6008, allocations: 223.6 kB / 0.6139 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.881e-05/0.6008, allocations: 20 kB / 0.6139 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.6009, allocations: 40.66 kB / 0.614 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.536e-05/0.6009, allocations: 35.8 kB / 0.614 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/0.6009, allocations: 31.88 kB / 0.614 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.603, allocations: 1.788 MB / 0.6158 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.6036, allocations: 318 kB / 0.6161 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.6038, allocations: 43.98 kB / 0.6161 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007418/0.6046, allocations: 55.91 kB / 0.6162 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6048, allocations: 120 kB / 0.6163 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.6048, allocations: 51.98 kB / 0.6164 GB, free: 7.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002258/0.6071, allocations: 1.7 MB / 0.618 GB, free: 5.805 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6071, allocations: 4 kB / 0.618 GB, free: 5.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002944/0.6101, allocations: 0.6796 MB / 0.6187 GB, free: 5.121 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.002393/0.6125, allocations: 2.436 MB / 0.6211 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.6161, allocations: 2.524 MB / 0.6235 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6161, allocations: 4 kB / 0.6235 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.6168, allocations: 0.5715 MB / 0.6241 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.6186, allocations: 309.9 kB / 0.6244 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2216/0.8402, allocations: 32.71 MB / 0.6563 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/0.8426, allocations: 2.742 MB / 0.659 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002548/0.8451, allocations: 1.035 MB / 0.66 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/0.8467, allocations: 1.468 MB / 0.6615 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.944e-06/0.8467, allocations: 7.281 kB / 0.6615 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0699/0.9166, allocations: 46.52 MB / 0.7069 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.9168, allocations: 192.3 kB / 0.7071 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/3.699, allocations: 4 kB / 0.7071 GB, free: 125.2 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