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.001348/0.001348, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 77.25 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 62.44 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03346/0.1762, allocations: 33.84 MB / 0.5012 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3001/0.4764, allocations: 7.201 MB / 0.5082 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00819/0.4846, allocations: 140.7 kB / 0.5084 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.4902, allocations: 2.662 MB / 0.511 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.4924, allocations: 0.5711 MB / 0.5115 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4942, allocations: 476.6 kB / 0.512 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003999/0.4982, allocations: 2.465 MB / 0.5144 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005301/0.5035, allocations: 3.186 MB / 0.5175 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.5053, allocations: 0.8503 MB / 0.5183 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.5073, allocations: 1.323 MB / 0.5196 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.5077, allocations: 191.7 kB / 0.5198 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5094, allocations: 0.7834 MB / 0.5206 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.5107, allocations: 1.091 MB / 0.5216 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.512, allocations: 1.272 MB / 0.5229 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.516, allocations: 4.273 MB / 0.527 GB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.516, allocations: 4 kB / 0.527 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5161, allocations: 2.969 kB / 0.527 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.517e-05/0.5161, allocations: 3.938 kB / 0.5271 GB, free: 5.504 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.00494/0.5211, allocations: 2.764 MB / 0.5298 GB, free: 3.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5211, allocations: 10.72 kB / 0.5298 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004487/0.5216, allocations: 425.3 kB / 0.5302 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5227, allocations: 358.3 kB / 0.5305 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.5245, allocations: 1.225 MB / 0.5317 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.5246, allocations: 167.4 kB / 0.5319 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.5249, allocations: 220.4 kB / 0.5321 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008921/0.5338, allocations: 5.612 MB / 0.5376 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/0.5339, allocations: 12.47 kB / 0.5376 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.5341, allocations: 93.75 kB / 0.5377 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009339/0.5351, allocations: 0.7762 MB / 0.5384 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008943/0.544, allocations: 4.297 MB / 0.5426 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02461/0.5687, allocations: 17.13 MB / 0.5593 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/0.5735, allocations: 1.246 MB / 0.5606 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.5742, allocations: 394.3 kB / 0.5609 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/0.5761, allocations: 2.144 MB / 0.563 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5761, allocations: 35.12 kB / 0.5631 GB, free: 6.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.5761, allocations: 4 kB / 0.5631 GB, free: 6.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.02198/0.5981, allocations: 5.359 MB / 0.5683 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.5982, allocations: 64.41 kB / 0.5684 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.6007, allocations: 1.718 MB / 0.57 GB, free: 15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.6008, allocations: 49.69 kB / 0.5701 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.6018, allocations: 1.505 MB / 0.5716 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.6021, allocations: 412.7 kB / 0.5719 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006674/0.6028, allocations: 0.5165 MB / 0.5724 GB, free: 12.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6029, allocations: 301.1 kB / 0.5727 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.6044, allocations: 0.7782 MB / 0.5735 GB, free: 11.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.6067, allocations: 2.224 MB / 0.5757 GB, free: 8.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.6104, allocations: 3.278 MB / 0.5789 GB, free: 4.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.6104, allocations: 12 kB / 0.5789 GB, free: 4.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004606/0.615, allocations: 3.001 MB / 0.5818 GB, free: 1.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.6151, allocations: 39.98 kB / 0.5818 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/0.6151, allocations: 52 kB / 0.5819 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-05/0.6152, allocations: 68 kB / 0.582 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.6169, allocations: 0.5966 MB / 0.5825 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.098e-05/0.617, allocations: 107.6 kB / 0.5826 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.6186, allocations: 111.9 kB / 0.5828 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.6188, allocations: 152 kB / 0.5829 GB, free: 420 kB / 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.001872/0.6207, allocations: 1.134 MB / 0.584 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.6209, allocations: 161.9 kB / 0.5842 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.6213, allocations: 204.8 kB / 0.5844 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6213, allocations: 8 kB / 0.5844 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.6213, allocations: 4 kB / 0.5844 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6214, allocations: 11.97 kB / 0.5844 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/0.63, allocations: 6.059 MB / 0.5903 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/0.6301, allocations: 20 kB / 0.5903 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.6307, allocations: 211.7 kB / 0.5905 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/0.6308, allocations: 28 kB / 0.5905 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.6308, allocations: 44 kB / 0.5906 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-05/0.6309, allocations: 39.86 kB / 0.5906 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.774e-05/0.6309, allocations: 35.75 kB / 0.5907 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.633, allocations: 1.671 MB / 0.5923 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.6334, allocations: 262.9 kB / 0.5925 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6335, allocations: 43.98 kB / 0.5926 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.6342, allocations: 47.92 kB / 0.5926 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6343, allocations: 135.4 kB / 0.5928 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.6344, allocations: 52 kB / 0.5928 GB, free: 5.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.6358, allocations: 1.139 MB / 0.5939 GB, free: 4.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6358, allocations: 0 / 0.5939 GB, free: 4.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002348/0.6382, allocations: 464.6 kB / 0.5944 GB, free: 4.02 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.002288/0.6405, allocations: 2.308 MB / 0.5966 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.6432, allocations: 1.777 MB / 0.5984 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.6433, allocations: 0 / 0.5984 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.6441, allocations: 0.4902 MB / 0.5988 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6457, allocations: 268.2 kB / 0.5991 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/0.6821, allocations: 22.25 MB / 0.6208 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/0.6858, allocations: 2.085 MB / 0.6229 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002053/0.6879, allocations: 0.6673 MB / 0.6235 GB, free: 2.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/0.6896, allocations: 0.9523 MB / 0.6244 GB, free: 1.863 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6896, allocations: 4 kB / 0.6244 GB, free: 1.859 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07958/0.7692, allocations: 33.58 MB / 0.6572 GB, free: 472 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.7695, allocations: 185.7 kB / 0.6574 GB, free: 216 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.508, allocations: 0 / 0.6574 GB, free: 216 kB / 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