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.007079/0.007078, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001591/0.001591, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.335/1.335, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3027/0.3027, allocations: 43.5 MB / 313.5 MB, free: 8.551 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.00134/0.00134, allocations: 70.55 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09739, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.1953/0.2927, allocations: 47.54 MB / 487.5 MB, free: 21.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.3099, allocations: 9.288 MB / 496.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008058/0.318, allocations: 196.3 kB / 496.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004882/0.3229, allocations: 3.346 MB / 0.4886 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.3251, allocations: 0.884 MB / 0.4894 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3265, allocations: 0.5909 MB / 0.49 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.3302, allocations: 3.769 MB / 0.4937 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005332/0.3356, allocations: 4.034 MB / 0.4976 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.338, allocations: 1.224 MB / 0.4988 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.3419, allocations: 1.843 MB / 0.5006 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.3432, allocations: 259.9 kB / 0.5009 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.346, allocations: 0.8638 MB / 0.5017 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002751/0.3487, allocations: 1.599 MB / 0.5033 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003957/0.3527, allocations: 1.862 MB / 0.5051 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0074/0.3601, allocations: 6.014 MB / 0.511 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3602, allocations: 0 / 0.511 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3602, allocations: 0 / 0.511 GB, free: 4.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002495/0.3604, allocations: 1.094 kB / 0.511 GB, free: 4.457 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01083/0.3713, allocations: 4.152 MB / 0.515 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3713, allocations: 9.625 kB / 0.515 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/0.3729, allocations: 0.6275 MB / 0.5156 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.3759, allocations: 0.5874 MB / 0.5162 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.3796, allocations: 1.804 MB / 0.518 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.3798, allocations: 244.1 kB / 0.5182 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007541/0.3805, allocations: 319.6 kB / 0.5185 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.3993, allocations: 8.657 MB / 0.527 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.3995, allocations: 15.88 kB / 0.527 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009774/0.4005, allocations: 139.9 kB / 0.5271 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.4033, allocations: 1.572 MB / 0.5286 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.4179, allocations: 6.681 MB / 0.5352 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.4551, allocations: 26.39 MB / 0.5609 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006294/0.4615, allocations: 1.94 MB / 0.5628 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.4628, allocations: 0.8466 MB / 0.5637 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008405/0.4712, allocations: 6.328 MB / 0.5699 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4713, allocations: 55.16 kB / 0.5699 GB, free: 10.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=77): time 2.455e-06/0.4713, allocations: 0 / 0.5699 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.0173/0.4886, allocations: 6.233 MB / 0.576 GB, free: 4.148 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4887, allocations: 137.5 kB / 0.5761 GB, free: 3.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.4928, allocations: 2.517 MB / 0.5786 GB, free: 1.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.4928, allocations: 41.7 kB / 0.5786 GB, free: 1.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.4943, allocations: 2.399 MB / 0.581 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.4946, allocations: 391.2 kB / 0.5813 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.4956, allocations: 0.754 MB / 0.5821 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.4957, allocations: 305.1 kB / 0.5824 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4972, allocations: 0.956 MB / 0.5833 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.5001, allocations: 3.273 MB / 0.5865 GB, free: 8.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/0.5051, allocations: 4.606 MB / 0.591 GB, free: 2.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-05/0.5052, allocations: 28 kB / 0.591 GB, free: 2.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006104/0.5113, allocations: 4.113 MB / 0.595 GB, free: 14.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.5114, allocations: 40.97 kB / 0.5951 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-05/0.5115, allocations: 84 kB / 0.5952 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.314e-05/0.5116, allocations: 108 kB / 0.5953 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.5139, allocations: 0.8968 MB / 0.5961 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.514, allocations: 167.3 kB / 0.5963 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.5163, allocations: 167.8 kB / 0.5965 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.5166, allocations: 224 kB / 0.5967 GB, free: 12.55 MB / 478.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.00288/0.5195, allocations: 1.589 MB / 0.5982 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.5199, allocations: 221.1 kB / 0.5984 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.5217, allocations: 1.138 MB / 0.5995 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5218, allocations: 12 kB / 0.5996 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5218, allocations: 4 kB / 0.5996 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5218, allocations: 7.922 kB / 0.5996 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/0.5298, allocations: 5.981 MB / 0.6054 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.5299, allocations: 16 kB / 0.6054 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.5305, allocations: 220.5 kB / 0.6056 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.5305, allocations: 20 kB / 0.6056 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.5306, allocations: 44 kB / 0.6057 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-05/0.5306, allocations: 35.86 kB / 0.6057 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/0.5307, allocations: 27.81 kB / 0.6057 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.5326, allocations: 1.746 MB / 0.6075 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.5331, allocations: 310.1 kB / 0.6078 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.5333, allocations: 43.98 kB / 0.6078 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.534, allocations: 43.98 kB / 0.6078 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.5342, allocations: 135.4 kB / 0.608 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.5342, allocations: 48 kB / 0.608 GB, free: 328 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002112/0.5363, allocations: 1.64 MB / 0.6096 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.5363, allocations: 0 / 0.6096 GB, free: 14.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002774/0.5391, allocations: 0.6445 MB / 0.6102 GB, free: 14.03 MB / 494.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.002353/0.5415, allocations: 2.391 MB / 0.6126 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.5449, allocations: 2.287 MB / 0.6148 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.545, allocations: 4 kB / 0.6148 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.5456, allocations: 0.5204 MB / 0.6153 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5473, allocations: 321 kB / 0.6156 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2115/0.7588, allocations: 31.33 MB / 0.6462 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.7614, allocations: 2.747 MB / 0.6489 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002272/0.7637, allocations: 0.9932 MB / 0.6499 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.765, allocations: 1.457 MB / 0.6513 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/0.765, allocations: 0 / 0.6513 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/0.8374, allocations: 44.13 MB / 0.6944 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.8377, allocations: 188.5 kB / 0.6946 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.757, allocations: 3.938 kB / 0.6946 GB, free: 136.5 MB / 0.4981 GB (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