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.001128/0.001128, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001123/0.001123, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2109/0.2109, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001518/0.001518, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01407/0.1168, allocations: 12.59 MB / 0.4997 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.1241, allocations: 3.572 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.1257, allocations: 59.94 kB / 0.5032 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00589/0.1316, allocations: 3.333 MB / 0.5065 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1341, allocations: 0.9405 MB / 0.5074 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1356, allocations: 0.6549 MB / 0.5081 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.1384, allocations: 2.318 MB / 0.5103 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003726/0.1422, allocations: 4.086 MB / 0.5143 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.1437, allocations: 1.367 MB / 0.5157 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.1455, allocations: 1.768 MB / 0.5174 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004429/0.146, allocations: 364 kB / 0.5177 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1473, allocations: 0.8935 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.1485, allocations: 1.691 MB / 0.5202 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1501, allocations: 1.962 MB / 0.5222 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.1554, allocations: 6.26 MB / 0.5283 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1554, allocations: 4 kB / 0.5283 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1554, allocations: 0 / 0.5283 GB, free: 2.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.883e-05/0.1555, allocations: 0 / 0.5283 GB, free: 2.227 MB / 414.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.1929/0.3484, allocations: 4.135 MB / 0.5323 GB, free: 37.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3485, allocations: 15.28 kB / 0.5323 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008398/0.3493, allocations: 0.6286 MB / 0.5329 GB, free: 37.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.3516, allocations: 0.5752 MB / 0.5335 GB, free: 37.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.3554, allocations: 1.845 MB / 0.5353 GB, free: 36.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.3556, allocations: 245.2 kB / 0.5355 GB, free: 36.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/0.3561, allocations: 312.1 kB / 0.5358 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.3722, allocations: 8.659 MB / 0.5443 GB, free: 33.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/0.3723, allocations: 14.94 kB / 0.5443 GB, free: 33.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.3726, allocations: 144.8 kB / 0.5445 GB, free: 33.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/0.3755, allocations: 1.563 MB / 0.546 GB, free: 32.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.3909, allocations: 6.692 MB / 0.5525 GB, free: 30.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/0.4191, allocations: 26.24 MB / 0.5781 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/0.4243, allocations: 1.951 MB / 0.58 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009136/0.4253, allocations: 0.8523 MB / 0.5809 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007919/0.4332, allocations: 6.31 MB / 0.587 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4333, allocations: 47.16 kB / 0.5871 GB, free: 12.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 2.265e-06/0.4333, allocations: 0 / 0.5871 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.01583/0.4491, allocations: 6.24 MB / 0.5932 GB, free: 5.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.4492, allocations: 145.5 kB / 0.5933 GB, free: 5.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.4522, allocations: 2.509 MB / 0.5958 GB, free: 3.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.4523, allocations: 37.7 kB / 0.5958 GB, free: 3.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.4537, allocations: 2.407 MB / 0.5982 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4541, allocations: 387.2 kB / 0.5985 GB, free: 432 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.4549, allocations: 0.7462 MB / 0.5993 GB, free: 15.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.455, allocations: 317 kB / 0.5996 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.4564, allocations: 0.9599 MB / 0.6005 GB, free: 14.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.4592, allocations: 3.274 MB / 0.6037 GB, free: 9.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.4641, allocations: 4.61 MB / 0.6082 GB, free: 4.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.858e-05/0.4642, allocations: 24 kB / 0.6082 GB, free: 4.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.00652/0.4707, allocations: 4.121 MB / 0.6122 GB, free: 56 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.4708, allocations: 40 kB / 0.6123 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/0.471, allocations: 84.05 kB / 0.6124 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.4711, allocations: 108 kB / 0.6125 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.4739, allocations: 0.8955 MB / 0.6133 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001745/0.4741, allocations: 163.4 kB / 0.6135 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.4765, allocations: 170.3 kB / 0.6137 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003586/0.4769, allocations: 220 kB / 0.6139 GB, free: 14.39 MB / 462.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.002503/0.4794, allocations: 1.589 MB / 0.6154 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.4798, allocations: 225.1 kB / 0.6156 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.4818, allocations: 1.138 MB / 0.6167 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4818, allocations: 12 kB / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.4818, allocations: 0 / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.4818, allocations: 7.984 kB / 0.6168 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4925, allocations: 5.985 MB / 0.6226 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/0.4926, allocations: 16 kB / 0.6226 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.4933, allocations: 219.6 kB / 0.6228 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-05/0.4934, allocations: 24 kB / 0.6229 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.4934, allocations: 36 kB / 0.6229 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-05/0.4935, allocations: 35.86 kB / 0.6229 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/0.4935, allocations: 23.94 kB / 0.6229 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.4956, allocations: 1.752 MB / 0.6247 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.4963, allocations: 310.2 kB / 0.625 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/0.4967, allocations: 39.98 kB / 0.625 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.4976, allocations: 47.97 kB / 0.625 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4978, allocations: 135.2 kB / 0.6252 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.4979, allocations: 52.86 kB / 0.6252 GB, free: 2.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.5001, allocations: 1.636 MB / 0.6268 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5001, allocations: 3.938 kB / 0.6268 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002736/0.5028, allocations: 0.651 MB / 0.6275 GB, free: 15.85 MB / 478.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.002358/0.5052, allocations: 2.385 MB / 0.6298 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.5085, allocations: 2.325 MB / 0.6321 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.5085, allocations: 0.9375 kB / 0.6321 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.5092, allocations: 0.5302 MB / 0.6326 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5108, allocations: 318.4 kB / 0.6329 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/0.5456, allocations: 26.87 MB / 0.6591 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/0.5483, allocations: 2.746 MB / 0.6618 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002202/0.5505, allocations: 0.9932 MB / 0.6628 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/0.552, allocations: 1.464 MB / 0.6642 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.552, allocations: 4 kB / 0.6642 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/0.6322, allocations: 44.79 MB / 0.7079 GB, free: 9.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.77, allocations: 11.86 kB / 0.708 GB, free: 9.809 MB / 0.545 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches