Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 187.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.009904/0.3296, allocations: 9.6 MB / 0.5278 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.337, allocations: 3.382 MB / 0.5311 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.3391, allocations: 49.94 kB / 0.5312 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00542/0.3445, allocations: 2.61 MB / 0.5337 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.3467, allocations: 0.5918 MB / 0.5343 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.3487, allocations: 0.7148 MB / 0.535 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.3515, allocations: 1.574 MB / 0.5365 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.3564, allocations: 3.291 MB / 0.5397 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.3587, allocations: 0.9948 MB / 0.5407 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.361, allocations: 1.305 MB / 0.542 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009137/0.3619, allocations: 278.6 kB / 0.5422 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.3644, allocations: 0.9983 MB / 0.5432 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3662, allocations: 1.169 MB / 0.5444 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.3684, allocations: 1.372 MB / 0.5457 GB, free: 92 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.3739, allocations: 4.661 MB / 0.5502 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.374, allocations: 0 / 0.5502 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.374, allocations: 0 / 0.5502 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001601/0.3742, allocations: 0 / 0.5502 GB, free: 11.41 MB / 414.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.007227/0.3814, allocations: 2.917 MB / 0.5531 GB, free: 8.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3815, allocations: 12.03 kB / 0.5531 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008892/0.3824, allocations: 423.1 kB / 0.5535 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.3839, allocations: 365.1 kB / 0.5539 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.387, allocations: 1.305 MB / 0.5551 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3872, allocations: 168.2 kB / 0.5553 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006843/0.3879, allocations: 211.9 kB / 0.5555 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.4026, allocations: 6.472 MB / 0.5618 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4027, allocations: 11.88 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00062/0.4034, allocations: 99.94 kB / 0.5619 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/0.4046, allocations: 0.8085 MB / 0.5627 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.4179, allocations: 5.47 MB / 0.5681 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.4463, allocations: 18.97 MB / 0.5866 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.4537, allocations: 1.813 MB / 0.5884 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.4548, allocations: 0.69 MB / 0.589 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/0.4621, allocations: 4.706 MB / 0.5936 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4622, allocations: 43.12 kB / 0.5937 GB, free: 13.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/0.4622, allocations: 0 / 0.5937 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04082/0.503, allocations: 8.844 MB / 0.6023 GB, free: 4.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5031, allocations: 68.28 kB / 0.6024 GB, free: 4.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.506, allocations: 1.835 MB / 0.6042 GB, free: 2.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.5062, allocations: 45.7 kB / 0.6042 GB, free: 2.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.5073, allocations: 1.524 MB / 0.6057 GB, free: 1.223 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.5078, allocations: 410.5 kB / 0.6061 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009974/0.5088, allocations: 0.548 MB / 0.6066 GB, free: 268 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5089, allocations: 309 kB / 0.6069 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.5107, allocations: 1.017 MB / 0.6079 GB, free: 14.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.5133, allocations: 2.525 MB / 0.6104 GB, free: 11.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.5179, allocations: 3.811 MB / 0.6141 GB, free: 7.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-05/0.518, allocations: 16 kB / 0.6141 GB, free: 7.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006181/0.5242, allocations: 3.531 MB / 0.6176 GB, free: 3.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.5243, allocations: 28 kB / 0.6176 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.655e-05/0.5244, allocations: 52.88 kB / 0.6176 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.412e-05/0.5245, allocations: 72 kB / 0.6177 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.527, allocations: 0.6668 MB / 0.6184 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001237/0.5272, allocations: 111.5 kB / 0.6185 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.5295, allocations: 147.8 kB / 0.6186 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/0.5299, allocations: 152 kB / 0.6187 GB, free: 2.352 MB / 478.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.001929/0.5319, allocations: 1.137 MB / 0.6199 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.5323, allocations: 169.8 kB / 0.62 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/0.5354, allocations: 1.757 MB / 0.6217 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5354, allocations: 12 kB / 0.6217 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5355, allocations: 3.938 kB / 0.6217 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5355, allocations: 3.984 kB / 0.6217 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.5462, allocations: 5.589 MB / 0.6272 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.5462, allocations: 12 kB / 0.6272 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/0.5472, allocations: 203.6 kB / 0.6274 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.62e-05/0.5472, allocations: 16 kB / 0.6274 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5473, allocations: 36.66 kB / 0.6275 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.5474, allocations: 31.86 kB / 0.6275 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/0.5474, allocations: 19.94 kB / 0.6275 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.5498, allocations: 1.678 MB / 0.6292 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.5504, allocations: 250.9 kB / 0.6294 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/0.5507, allocations: 40 kB / 0.6294 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/0.5516, allocations: 43.91 kB / 0.6295 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.5518, allocations: 100.2 kB / 0.6296 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5519, allocations: 44 kB / 0.6296 GB, free: 6.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.554, allocations: 1.203 MB / 0.6308 GB, free: 5.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.554, allocations: 0 / 0.6308 GB, free: 5.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002595/0.5566, allocations: 0.4961 MB / 0.6313 GB, free: 5.047 MB / 494.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.003037/0.5597, allocations: 2.318 MB / 0.6335 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.5636, allocations: 2.223 MB / 0.6357 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/0.5636, allocations: 4 kB / 0.6357 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5647, allocations: 0.603 MB / 0.6363 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5666, allocations: 273.6 kB / 0.6366 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/0.6006, allocations: 21.07 MB / 0.6571 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/0.6032, allocations: 2.063 MB / 0.6591 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002191/0.6054, allocations: 0.7304 MB / 0.6599 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/0.6071, allocations: 0.9679 MB / 0.6608 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.6072, allocations: 0 / 0.6608 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/0.6812, allocations: 39.64 MB / 0.6995 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.54, allocations: 8.625 kB / 0.6995 GB, free: 12.89 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches