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.0009573/0.0009577, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 246.8 MB, free: 9.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 46.17 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.00027, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03145/0.1561, allocations: 32.86 MB / 0.5039 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2501/0.4063, allocations: 7.148 MB / 0.5109 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00662/0.413, allocations: 137.3 kB / 0.5111 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4141, allocations: 224.7 kB / 0.5113 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.4167, allocations: 0.5662 MB / 0.5118 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.4184, allocations: 485.3 kB / 0.5123 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.422, allocations: 2.471 MB / 0.5147 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007162/0.4292, allocations: 4.719 MB / 0.5193 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.4307, allocations: 0.5989 MB / 0.5199 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.4328, allocations: 1.007 MB / 0.5209 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005062/0.4333, allocations: 88.09 kB / 0.521 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.4351, allocations: 0.6827 MB / 0.5216 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.4364, allocations: 0.938 MB / 0.5225 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.438, allocations: 1.109 MB / 0.5236 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.4421, allocations: 4.123 MB / 0.5276 GB, free: 6.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4421, allocations: 5.125 kB / 0.5277 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4421, allocations: 0 / 0.5277 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.4423, allocations: 0 / 0.5277 GB, free: 6.27 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.00461/0.4469, allocations: 2.266 MB / 0.5299 GB, free: 4.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4469, allocations: 19.08 kB / 0.5299 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006573/0.4476, allocations: 422.4 kB / 0.5303 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.4487, allocations: 346.7 kB / 0.5306 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.4505, allocations: 1.234 MB / 0.5318 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4506, allocations: 167.3 kB / 0.532 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.451, allocations: 215.5 kB / 0.5322 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009666/0.4607, allocations: 5.639 MB / 0.5377 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/0.4607, allocations: 14.88 kB / 0.5377 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.461, allocations: 96.64 kB / 0.5378 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.462, allocations: 0.7743 MB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00898/0.471, allocations: 4.33 MB / 0.5428 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.4913, allocations: 17.14 MB / 0.5595 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.4953, allocations: 1.25 MB / 0.5607 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.4959, allocations: 390.3 kB / 0.5611 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.4977, allocations: 2.141 MB / 0.5632 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.4977, allocations: 51 kB / 0.5633 GB, free: 7.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.836e-06/0.4978, allocations: 0 / 0.5633 GB, free: 7.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.0206/0.5184, allocations: 5.441 MB / 0.5686 GB, free: 2.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5184, allocations: 64.41 kB / 0.5686 GB, free: 2.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.5215, allocations: 1.709 MB / 0.5703 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.5216, allocations: 45.64 kB / 0.5703 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.5228, allocations: 1.507 MB / 0.5718 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.5232, allocations: 407.1 kB / 0.5722 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.5235, allocations: 243.1 kB / 0.5724 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5236, allocations: 305.1 kB / 0.5727 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.525, allocations: 0.7782 MB / 0.5735 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.5275, allocations: 2.223 MB / 0.5757 GB, free: 10.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004127/0.5316, allocations: 3.275 MB / 0.5789 GB, free: 6.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-05/0.5317, allocations: 16 kB / 0.5789 GB, free: 6.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00498/0.5367, allocations: 3.004 MB / 0.5818 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.5367, allocations: 28 kB / 0.5818 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-05/0.5368, allocations: 48 kB / 0.5819 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.413e-05/0.5369, allocations: 68 kB / 0.5819 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.5388, allocations: 0.6088 MB / 0.5825 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001001/0.5389, allocations: 95.66 kB / 0.5826 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5406, allocations: 119.8 kB / 0.5827 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.5408, allocations: 152 kB / 0.5829 GB, free: 2.254 MB / 430.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.00232/0.5431, allocations: 1.125 MB / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.5435, allocations: 165.9 kB / 0.5841 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.544, allocations: 200.8 kB / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.544, allocations: 12 kB / 0.5843 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.544, allocations: 0 / 0.5843 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.544, allocations: 3.984 kB / 0.5844 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/0.5534, allocations: 6.082 MB / 0.5903 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.5535, allocations: 27.88 kB / 0.5903 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.5542, allocations: 199.7 kB / 0.5905 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/0.5542, allocations: 24 kB / 0.5905 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.5543, allocations: 44 kB / 0.5906 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.279e-05/0.5543, allocations: 43.86 kB / 0.5906 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-05/0.5544, allocations: 40.16 kB / 0.5907 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.5564, allocations: 1.672 MB / 0.5923 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.5568, allocations: 259 kB / 0.5925 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.5571, allocations: 47.98 kB / 0.5926 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/0.5579, allocations: 43.92 kB / 0.5926 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.5581, allocations: 135.3 kB / 0.5927 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.5581, allocations: 52 kB / 0.5928 GB, free: 7.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.5599, allocations: 1.143 MB / 0.5939 GB, free: 6.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5599, allocations: 0 / 0.5939 GB, free: 6.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002317/0.5622, allocations: 464.6 kB / 0.5944 GB, free: 5.855 MB / 446.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.002799/0.565, allocations: 2.31 MB / 0.5966 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.5682, allocations: 1.775 MB / 0.5983 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.5682, allocations: 6 kB / 0.5984 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007057/0.5689, allocations: 499.7 kB / 0.5988 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/0.5746, allocations: 277.5 kB / 0.5991 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/0.6112, allocations: 22.29 MB / 0.6209 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/0.6142, allocations: 2.081 MB / 0.6229 GB, free: 5.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002044/0.6162, allocations: 0.6712 MB / 0.6235 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.6176, allocations: 0.9523 MB / 0.6245 GB, free: 3.648 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6176, allocations: 0 / 0.6245 GB, free: 3.648 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/0.6736, allocations: 33.18 MB / 0.6569 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.6739, allocations: 186.8 kB / 0.6571 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.228, allocations: 0 / 0.6571 GB, free: 2.422 MB / 0.4981 GB (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