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.001387/0.001387, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001391/0.001391, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.434/1.434, 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.216/0.216, allocations: 43.52 MB / 314.1 MB, free: 456 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.002074/0.002074, allocations: 77.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1042, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01272/0.117, allocations: 10.32 MB / 0.4975 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.1247, allocations: 3.403 MB / 0.5008 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1261, allocations: 51.94 kB / 0.5009 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005076/0.1312, allocations: 2.633 MB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.1332, allocations: 0.6683 MB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.135, allocations: 0.7133 MB / 0.5048 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.1374, allocations: 1.71 MB / 0.5065 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.1414, allocations: 3.345 MB / 0.5097 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.143, allocations: 1.052 MB / 0.5108 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.1452, allocations: 1.351 MB / 0.5121 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006221/0.1458, allocations: 288 kB / 0.5124 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.1478, allocations: 0.9908 MB / 0.5133 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.1492, allocations: 1.239 MB / 0.5145 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.151, allocations: 1.457 MB / 0.516 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005949/0.157, allocations: 4.9 MB / 0.5207 GB, free: 9.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.157, allocations: 0 / 0.5207 GB, free: 9.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.157, allocations: 0 / 0.5207 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.619e-05/0.1571, allocations: 0 / 0.5207 GB, free: 9.988 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.006964/0.1641, allocations: 3.156 MB / 0.5238 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1641, allocations: 11.89 kB / 0.5238 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006572/0.1648, allocations: 465.4 kB / 0.5243 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.1662, allocations: 374.7 kB / 0.5246 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.1687, allocations: 1.345 MB / 0.5259 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.1689, allocations: 176.5 kB / 0.5261 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.1693, allocations: 231.9 kB / 0.5263 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2376/0.4069, allocations: 6.89 MB / 0.5331 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.275e-05/0.407, allocations: 15.44 kB / 0.5331 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.4073, allocations: 102.4 kB / 0.5332 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.4088, allocations: 0.9943 MB / 0.5342 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.4221, allocations: 5.672 MB / 0.5397 GB, free: 35.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.4457, allocations: 20.2 MB / 0.5594 GB, free: 22.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.4526, allocations: 1.809 MB / 0.5612 GB, free: 21.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009178/0.4535, allocations: 0.6877 MB / 0.5619 GB, free: 20.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005078/0.4586, allocations: 4.893 MB / 0.5666 GB, free: 16.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4587, allocations: 39.06 kB / 0.5667 GB, free: 16.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/0.4587, allocations: 0 / 0.5667 GB, free: 16.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03686/0.4955, allocations: 9.321 MB / 0.5758 GB, free: 9.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4956, allocations: 94.11 kB / 0.5759 GB, free: 9.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.4975, allocations: 1.975 MB / 0.5778 GB, free: 7.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4976, allocations: 45.7 kB / 0.5778 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/0.4982, allocations: 1.731 MB / 0.5795 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.4985, allocations: 429.9 kB / 0.5799 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.4991, allocations: 0.5763 MB / 0.5805 GB, free: 4.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.4991, allocations: 309.1 kB / 0.5808 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5004, allocations: 1.046 MB / 0.5818 GB, free: 3.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.5021, allocations: 2.661 MB / 0.5844 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/0.5073, allocations: 3.994 MB / 0.5883 GB, free: 11.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.652e-05/0.5074, allocations: 16 kB / 0.5883 GB, free: 11.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006383/0.5138, allocations: 3.696 MB / 0.5919 GB, free: 7.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.5139, allocations: 28 kB / 0.592 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-05/0.5139, allocations: 56 kB / 0.592 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-05/0.514, allocations: 80 kB / 0.5921 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.5165, allocations: 0.7096 MB / 0.5928 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-05/0.5166, allocations: 111.6 kB / 0.5929 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5184, allocations: 174.2 kB / 0.5931 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.5187, allocations: 160.8 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.001829/0.5205, allocations: 1.203 MB / 0.5944 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.5208, allocations: 186.8 kB / 0.5946 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.5239, allocations: 1.739 MB / 0.5963 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5239, allocations: 12 kB / 0.5963 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5239, allocations: 0 / 0.5963 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5239, allocations: 11.91 kB / 0.5963 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5342, allocations: 5.872 MB / 0.602 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.5342, allocations: 12.88 kB / 0.602 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.5351, allocations: 207.6 kB / 0.6022 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.046e-05/0.5352, allocations: 16 kB / 0.6022 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.5353, allocations: 36 kB / 0.6023 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.633e-05/0.5353, allocations: 31.8 kB / 0.6023 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/0.5353, allocations: 21.25 kB / 0.6023 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5377, allocations: 1.695 MB / 0.604 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.5381, allocations: 275.8 kB / 0.6043 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.5384, allocations: 35.98 kB / 0.6043 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.5391, allocations: 43.92 kB / 0.6043 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5392, allocations: 96.22 kB / 0.6044 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.5393, allocations: 47.98 kB / 0.6045 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001934/0.5413, allocations: 1.292 MB / 0.6057 GB, free: 8.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.255e-06/0.5413, allocations: 3.844 kB / 0.6057 GB, free: 8.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002317/0.5436, allocations: 0.535 MB / 0.6063 GB, free: 8.238 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.003005/0.5466, allocations: 2.336 MB / 0.6085 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00396/0.5506, allocations: 2.29 MB / 0.6108 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5506, allocations: 0 / 0.6108 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.5516, allocations: 0.5952 MB / 0.6114 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5531, allocations: 256.6 kB / 0.6116 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/0.5865, allocations: 22.34 MB / 0.6334 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/0.589, allocations: 2.176 MB / 0.6355 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002033/0.5911, allocations: 0.7725 MB / 0.6363 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.5926, allocations: 1.066 MB / 0.6373 GB, free: 5.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5926, allocations: 3.938 kB / 0.6373 GB, free: 5.746 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0802/0.6729, allocations: 40.51 MB / 0.6769 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.28, allocations: 8.047 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 & 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