Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 76.91 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 62.45 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.03686/0.1632, allocations: 33.84 MB / 0.5014 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2611/0.4243, allocations: 7.349 MB / 0.5086 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008489/0.4329, allocations: 137.9 kB / 0.5087 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005507/0.4384, allocations: 2.521 MB / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.4408, allocations: 0.5396 MB / 0.5117 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.4431, allocations: 0.6611 MB / 0.5123 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.4461, allocations: 1.564 MB / 0.5139 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/0.4507, allocations: 3.458 MB / 0.5173 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.4528, allocations: 1.001 MB / 0.5182 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4553, allocations: 1.408 MB / 0.5196 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006139/0.4559, allocations: 278.2 kB / 0.5199 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.4582, allocations: 1.032 MB / 0.5209 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.4594, allocations: 1.174 MB / 0.522 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.4608, allocations: 1.368 MB / 0.5234 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006025/0.4669, allocations: 4.584 MB / 0.5278 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4669, allocations: 0 / 0.5278 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4669, allocations: 4 kB / 0.5278 GB, free: 5.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.467, allocations: 0 / 0.5278 GB, free: 5.082 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006486/0.4735, allocations: 2.918 MB / 0.5307 GB, free: 3.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4736, allocations: 9.625 kB / 0.5307 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005565/0.4742, allocations: 429.8 kB / 0.5311 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.4754, allocations: 359.9 kB / 0.5315 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.4777, allocations: 1.292 MB / 0.5327 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.4778, allocations: 164.5 kB / 0.5329 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.4782, allocations: 218.3 kB / 0.5331 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.4925, allocations: 6.484 MB / 0.5394 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.4926, allocations: 13.81 kB / 0.5394 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/0.4934, allocations: 93.89 kB / 0.5395 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001247/0.4947, allocations: 0.8126 MB / 0.5403 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.5085, allocations: 5.487 MB / 0.5457 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.5379, allocations: 19.08 MB / 0.5643 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.5453, allocations: 1.818 MB / 0.5661 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.5464, allocations: 0.6861 MB / 0.5667 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00711/0.5536, allocations: 4.787 MB / 0.5714 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5537, allocations: 47.12 kB / 0.5715 GB, free: 13.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.5537, allocations: 0 / 0.5715 GB, free: 13.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.0411/0.5948, allocations: 8.714 MB / 0.58 GB, free: 5.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.5949, allocations: 68.41 kB / 0.58 GB, free: 4.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/0.5983, allocations: 1.834 MB / 0.5818 GB, free: 3.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.5985, allocations: 41.7 kB / 0.5819 GB, free: 3.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.5996, allocations: 1.525 MB / 0.5834 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000472/0.6001, allocations: 407.6 kB / 0.5838 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.6011, allocations: 0.548 MB / 0.5843 GB, free: 0.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6013, allocations: 305.1 kB / 0.5846 GB, free: 288 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.6043, allocations: 1.025 MB / 0.5856 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.6083, allocations: 2.525 MB / 0.588 GB, free: 11.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/0.6143, allocations: 3.819 MB / 0.5918 GB, free: 7.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.971e-05/0.6143, allocations: 16 kB / 0.5918 GB, free: 7.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.009752/0.6241, allocations: 3.543 MB / 0.5952 GB, free: 3.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.6242, allocations: 28 kB / 0.5953 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.794e-05/0.6243, allocations: 52 kB / 0.5953 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.6245, allocations: 72 kB / 0.5954 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/0.6285, allocations: 0.6672 MB / 0.596 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001947/0.6287, allocations: 107.6 kB / 0.5961 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/0.6322, allocations: 155.8 kB / 0.5963 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.6325, allocations: 160 kB / 0.5964 GB, free: 2.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (352): * Single equations (assignments): 352 * 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.003431/0.636, allocations: 1.125 MB / 0.5975 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/0.6364, allocations: 177.8 kB / 0.5977 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6404, allocations: 1.753 MB / 0.5994 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.6404, allocations: 8 kB / 0.5994 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6404, allocations: 0 / 0.5994 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.6405, allocations: 11.91 kB / 0.5994 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.655, allocations: 5.426 MB / 0.6047 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.6551, allocations: 15.98 kB / 0.6048 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6563, allocations: 212.5 kB / 0.605 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/0.6563, allocations: 20 kB / 0.605 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6565, allocations: 32 kB / 0.605 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-05/0.6565, allocations: 31.91 kB / 0.605 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/0.6565, allocations: 23.81 kB / 0.6051 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.6599, allocations: 1.681 MB / 0.6067 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.6606, allocations: 246.9 kB / 0.6069 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.6611, allocations: 35.98 kB / 0.607 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.6624, allocations: 39.98 kB / 0.607 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.6626, allocations: 104.1 kB / 0.6071 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6627, allocations: 40 kB / 0.6072 GB, free: 7.246 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002964/0.6657, allocations: 1.203 MB / 0.6083 GB, free: 6.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6657, allocations: 0 / 0.6083 GB, free: 6.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004082/0.6698, allocations: 0.4961 MB / 0.6088 GB, free: 5.555 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.003814/0.6737, allocations: 2.313 MB / 0.6111 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.6781, allocations: 2.461 MB / 0.6135 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.6781, allocations: 4 kB / 0.6135 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009367/0.6791, allocations: 0.599 MB / 0.6141 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.681, allocations: 264 kB / 0.6143 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04292/0.724, allocations: 23.78 MB / 0.6375 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.7274, allocations: 2.075 MB / 0.6396 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002363/0.7297, allocations: 0.7227 MB / 0.6403 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/0.7315, allocations: 0.964 MB / 0.6412 GB, free: 1.242 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.7315, allocations: 8 kB / 0.6412 GB, free: 1.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07158/0.8031, allocations: 38.27 MB / 0.6786 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.8033, allocations: 184.8 kB / 0.6788 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/3.951, allocations: 0 / 0.6788 GB, free: 10.93 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches