Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.001626/0.001626, 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.001968/0.001968, 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.442/1.442, 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.2126/0.2126, 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.001484/0.001485, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01138/0.1308, allocations: 10.28 MB / 0.4975 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.1372, allocations: 3.262 MB / 0.5006 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1386, allocations: 51.88 kB / 0.5007 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.1433, allocations: 2.64 MB / 0.5033 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.145, allocations: 0.6723 MB / 0.5039 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1463, allocations: 0.5301 MB / 0.5044 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.1482, allocations: 1.617 MB / 0.506 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.1514, allocations: 3.287 MB / 0.5092 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.1526, allocations: 1.009 MB / 0.5102 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.1541, allocations: 1.324 MB / 0.5115 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.1545, allocations: 276 kB / 0.5118 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1557, allocations: 0.8037 MB / 0.5126 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009963/0.1567, allocations: 1.228 MB / 0.5138 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1581, allocations: 1.43 MB / 0.5151 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.1624, allocations: 4.676 MB / 0.5197 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1624, allocations: 0 / 0.5197 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1624, allocations: 0 / 0.5197 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.1626, allocations: 0 / 0.5197 GB, free: 11.03 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.006131/0.1687, allocations: 2.95 MB / 0.5226 GB, free: 8.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1688, allocations: 15.89 kB / 0.5226 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005217/0.1693, allocations: 457.1 kB / 0.523 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.1705, allocations: 352.9 kB / 0.5234 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.173, allocations: 1.278 MB / 0.5246 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.1731, allocations: 176.7 kB / 0.5248 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004449/0.1736, allocations: 231.9 kB / 0.525 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2261/0.3997, allocations: 6.021 MB / 0.5309 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.813e-05/0.3998, allocations: 14.59 kB / 0.5309 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.4001, allocations: 103 kB / 0.531 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.4017, allocations: 0.9642 MB / 0.532 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.4124, allocations: 4.495 MB / 0.5363 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.4348, allocations: 18.43 MB / 0.5543 GB, free: 24.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.4387, allocations: 1.271 MB / 0.5556 GB, free: 23.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.4393, allocations: 390.2 kB / 0.556 GB, free: 23.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.4407, allocations: 2.062 MB / 0.558 GB, free: 21.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4407, allocations: 47.19 kB / 0.558 GB, free: 21.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.297e-06/0.4407, allocations: 0 / 0.558 GB, free: 21.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01948/0.4602, allocations: 5.894 MB / 0.5638 GB, free: 18.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4603, allocations: 93.77 kB / 0.5639 GB, free: 18.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.4622, allocations: 1.83 MB / 0.5656 GB, free: 17.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.4623, allocations: 45.14 kB / 0.5657 GB, free: 17.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/0.4629, allocations: 1.663 MB / 0.5673 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.4631, allocations: 412.7 kB / 0.5677 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.4637, allocations: 0.5533 MB / 0.5683 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.4637, allocations: 301.1 kB / 0.5685 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009307/0.4647, allocations: 0.7976 MB / 0.5693 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4661, allocations: 2.369 MB / 0.5716 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.4687, allocations: 3.452 MB / 0.575 GB, free: 8.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.4688, allocations: 16 kB / 0.575 GB, free: 8.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.003481/0.4723, allocations: 3.156 MB / 0.5781 GB, free: 4.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.4723, allocations: 35.98 kB / 0.5781 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.4724, allocations: 54.91 kB / 0.5782 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/0.4724, allocations: 77.08 kB / 0.5783 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4741, allocations: 0.6433 MB / 0.5789 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.796e-05/0.4742, allocations: 108.1 kB / 0.579 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4754, allocations: 127.8 kB / 0.5791 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4756, allocations: 162.6 kB / 0.5793 GB, free: 3.754 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.001217/0.4768, allocations: 1.196 MB / 0.5804 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.477, allocations: 181.7 kB / 0.5806 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.4786, allocations: 1.268 MB / 0.5818 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4787, allocations: 12 kB / 0.5819 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4787, allocations: 0.875 kB / 0.5819 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.4787, allocations: 3.984 kB / 0.5819 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/0.4881, allocations: 6.46 MB / 0.5882 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.4882, allocations: 20 kB / 0.5882 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.4889, allocations: 207.6 kB / 0.5884 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/0.4889, allocations: 24 kB / 0.5884 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.489, allocations: 41.41 kB / 0.5885 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.305e-05/0.489, allocations: 43.8 kB / 0.5885 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/0.4891, allocations: 35.88 kB / 0.5885 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.491, allocations: 1.676 MB / 0.5902 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.4915, allocations: 274.8 kB / 0.5904 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4917, allocations: 47.92 kB / 0.5905 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.4923, allocations: 36.88 kB / 0.5905 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.4925, allocations: 135.3 kB / 0.5906 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.646e-05/0.4926, allocations: 59.98 kB / 0.5907 GB, free: 7.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.4943, allocations: 1.224 MB / 0.5919 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4943, allocations: 4 kB / 0.5919 GB, free: 6.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002571/0.4969, allocations: 0.4955 MB / 0.5924 GB, free: 5.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.002973/0.4999, allocations: 2.323 MB / 0.5946 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003706/0.5036, allocations: 1.888 MB / 0.5965 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/0.5037, allocations: 4.938 kB / 0.5965 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.5044, allocations: 498.9 kB / 0.597 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.5061, allocations: 270.1 kB / 0.5972 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03375/0.5398, allocations: 20.83 MB / 0.6176 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.5423, allocations: 2.198 MB / 0.6197 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001826/0.5441, allocations: 0.715 MB / 0.6204 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.5456, allocations: 1.05 MB / 0.6214 GB, free: 5 MB / 462.1 MB Notification: Performance of SimCode: time 1.153e-06/0.5456, allocations: 0 / 0.6214 GB, free: 5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07465/0.6202, allocations: 36.96 MB / 0.6575 GB, free: 4 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.37, allocations: 4.094 kB / 0.6575 GB, free: 16 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches