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.001045/0.00105, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 204.6 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.322/1.322, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 80.12 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01008/0.1279, allocations: 9.577 MB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005853/0.1338, allocations: 3.222 MB / 492.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.1348, allocations: 47.94 kB / 493 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.1391, allocations: 2.64 MB / 495.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1404, allocations: 0.6023 MB / 496.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1415, allocations: 0.5146 MB / 496.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.143, allocations: 1.473 MB / 498.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.1461, allocations: 3.224 MB / 0.4897 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1472, allocations: 0.9581 MB / 0.4906 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1487, allocations: 1.266 MB / 0.4919 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.149, allocations: 268 kB / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1502, allocations: 0.8076 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.1511, allocations: 1.15 MB / 0.494 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.1523, allocations: 1.345 MB / 0.4953 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.156, allocations: 4.331 MB / 0.4996 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1561, allocations: 0 / 0.4996 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1561, allocations: 0 / 0.4996 GB, free: 5.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.318e-05/0.1561, allocations: 4 kB / 0.4996 GB, free: 5.613 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.004311/0.1604, allocations: 2.761 MB / 0.5023 GB, free: 2.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1605, allocations: 12.03 kB / 0.5023 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004323/0.1609, allocations: 430.8 kB / 0.5027 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.162, allocations: 353.1 kB / 0.503 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.1638, allocations: 1.224 MB / 0.5042 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1639, allocations: 164.4 kB / 0.5044 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.1642, allocations: 215.9 kB / 0.5046 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1977/0.3619, allocations: 5.616 MB / 0.5101 GB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/0.3621, allocations: 9.422 kB / 0.5101 GB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.3623, allocations: 95.52 kB / 0.5102 GB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.3633, allocations: 0.7829 MB / 0.5109 GB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009877/0.3732, allocations: 4.289 MB / 0.5151 GB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3902, allocations: 17.14 MB / 0.5319 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.3938, allocations: 1.252 MB / 0.5331 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.3943, allocations: 395.1 kB / 0.5335 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.3955, allocations: 2.134 MB / 0.5355 GB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3955, allocations: 39.12 kB / 0.5356 GB, free: 21.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 4.318e-06/0.3955, allocations: 3.5 kB / 0.5356 GB, free: 21.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01856/0.4141, allocations: 5.362 MB / 0.5408 GB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4142, allocations: 64.34 kB / 0.5409 GB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.4159, allocations: 1.721 MB / 0.5426 GB, free: 14.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.4159, allocations: 41.7 kB / 0.5426 GB, free: 14.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.4165, allocations: 1.504 MB / 0.5441 GB, free: 13.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.4167, allocations: 408.2 kB / 0.5445 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.4172, allocations: 0.5204 MB / 0.545 GB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.4173, allocations: 301.1 kB / 0.5452 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/0.4182, allocations: 0.7782 MB / 0.546 GB, free: 11.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.4198, allocations: 2.225 MB / 0.5482 GB, free: 8.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4223, allocations: 3.275 MB / 0.5514 GB, free: 4.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.4223, allocations: 16 kB / 0.5514 GB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003497/0.4258, allocations: 3 MB / 0.5543 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.4259, allocations: 24.97 kB / 0.5543 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.4259, allocations: 52 kB / 0.5544 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.866e-05/0.426, allocations: 75.09 kB / 0.5545 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.4275, allocations: 0.6043 MB / 0.5551 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.377e-05/0.4276, allocations: 99.59 kB / 0.5552 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4288, allocations: 115.9 kB / 0.5553 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.4289, allocations: 148 kB / 0.5554 GB, free: 396 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.001383/0.4303, allocations: 1.13 MB / 0.5565 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.4305, allocations: 161.9 kB / 0.5567 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.4309, allocations: 211.9 kB / 0.5569 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4309, allocations: 12 kB / 0.5569 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4309, allocations: 0 / 0.5569 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4309, allocations: 7.922 kB / 0.5569 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007963/0.4389, allocations: 6.072 MB / 0.5628 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.4389, allocations: 20 kB / 0.5628 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.4395, allocations: 203.6 kB / 0.563 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/0.4396, allocations: 24.69 kB / 0.5631 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.4397, allocations: 47.98 kB / 0.5631 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.4397, allocations: 43.86 kB / 0.5631 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-05/0.4397, allocations: 35.81 kB / 0.5632 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.4415, allocations: 1.672 MB / 0.5648 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.4418, allocations: 258.9 kB / 0.5651 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.4419, allocations: 51.97 kB / 0.5651 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.4426, allocations: 39.94 kB / 0.5651 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4427, allocations: 131.4 kB / 0.5653 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.4428, allocations: 55.98 kB / 0.5653 GB, free: 5.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.4442, allocations: 1.139 MB / 0.5664 GB, free: 4.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4442, allocations: 0 / 0.5664 GB, free: 4.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001859/0.446, allocations: 465.5 kB / 0.5669 GB, free: 3.996 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.002205/0.4483, allocations: 2.31 MB / 0.5691 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.451, allocations: 1.851 MB / 0.5709 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.451, allocations: 1 kB / 0.5709 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.4517, allocations: 499.9 kB / 0.5714 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.4532, allocations: 284.5 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.02683/0.48, allocations: 21.18 MB / 0.5924 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.482, allocations: 2.081 MB / 0.5944 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001766/0.4838, allocations: 0.6712 MB / 0.5951 GB, free: 3.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.4849, allocations: 0.9484 MB / 0.596 GB, free: 2.852 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4849, allocations: 0 / 0.596 GB, free: 2.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/0.5442, allocations: 34.3 MB / 0.6295 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.935, allocations: 15.05 kB / 0.6295 GB, free: 0.6992 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/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