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.001419/0.00142, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001724/0.001724, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2135/0.2135, allocations: 44.2 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 67.83 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3272, allocations: 60.81 MB / 0.5184 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01122/0.3385, allocations: 9.598 MB / 0.5278 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.3476, allocations: 3.186 MB / 0.5309 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.3502, allocations: 50.59 kB / 0.531 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005582/0.3558, allocations: 2.634 MB / 0.5335 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.358, allocations: 0.6358 MB / 0.5342 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3597, allocations: 0.5261 MB / 0.5347 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.3619, allocations: 1.474 MB / 0.5361 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.3654, allocations: 3.234 MB / 0.5393 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3669, allocations: 0.9611 MB / 0.5402 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.3685, allocations: 1.269 MB / 0.5414 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.369, allocations: 270.2 kB / 0.5417 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3704, allocations: 0.8025 MB / 0.5425 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.3714, allocations: 1.165 MB / 0.5436 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.3728, allocations: 1.352 MB / 0.5449 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.3776, allocations: 4.452 MB / 0.5493 GB, free: 12.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3776, allocations: 0 / 0.5493 GB, free: 12.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3777, allocations: 0 / 0.5493 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3778, allocations: 0 / 0.5493 GB, free: 12.38 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.005325/0.3831, allocations: 2.862 MB / 0.5521 GB, free: 9.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3831, allocations: 8.031 kB / 0.5521 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005149/0.3837, allocations: 418.9 kB / 0.5525 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3848, allocations: 370.8 kB / 0.5529 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.387, allocations: 1.244 MB / 0.5541 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.3871, allocations: 168.4 kB / 0.5542 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.3875, allocations: 227.9 kB / 0.5544 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.3981, allocations: 5.604 MB / 0.5599 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.3982, allocations: 11.88 kB / 0.5599 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.3984, allocations: 91.95 kB / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000997/0.3994, allocations: 0.7812 MB / 0.5608 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009959/0.4094, allocations: 4.287 MB / 0.565 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.433, allocations: 17.09 MB / 0.5817 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.4372, allocations: 1.242 MB / 0.5829 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.4379, allocations: 398.3 kB / 0.5832 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.4397, allocations: 2.054 MB / 0.5853 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4398, allocations: 39.06 kB / 0.5853 GB, free: 6.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 3.487e-06/0.4398, allocations: 0 / 0.5853 GB, free: 6.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02193/0.4617, allocations: 5.495 MB / 0.5907 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4618, allocations: 60.41 kB / 0.5907 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.4641, allocations: 1.734 MB / 0.5924 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.4643, allocations: 45.7 kB / 0.5925 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.4654, allocations: 1.558 MB / 0.594 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.4658, allocations: 424.6 kB / 0.5944 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/0.4665, allocations: 0.5285 MB / 0.5949 GB, free: 12.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4666, allocations: 301.1 kB / 0.5952 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.4679, allocations: 0.7743 MB / 0.5959 GB, free: 11.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.4701, allocations: 2.215 MB / 0.5981 GB, free: 8.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.474, allocations: 3.275 MB / 0.6013 GB, free: 4.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.4741, allocations: 16 kB / 0.6013 GB, free: 4.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004953/0.4791, allocations: 3.005 MB / 0.6043 GB, free: 1.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.4791, allocations: 28.97 kB / 0.6043 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.06e-05/0.4792, allocations: 59.92 kB / 0.6043 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.169e-05/0.4793, allocations: 68 kB / 0.6044 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.4811, allocations: 0.6044 MB / 0.605 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.017e-05/0.4812, allocations: 99.64 kB / 0.6051 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4827, allocations: 111.9 kB / 0.6052 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.4829, allocations: 152 kB / 0.6053 GB, free: 276 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.001672/0.4846, allocations: 1.125 MB / 0.6064 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.4849, allocations: 178.8 kB / 0.6066 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.487, allocations: 1.245 MB / 0.6078 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.487, allocations: 12 kB / 0.6078 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.487, allocations: 0 / 0.6078 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.487, allocations: 11.97 kB / 0.6078 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0098/0.4968, allocations: 6.224 MB / 0.6139 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/0.4969, allocations: 20 kB / 0.6139 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.4976, allocations: 204.4 kB / 0.6141 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/0.4976, allocations: 24 kB / 0.6142 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.4977, allocations: 44 kB / 0.6142 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.159e-05/0.4977, allocations: 47.8 kB / 0.6142 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.251e-05/0.4978, allocations: 31.88 kB / 0.6143 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4999, allocations: 1.681 MB / 0.6159 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.5003, allocations: 271.9 kB / 0.6162 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.5005, allocations: 47.92 kB / 0.6162 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.5011, allocations: 40 kB / 0.6163 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5013, allocations: 135.4 kB / 0.6164 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.5014, allocations: 52 kB / 0.6164 GB, free: 4.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.503, allocations: 1.143 MB / 0.6176 GB, free: 3.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.503, allocations: 4 kB / 0.6176 GB, free: 3.031 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002228/0.5052, allocations: 471.9 kB / 0.618 GB, free: 2.57 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.002464/0.5077, allocations: 2.339 MB / 0.6203 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.5107, allocations: 1.808 MB / 0.6221 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.5107, allocations: 4 kB / 0.6221 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.5114, allocations: 495.9 kB / 0.6225 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5131, allocations: 285.1 kB / 0.6228 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.5417, allocations: 19.78 MB / 0.6421 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.544, allocations: 2.081 MB / 0.6442 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00177/0.5458, allocations: 0.6673 MB / 0.6448 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.5471, allocations: 0.9561 MB / 0.6457 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5471, allocations: 4 kB / 0.6457 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06271/0.6098, allocations: 35.15 MB / 0.6801 GB, free: 476 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.8, allocations: 7.969 kB / 0.6801 GB, free: 468 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