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.001123/0.001123, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001337/0.001337, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1863/0.1863, allocations: 43.52 MB / 314.1 MB, free: 448 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.001351/0.001351, allocations: 69.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.1006, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01091/0.1115, allocations: 10.34 MB / 0.4975 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.1182, allocations: 3.403 MB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.1198, allocations: 51.94 kB / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004854/0.1247, allocations: 2.625 MB / 0.5034 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.1268, allocations: 0.7113 MB / 0.5041 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.1288, allocations: 0.7094 MB / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002453/0.1312, allocations: 1.703 MB / 0.5065 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.1351, allocations: 3.353 MB / 0.5098 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.1367, allocations: 1.04 MB / 0.5108 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.1387, allocations: 1.359 MB / 0.5121 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006506/0.1393, allocations: 288 kB / 0.5124 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.1414, allocations: 0.983 MB / 0.5133 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.1429, allocations: 1.255 MB / 0.5146 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.1449, allocations: 1.45 MB / 0.516 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.1498, allocations: 4.915 MB / 0.5208 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1498, allocations: 0 / 0.5208 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1499, allocations: 0 / 0.5208 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.159e-05/0.1499, allocations: 0 / 0.5208 GB, free: 9.914 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.00591/0.1559, allocations: 3.155 MB / 0.5239 GB, free: 6.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1559, allocations: 15.89 kB / 0.5239 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005194/0.1564, allocations: 461.4 kB / 0.5243 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.1577, allocations: 382.7 kB / 0.5247 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.1602, allocations: 1.341 MB / 0.526 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.1604, allocations: 176.5 kB / 0.5262 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/0.1608, allocations: 227.9 kB / 0.5264 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2508/0.4116, allocations: 6.884 MB / 0.5331 GB, free: 37.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.4118, allocations: 18.75 kB / 0.5331 GB, free: 37.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007393/0.4126, allocations: 103.7 kB / 0.5332 GB, free: 37.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001728/0.4144, allocations: 0.9924 MB / 0.5342 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.4279, allocations: 5.672 MB / 0.5397 GB, free: 35.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.451, allocations: 20.2 MB / 0.5595 GB, free: 22.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/0.4576, allocations: 1.805 MB / 0.5612 GB, free: 21.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.4583, allocations: 0.6943 MB / 0.5619 GB, free: 20.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00483/0.4632, allocations: 4.892 MB / 0.5667 GB, free: 17.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4632, allocations: 35.12 kB / 0.5667 GB, free: 17.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.275e-06/0.4632, allocations: 3.844 kB / 0.5667 GB, free: 17.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03678/0.5, allocations: 9.323 MB / 0.5758 GB, free: 9.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5001, allocations: 90.11 kB / 0.5759 GB, free: 9.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5021, allocations: 1.982 MB / 0.5778 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.5022, allocations: 45.7 kB / 0.5779 GB, free: 7.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.5029, allocations: 1.737 MB / 0.5796 GB, free: 5.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.5031, allocations: 428 kB / 0.58 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006052/0.5037, allocations: 0.5763 MB / 0.5806 GB, free: 4.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.5038, allocations: 305.1 kB / 0.5808 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.505, allocations: 1.045 MB / 0.5819 GB, free: 3.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.5069, allocations: 2.661 MB / 0.5845 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.5112, allocations: 3.987 MB / 0.5884 GB, free: 11.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.677e-05/0.5112, allocations: 16 kB / 0.5884 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005251/0.5165, allocations: 3.7 MB / 0.592 GB, free: 7.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.5165, allocations: 28.97 kB / 0.592 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/0.5166, allocations: 59.98 kB / 0.5921 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.807e-05/0.5167, allocations: 80 kB / 0.5921 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.5189, allocations: 0.7097 MB / 0.5928 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.718e-05/0.519, allocations: 111.6 kB / 0.5929 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5207, allocations: 167.5 kB / 0.5931 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.5209, allocations: 160 kB / 0.5933 GB, free: 6.145 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.00153/0.5224, allocations: 1.218 MB / 0.5944 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.5227, allocations: 182.8 kB / 0.5946 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.5254, allocations: 1.735 MB / 0.5963 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.5254, allocations: 12 kB / 0.5963 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5254, allocations: 0 / 0.5963 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5255, allocations: 11.92 kB / 0.5963 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008591/0.5341, allocations: 5.862 MB / 0.6021 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.5341, allocations: 12.97 kB / 0.6021 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.5349, allocations: 215.6 kB / 0.6023 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.5349, allocations: 20 kB / 0.6023 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.535, allocations: 36 kB / 0.6023 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/0.535, allocations: 27.86 kB / 0.6024 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/0.535, allocations: 15.94 kB / 0.6024 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.537, allocations: 1.699 MB / 0.604 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.5373, allocations: 275.8 kB / 0.6043 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.5375, allocations: 32 kB / 0.6043 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.5382, allocations: 43.91 kB / 0.6044 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5384, allocations: 108.2 kB / 0.6045 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.5384, allocations: 44 kB / 0.6045 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.54, allocations: 1.288 MB / 0.6058 GB, free: 8.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.54, allocations: 4 kB / 0.6058 GB, free: 8.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002047/0.5421, allocations: 0.5311 MB / 0.6063 GB, free: 8.312 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.002399/0.5445, allocations: 2.343 MB / 0.6086 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.5476, allocations: 2.278 MB / 0.6108 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5477, allocations: 4.875 kB / 0.6108 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.5484, allocations: 0.5953 MB / 0.6114 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.5497, allocations: 251 kB / 0.6116 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/0.5773, allocations: 22.35 MB / 0.6335 GB, free: 9.871 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.5794, allocations: 2.188 MB / 0.6356 GB, free: 7.656 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001773/0.5812, allocations: 0.7664 MB / 0.6363 GB, free: 6.887 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.5825, allocations: 1.062 MB / 0.6374 GB, free: 5.824 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5825, allocations: 3.938 kB / 0.6374 GB, free: 5.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07125/0.6538, allocations: 40.51 MB / 0.6769 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.04, allocations: 7.375 kB / 0.677 GB, free: 13.25 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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