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.001718/0.001718, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.001457/0.001457, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1996/0.1996, allocations: 43.52 MB / 314.1 MB, free: 460 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.001566/0.001566, allocations: 65.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1084, 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.01335/0.1218, allocations: 12.6 MB / 0.4997 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.1306, allocations: 3.564 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.1333, allocations: 63.88 kB / 0.5033 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006408/0.1398, allocations: 3.333 MB / 0.5065 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.1432, allocations: 0.9483 MB / 0.5074 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.1451, allocations: 0.6472 MB / 0.5081 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003734/0.1489, allocations: 2.318 MB / 0.5103 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.1541, allocations: 4.082 MB / 0.5143 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.1566, allocations: 1.367 MB / 0.5157 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1594, allocations: 1.764 MB / 0.5174 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008823/0.1603, allocations: 364 kB / 0.5177 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.1623, allocations: 0.8974 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.1642, allocations: 1.691 MB / 0.5202 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.1671, allocations: 1.962 MB / 0.5222 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006526/0.1736, allocations: 6.26 MB / 0.5283 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1736, allocations: 0 / 0.5283 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1736, allocations: 0 / 0.5283 GB, free: 2.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.1738, allocations: 4 kB / 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.2155/0.3893, allocations: 4.141 MB / 0.5323 GB, free: 37.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3894, allocations: 10.52 kB / 0.5323 GB, free: 37.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001454/0.3908, allocations: 0.627 MB / 0.5329 GB, free: 37.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.3939, allocations: 0.5794 MB / 0.5335 GB, free: 37.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.3979, allocations: 1.842 MB / 0.5353 GB, free: 36.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.3982, allocations: 239.2 kB / 0.5355 GB, free: 36.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009067/0.3991, allocations: 308.9 kB / 0.5358 GB, free: 36.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.417, allocations: 8.665 MB / 0.5443 GB, free: 33.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.4172, allocations: 15.84 kB / 0.5443 GB, free: 33.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008526/0.4181, allocations: 143.8 kB / 0.5444 GB, free: 33.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002944/0.421, allocations: 1.559 MB / 0.546 GB, free: 32.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.4361, allocations: 6.694 MB / 0.5525 GB, free: 30.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03133/0.4674, allocations: 26.25 MB / 0.5781 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/0.473, allocations: 1.954 MB / 0.5801 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.474, allocations: 0.8445 MB / 0.5809 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008095/0.4822, allocations: 6.313 MB / 0.587 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.4822, allocations: 51.14 kB / 0.5871 GB, free: 12.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 3.286e-06/0.4822, allocations: 0 / 0.5871 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.01688/0.4991, allocations: 6.232 MB / 0.5932 GB, free: 6.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.4993, allocations: 145.5 kB / 0.5933 GB, free: 5.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.5025, allocations: 2.509 MB / 0.5958 GB, free: 3.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.5026, allocations: 41.7 kB / 0.5958 GB, free: 3.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.5041, allocations: 2.407 MB / 0.5982 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.5044, allocations: 395.2 kB / 0.5985 GB, free: 432 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008668/0.5053, allocations: 0.7502 MB / 0.5993 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5054, allocations: 305.1 kB / 0.5996 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.5069, allocations: 0.9599 MB / 0.6005 GB, free: 14.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.5102, allocations: 3.278 MB / 0.6037 GB, free: 9.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005105/0.5154, allocations: 4.606 MB / 0.6082 GB, free: 4.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.286e-05/0.5154, allocations: 24 kB / 0.6082 GB, free: 4.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006425/0.5219, allocations: 4.121 MB / 0.6122 GB, free: 64 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.522, allocations: 40 kB / 0.6123 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.715e-05/0.5221, allocations: 84.05 kB / 0.6124 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.5222, allocations: 108.8 kB / 0.6125 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.5247, allocations: 0.895 MB / 0.6133 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/0.5248, allocations: 163.4 kB / 0.6135 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5268, allocations: 163.9 kB / 0.6136 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/0.5271, allocations: 228 kB / 0.6139 GB, free: 14.4 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.002316/0.5294, allocations: 1.585 MB / 0.6154 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.5298, allocations: 217.2 kB / 0.6156 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.5319, allocations: 1.146 MB / 0.6167 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.5319, allocations: 15.94 kB / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5319, allocations: 0 / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5319, allocations: 7.984 kB / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009538/0.5415, allocations: 5.989 MB / 0.6226 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.5416, allocations: 16 kB / 0.6226 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.5423, allocations: 219.6 kB / 0.6228 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.713e-05/0.5423, allocations: 24 kB / 0.6229 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.5424, allocations: 40 kB / 0.6229 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.433e-05/0.5425, allocations: 31.92 kB / 0.6229 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-05/0.5425, allocations: 27.88 kB / 0.623 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.5446, allocations: 1.748 MB / 0.6247 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.5452, allocations: 310.1 kB / 0.625 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.5456, allocations: 43.98 kB / 0.625 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.5465, allocations: 43.98 kB / 0.625 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5467, allocations: 135.2 kB / 0.6252 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/0.5468, allocations: 52 kB / 0.6252 GB, free: 2.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.5495, allocations: 1.64 MB / 0.6268 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5495, allocations: 3.938 kB / 0.6268 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003196/0.5527, allocations: 0.6472 MB / 0.6275 GB, free: 15.86 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.003027/0.5557, allocations: 2.378 MB / 0.6298 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.5597, allocations: 2.33 MB / 0.6321 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.5598, allocations: 8.062 kB / 0.6321 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.5606, allocations: 0.5216 MB / 0.6326 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.5629, allocations: 320.6 kB / 0.6329 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.6029, allocations: 26.87 MB / 0.6591 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/0.6065, allocations: 2.75 MB / 0.6618 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002461/0.609, allocations: 0.9932 MB / 0.6628 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/0.6111, allocations: 1.464 MB / 0.6642 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6111, allocations: 0 / 0.6642 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08007/0.6912, allocations: 44.8 MB / 0.7079 GB, free: 9.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.39, allocations: 11.92 kB / 0.708 GB, free: 9.805 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