Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_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.001253/0.001253, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001236/0.001237, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.2 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3999, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01197/0.412, allocations: 9.598 MB / 0.5278 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.4215, allocations: 3.183 MB / 0.5309 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.4248, allocations: 51.31 kB / 0.531 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007488/0.4324, allocations: 2.63 MB / 0.5335 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.4351, allocations: 0.6098 MB / 0.5341 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.437, allocations: 0.5162 MB / 0.5346 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.44, allocations: 1.471 MB / 0.5361 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.445, allocations: 3.246 MB / 0.5392 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.4471, allocations: 0.9595 MB / 0.5402 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.4497, allocations: 1.272 MB / 0.5414 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009288/0.4507, allocations: 269.7 kB / 0.5417 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.4529, allocations: 0.7948 MB / 0.5425 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.4546, allocations: 1.16 MB / 0.5436 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.4571, allocations: 1.348 MB / 0.5449 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005933/0.463, allocations: 4.452 MB / 0.5493 GB, free: 12.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4631, allocations: 0 / 0.5493 GB, free: 12.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4631, allocations: 4 kB / 0.5493 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001268/0.4632, allocations: 0 / 0.5493 GB, free: 12.41 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.00655/0.4698, allocations: 2.858 MB / 0.552 GB, free: 9.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4698, allocations: 8.031 kB / 0.5521 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007529/0.4706, allocations: 422.9 kB / 0.5525 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.4719, allocations: 370.8 kB / 0.5528 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.4742, allocations: 1.248 MB / 0.554 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4744, allocations: 172.3 kB / 0.5542 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004523/0.4749, allocations: 215.9 kB / 0.5544 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.4874, allocations: 5.608 MB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-05/0.4875, allocations: 11.88 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.4879, allocations: 95.94 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/0.4892, allocations: 0.7773 MB / 0.5607 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.5005, allocations: 4.291 MB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/0.5288, allocations: 17.1 MB / 0.5816 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/0.5338, allocations: 1.238 MB / 0.5828 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.5347, allocations: 394.3 kB / 0.5832 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.5369, allocations: 2.058 MB / 0.5852 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.537, allocations: 47 kB / 0.5853 GB, free: 6.293 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 4.519e-06/0.537, allocations: 0 / 0.5853 GB, free: 6.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02389/0.5609, allocations: 5.483 MB / 0.5906 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.561, allocations: 64.41 kB / 0.5907 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.5643, allocations: 1.73 MB / 0.5924 GB, free: 15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.5645, allocations: 45.7 kB / 0.5924 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.566, allocations: 1.562 MB / 0.5939 GB, free: 13.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.5666, allocations: 424.6 kB / 0.5943 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.5676, allocations: 0.5247 MB / 0.5949 GB, free: 12.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5678, allocations: 301.1 kB / 0.5951 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.5693, allocations: 0.7781 MB / 0.5959 GB, free: 11.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.5722, allocations: 2.215 MB / 0.5981 GB, free: 8.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.577, allocations: 3.275 MB / 0.6013 GB, free: 4.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.785e-05/0.5771, allocations: 16 kB / 0.6013 GB, free: 4.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006761/0.5838, allocations: 3.005 MB / 0.6042 GB, free: 1.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.584, allocations: 34.44 kB / 0.6042 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.968e-05/0.5841, allocations: 52 kB / 0.6043 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.032e-05/0.5842, allocations: 68.09 kB / 0.6044 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.5862, allocations: 0.6011 MB / 0.605 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001191/0.5864, allocations: 103.6 kB / 0.605 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5881, allocations: 111.9 kB / 0.6052 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.5884, allocations: 148 kB / 0.6053 GB, free: 308 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 (340): * Single equations (assignments): 340 * 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.002438/0.5909, allocations: 1.125 MB / 0.6064 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.5914, allocations: 174.8 kB / 0.6066 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.5941, allocations: 1.245 MB / 0.6078 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5941, allocations: 15.94 kB / 0.6078 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5941, allocations: 0 / 0.6078 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.5941, allocations: 7.969 kB / 0.6078 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.6061, allocations: 6.232 MB / 0.6139 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-05/0.6062, allocations: 20 kB / 0.6139 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.607, allocations: 207.6 kB / 0.6141 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/0.607, allocations: 24 kB / 0.6141 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.6071, allocations: 40 kB / 0.6142 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-05/0.6072, allocations: 44.33 kB / 0.6142 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.16e-05/0.6072, allocations: 35.88 kB / 0.6142 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.6098, allocations: 1.685 MB / 0.6159 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.6105, allocations: 271.9 kB / 0.6161 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.6108, allocations: 47.92 kB / 0.6162 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.6118, allocations: 40 kB / 0.6162 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.612, allocations: 127.4 kB / 0.6164 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.6121, allocations: 59.98 kB / 0.6164 GB, free: 4.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.6141, allocations: 1.139 MB / 0.6175 GB, free: 3.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6141, allocations: 4 kB / 0.6175 GB, free: 3.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002721/0.6168, allocations: 475.9 kB / 0.618 GB, free: 2.594 MB / 478.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.00353/0.6204, allocations: 2.325 MB / 0.6202 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.6241, allocations: 1.815 MB / 0.622 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/0.6241, allocations: 4 kB / 0.622 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.6251, allocations: 496 kB / 0.6225 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.6276, allocations: 288.6 kB / 0.6228 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/0.6701, allocations: 19.78 MB / 0.6421 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004282/0.6745, allocations: 2.077 MB / 0.6441 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002328/0.6769, allocations: 0.6712 MB / 0.6448 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/0.6789, allocations: 0.9523 MB / 0.6457 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.024e-06/0.6789, allocations: 0 / 0.6457 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08719/0.7661, allocations: 35.15 MB / 0.68 GB, free: 500 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.44, allocations: 3.984 kB / 0.68 GB, free: 496 kB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches