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.001107/0.001107, allocations: 101.5 kB / 17.63 MB, free: 5.344 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.001362/0.001362, allocations: 192 kB / 18.56 MB, free: 4.434 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.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2078/0.2078, allocations: 44.18 MB / 336.6 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 65.19 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1448, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01526/0.1601, allocations: 9.604 MB / 479 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.171, allocations: 3.175 MB / 482.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.1729, allocations: 51.88 kB / 482.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.1797, allocations: 2.625 MB / 484.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.1825, allocations: 0.614 MB / 485.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1844, allocations: 0.5146 MB / 485.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002921/0.1873, allocations: 1.481 MB / 487.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005204/0.1925, allocations: 3.24 MB / 490.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.1946, allocations: 0.9582 MB / 491.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.1972, allocations: 1.277 MB / 492.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.198, allocations: 268 kB / 493.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2002, allocations: 0.8036 MB / 494 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2015, allocations: 1.154 MB / 495.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.2042, allocations: 1.356 MB / 496.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.2102, allocations: 4.339 MB / 0.4891 GB, free: 14.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2102, allocations: 0 / 0.4891 GB, free: 14.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2102, allocations: 0 / 0.4891 GB, free: 14.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.2104, allocations: 4 kB / 0.4891 GB, free: 14.62 MB / 382.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.007083/0.2175, allocations: 2.773 MB / 0.4918 GB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2176, allocations: 8.031 kB / 0.4918 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009803/0.2185, allocations: 426.8 kB / 0.4922 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.2201, allocations: 357.1 kB / 0.4925 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.2227, allocations: 1.227 MB / 0.4937 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2229, allocations: 168.4 kB / 0.4939 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/0.2235, allocations: 223.9 kB / 0.4941 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.2404, allocations: 5.604 MB / 0.4996 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-05/0.2405, allocations: 7.938 kB / 0.4996 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.2409, allocations: 99.88 kB / 0.4997 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/0.2427, allocations: 0.7812 MB / 0.5004 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2661/0.5089, allocations: 4.273 MB / 0.5046 GB, free: 46.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.53, allocations: 17.14 MB / 0.5214 GB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.5341, allocations: 1.243 MB / 0.5226 GB, free: 35.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.5347, allocations: 393.9 kB / 0.5229 GB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.536, allocations: 2.057 MB / 0.525 GB, free: 33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.5361, allocations: 41.75 kB / 0.525 GB, free: 32.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.725e-06/0.5361, allocations: 0 / 0.525 GB, free: 32.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.02071/0.5568, allocations: 5.444 MB / 0.5303 GB, free: 30.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.5569, allocations: 64.25 kB / 0.5304 GB, free: 30.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.5592, allocations: 1.727 MB / 0.5321 GB, free: 29.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.5593, allocations: 46.58 kB / 0.5321 GB, free: 29.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/0.5598, allocations: 1.511 MB / 0.5336 GB, free: 28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.56, allocations: 402.1 kB / 0.534 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/0.5605, allocations: 0.5246 MB / 0.5345 GB, free: 27.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.5605, allocations: 309.1 kB / 0.5348 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009937/0.5615, allocations: 0.7707 MB / 0.5355 GB, free: 26.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.5632, allocations: 2.219 MB / 0.5377 GB, free: 24.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.5657, allocations: 3.268 MB / 0.5409 GB, free: 20.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/0.5658, allocations: 16 kB / 0.5409 GB, free: 20.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003525/0.5693, allocations: 3 MB / 0.5438 GB, free: 17.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.5693, allocations: 28 kB / 0.5439 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.5694, allocations: 48 kB / 0.5439 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-05/0.5694, allocations: 68 kB / 0.544 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.571, allocations: 0.5989 MB / 0.5446 GB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.571, allocations: 103.6 kB / 0.5446 GB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.5723, allocations: 120 kB / 0.5448 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.5725, allocations: 144.9 kB / 0.5449 GB, free: 16 MB / 382.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.001189/0.5736, allocations: 1.125 MB / 0.546 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5738, allocations: 161.9 kB / 0.5462 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.5755, allocations: 1.25 MB / 0.5474 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5755, allocations: 11.94 kB / 0.5474 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5755, allocations: 3.938 kB / 0.5474 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5756, allocations: 7.969 kB / 0.5474 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006872/0.5824, allocations: 6.225 MB / 0.5535 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.5825, allocations: 21.48 kB / 0.5535 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.583, allocations: 203.6 kB / 0.5537 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.851e-05/0.5831, allocations: 28 kB / 0.5537 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.5831, allocations: 40 kB / 0.5538 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-05/0.5832, allocations: 43.8 kB / 0.5538 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.519e-05/0.5832, allocations: 27.88 kB / 0.5538 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5845, allocations: 1.68 MB / 0.5555 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.5849, allocations: 262.9 kB / 0.5557 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.585, allocations: 47.98 kB / 0.5558 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.5857, allocations: 40 kB / 0.5558 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5858, allocations: 135.3 kB / 0.5559 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.5858, allocations: 60 kB / 0.556 GB, free: 3.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.587, allocations: 1.139 MB / 0.5571 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5871, allocations: 0 / 0.5571 GB, free: 2.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001995/0.5891, allocations: 468 kB / 0.5575 GB, free: 2.363 MB / 382.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.001863/0.5909, allocations: 2.324 MB / 0.5598 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.5938, allocations: 1.841 MB / 0.5616 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.5939, allocations: 4 kB / 0.5616 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.5945, allocations: 498.4 kB / 0.5621 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.5962, allocations: 284.7 kB / 0.5624 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.6244, allocations: 21.2 MB / 0.5831 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.6277, allocations: 2.077 MB / 0.5851 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002892/0.6306, allocations: 0.6772 MB / 0.5858 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/0.6325, allocations: 0.9523 MB / 0.5867 GB, free: 1.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6326, allocations: 0 / 0.5867 GB, free: 1.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/0.7381, allocations: 34.5 MB / 0.6204 GB, free: 14.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/9.672, allocations: 7.484 kB / 0.6204 GB, free: 14.87 MB / 462.1 MB (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