Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001222, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 80.02 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01066/0.1181, allocations: 9.573 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006076/0.1242, allocations: 3.222 MB / 492.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.1255, allocations: 51.88 kB / 493 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.1304, allocations: 2.636 MB / 495.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.1322, allocations: 0.6063 MB / 496.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1336, allocations: 0.5184 MB / 496.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1359, allocations: 1.465 MB / 498.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/0.1399, allocations: 3.236 MB / 0.4897 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.1417, allocations: 0.9504 MB / 0.4906 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.1437, allocations: 1.274 MB / 0.4919 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006409/0.1444, allocations: 268 kB / 0.4921 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.1461, allocations: 0.7998 MB / 0.4929 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.1475, allocations: 1.15 MB / 0.494 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.1494, allocations: 1.352 MB / 0.4953 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.1542, allocations: 4.323 MB / 0.4996 GB, free: 5.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1542, allocations: 4 kB / 0.4996 GB, free: 5.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1543, allocations: 0 / 0.4996 GB, free: 5.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001659/0.1544, allocations: 0 / 0.4996 GB, free: 5.637 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.006912/0.1613, allocations: 2.765 MB / 0.5023 GB, free: 2.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1614, allocations: 15.97 kB / 0.5023 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.1624, allocations: 426.8 kB / 0.5027 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.164, allocations: 349.1 kB / 0.503 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.1668, allocations: 1.224 MB / 0.5042 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.167, allocations: 164.4 kB / 0.5044 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000646/0.1676, allocations: 219.9 kB / 0.5046 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2292/0.3968, allocations: 5.606 MB / 0.5101 GB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.3969, allocations: 13.98 kB / 0.5101 GB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.3972, allocations: 94.31 kB / 0.5102 GB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.3984, allocations: 0.7783 MB / 0.5109 GB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.41, allocations: 4.299 MB / 0.5151 GB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.4316, allocations: 17.13 MB / 0.5318 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/0.4357, allocations: 1.246 MB / 0.5331 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.4363, allocations: 394.2 kB / 0.5334 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.4377, allocations: 2.139 MB / 0.5355 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4377, allocations: 42.06 kB / 0.5356 GB, free: 21.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 6.512e-06/0.4377, allocations: 0 / 0.5356 GB, free: 21.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01889/0.4566, allocations: 5.364 MB / 0.5408 GB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4567, allocations: 72.39 kB / 0.5409 GB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.4586, allocations: 1.72 MB / 0.5426 GB, free: 14.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.4587, allocations: 41.7 kB / 0.5426 GB, free: 14.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.4593, allocations: 1.503 MB / 0.5441 GB, free: 13.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.4595, allocations: 399.7 kB / 0.5444 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.46, allocations: 0.5243 MB / 0.545 GB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.46, allocations: 301.1 kB / 0.5452 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009751/0.461, allocations: 0.7821 MB / 0.546 GB, free: 11.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.4625, allocations: 2.23 MB / 0.5482 GB, free: 8.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4652, allocations: 3.267 MB / 0.5514 GB, free: 4.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.4652, allocations: 16 kB / 0.5514 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003566/0.4688, allocations: 3.004 MB / 0.5543 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.4688, allocations: 30.34 kB / 0.5544 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.4689, allocations: 54.12 kB / 0.5544 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/0.4689, allocations: 71.98 kB / 0.5545 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.4705, allocations: 0.6005 MB / 0.5551 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.152e-05/0.4706, allocations: 99.59 kB / 0.5552 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.4719, allocations: 120.3 kB / 0.5553 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.472, allocations: 148 kB / 0.5554 GB, free: 392 kB / 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.001592/0.4736, allocations: 1.127 MB / 0.5565 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.4738, allocations: 165.8 kB / 0.5567 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.4742, allocations: 208.8 kB / 0.5569 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4742, allocations: 8 kB / 0.5569 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4742, allocations: 0 / 0.5569 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4743, allocations: 11.92 kB / 0.5569 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007995/0.4823, allocations: 6.065 MB / 0.5628 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.4823, allocations: 20 kB / 0.5628 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.483, allocations: 207.6 kB / 0.563 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/0.483, allocations: 28 kB / 0.5631 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.4831, allocations: 44 kB / 0.5631 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/0.4831, allocations: 40.73 kB / 0.5631 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.439e-05/0.4831, allocations: 31.81 kB / 0.5632 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.4851, allocations: 1.676 MB / 0.5648 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.4855, allocations: 266.9 kB / 0.5651 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.4857, allocations: 47.97 kB / 0.5651 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.4864, allocations: 43.94 kB / 0.5651 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4865, allocations: 135.3 kB / 0.5653 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.4866, allocations: 59.12 kB / 0.5653 GB, free: 5.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001619/0.4882, allocations: 1.135 MB / 0.5664 GB, free: 4.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4883, allocations: 0 / 0.5664 GB, free: 4.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002483/0.4907, allocations: 460 kB / 0.5669 GB, free: 3.992 MB / 398.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.002462/0.4932, allocations: 2.317 MB / 0.5691 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.4963, allocations: 1.845 MB / 0.5709 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.4963, allocations: 4 kB / 0.5709 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.4971, allocations: 0.4899 MB / 0.5714 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.4987, allocations: 272 kB / 0.5717 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/0.5313, allocations: 21.18 MB / 0.5924 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/0.5346, allocations: 2.085 MB / 0.5944 GB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002119/0.5368, allocations: 0.6657 MB / 0.5951 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.5383, allocations: 0.9562 MB / 0.596 GB, free: 2.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5384, allocations: 0 / 0.596 GB, free: 2.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06633/0.6047, allocations: 34.29 MB / 0.6295 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.088/9.693, allocations: 23.61 kB / 0.6295 GB, free: 0.6914 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches