Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_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.001942/0.001942, allocations: 104.6 kB / 16.4 MB, free: 6.469 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.002206/0.002206, allocations: 188.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 65.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1066, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01246/0.1191, allocations: 10.34 MB / 0.4975 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.1262, allocations: 3.407 MB / 0.5008 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1276, allocations: 47.94 kB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.1329, allocations: 2.632 MB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.135, allocations: 0.6606 MB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.137, allocations: 0.7211 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1395, allocations: 1.699 MB / 0.5065 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004184/0.1437, allocations: 3.357 MB / 0.5097 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1455, allocations: 1.04 MB / 0.5107 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.1476, allocations: 1.355 MB / 0.5121 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000681/0.1483, allocations: 288 kB / 0.5123 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.1503, allocations: 0.9908 MB / 0.5133 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.1518, allocations: 1.239 MB / 0.5145 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.1538, allocations: 1.457 MB / 0.5159 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.1595, allocations: 4.9 MB / 0.5207 GB, free: 9.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1595, allocations: 4 kB / 0.5207 GB, free: 9.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1595, allocations: 0 / 0.5207 GB, free: 9.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.529e-05/0.1596, allocations: 0 / 0.5207 GB, free: 9.984 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.006908/0.1665, allocations: 3.156 MB / 0.5238 GB, free: 6.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1666, allocations: 11.89 kB / 0.5238 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006778/0.1673, allocations: 465.4 kB / 0.5243 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1686, allocations: 370.7 kB / 0.5246 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.1715, allocations: 1.349 MB / 0.5259 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.1717, allocations: 172.5 kB / 0.5261 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/0.1723, allocations: 235.9 kB / 0.5263 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2037/0.376, allocations: 6.881 MB / 0.5331 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.3761, allocations: 15.34 kB / 0.5331 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.3764, allocations: 106.2 kB / 0.5332 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.378, allocations: 0.9925 MB / 0.5341 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.3919, allocations: 5.673 MB / 0.5397 GB, free: 35.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/0.416, allocations: 20.2 MB / 0.5594 GB, free: 22.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/0.423, allocations: 1.809 MB / 0.5612 GB, free: 21.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.4239, allocations: 0.6926 MB / 0.5618 GB, free: 20.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005037/0.4289, allocations: 4.887 MB / 0.5666 GB, free: 16.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.429, allocations: 46.8 kB / 0.5667 GB, free: 16.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.624e-06/0.429, allocations: 0 / 0.5667 GB, free: 16.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03759/0.4666, allocations: 9.316 MB / 0.5758 GB, free: 9.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4667, allocations: 98.09 kB / 0.5759 GB, free: 9.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.4686, allocations: 1.976 MB / 0.5778 GB, free: 7.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/0.4687, allocations: 49.55 kB / 0.5778 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/0.4693, allocations: 1.735 MB / 0.5795 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.4695, allocations: 428.2 kB / 0.5799 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.4701, allocations: 0.5802 MB / 0.5805 GB, free: 4.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.4702, allocations: 305.1 kB / 0.5808 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.4714, allocations: 1.044 MB / 0.5818 GB, free: 3.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.4734, allocations: 2.665 MB / 0.5844 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/0.4789, allocations: 3.987 MB / 0.5883 GB, free: 11.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-05/0.479, allocations: 16 kB / 0.5883 GB, free: 11.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006671/0.4857, allocations: 3.694 MB / 0.5919 GB, free: 7.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.4858, allocations: 28 kB / 0.592 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.48e-05/0.4858, allocations: 60 kB / 0.592 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.99e-05/0.4859, allocations: 80.8 kB / 0.5921 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.4884, allocations: 0.7135 MB / 0.5928 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001014/0.4886, allocations: 111.6 kB / 0.5929 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.4911, allocations: 167.7 kB / 0.5931 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.4915, allocations: 164 kB / 0.5932 GB, free: 6.062 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (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 (373): * Single equations (assignments): 373 * 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.002981/0.4945, allocations: 1.21 MB / 0.5944 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/0.4951, allocations: 186.8 kB / 0.5946 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.4999, allocations: 1.732 MB / 0.5963 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.5, allocations: 12 kB / 0.5963 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5, allocations: 0 / 0.5963 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.5, allocations: 7.922 kB / 0.5963 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.5165, allocations: 5.871 MB / 0.602 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.5165, allocations: 12 kB / 0.602 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.5182, allocations: 209.3 kB / 0.6022 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.12e-05/0.5183, allocations: 16 kB / 0.6022 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.5184, allocations: 40 kB / 0.6023 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.002e-05/0.5185, allocations: 27.86 kB / 0.6023 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.334e-05/0.5185, allocations: 23.88 kB / 0.6023 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.5225, allocations: 1.695 MB / 0.604 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.5231, allocations: 275.8 kB / 0.6042 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/0.5235, allocations: 32 kB / 0.6043 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5248, allocations: 47.91 kB / 0.6043 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.5251, allocations: 96.22 kB / 0.6044 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.5252, allocations: 44.75 kB / 0.6045 GB, free: 10.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003047/0.5283, allocations: 1.296 MB / 0.6057 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5283, allocations: 0 / 0.6057 GB, free: 8.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003472/0.5318, allocations: 0.5311 MB / 0.6062 GB, free: 8.246 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.003563/0.5354, allocations: 2.344 MB / 0.6085 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.5392, allocations: 2.29 MB / 0.6108 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.5393, allocations: 0 / 0.6108 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009385/0.5402, allocations: 0.5991 MB / 0.6114 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.5417, allocations: 252.8 kB / 0.6116 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/0.5745, allocations: 22.34 MB / 0.6334 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.5768, allocations: 2.188 MB / 0.6355 GB, free: 7.582 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001938/0.5787, allocations: 0.7697 MB / 0.6363 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.5802, allocations: 1.066 MB / 0.6373 GB, free: 5.746 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5802, allocations: 3.938 kB / 0.6373 GB, free: 5.742 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.7873, allocations: 40.51 MB / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.05, allocations: 12 kB / 0.6769 GB, free: 13.16 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches