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.001288/0.001288, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001201/0.001201, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2019/0.2019, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01079/0.3823, allocations: 9.6 MB / 0.5278 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008127/0.3905, allocations: 3.383 MB / 0.5311 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.3929, allocations: 51.53 kB / 0.5312 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005636/0.3985, allocations: 2.606 MB / 0.5337 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.4014, allocations: 0.6314 MB / 0.5343 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.4039, allocations: 0.7164 MB / 0.535 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.407, allocations: 1.573 MB / 0.5366 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005412/0.4124, allocations: 3.279 MB / 0.5398 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.4149, allocations: 1 MB / 0.5407 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.4178, allocations: 1.303 MB / 0.542 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.419, allocations: 279.8 kB / 0.5423 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.422, allocations: 1.007 MB / 0.5433 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.4239, allocations: 1.173 MB / 0.5444 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.4266, allocations: 1.368 MB / 0.5457 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007924/0.4346, allocations: 4.671 MB / 0.5503 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.4346, allocations: 0 / 0.5503 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4346, allocations: 0 / 0.5503 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.4348, allocations: 0 / 0.5503 GB, free: 11.34 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.008001/0.4428, allocations: 2.991 MB / 0.5532 GB, free: 8.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4429, allocations: 8.031 kB / 0.5532 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006744/0.4436, allocations: 431.1 kB / 0.5536 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.4449, allocations: 370.8 kB / 0.554 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.4476, allocations: 1.313 MB / 0.5553 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.4478, allocations: 160.2 kB / 0.5554 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/0.4482, allocations: 212 kB / 0.5556 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.4618, allocations: 6.472 MB / 0.562 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.4619, allocations: 19.88 kB / 0.562 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.4622, allocations: 95.95 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/0.4633, allocations: 0.82 MB / 0.5629 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.4767, allocations: 5.466 MB / 0.5682 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/0.505, allocations: 19.01 MB / 0.5868 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007309/0.5123, allocations: 1.817 MB / 0.5885 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.5134, allocations: 0.69 MB / 0.5892 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006797/0.5202, allocations: 4.711 MB / 0.5938 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5203, allocations: 47.12 kB / 0.5939 GB, free: 13.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.5203, allocations: 0 / 0.5939 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04045/0.5607, allocations: 8.872 MB / 0.6025 GB, free: 4.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.5609, allocations: 72.34 kB / 0.6026 GB, free: 4.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.5633, allocations: 1.839 MB / 0.6044 GB, free: 2.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.5634, allocations: 45.7 kB / 0.6044 GB, free: 2.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.5644, allocations: 1.585 MB / 0.606 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.5648, allocations: 432.6 kB / 0.6064 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007586/0.5656, allocations: 0.5446 MB / 0.6069 GB, free: 15.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5657, allocations: 301.1 kB / 0.6072 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.5673, allocations: 1.024 MB / 0.6082 GB, free: 14.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.57, allocations: 2.517 MB / 0.6107 GB, free: 11.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.5752, allocations: 3.815 MB / 0.6144 GB, free: 6.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.5753, allocations: 12 kB / 0.6144 GB, free: 6.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005842/0.5811, allocations: 3.548 MB / 0.6179 GB, free: 3.238 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.5812, allocations: 28 kB / 0.6179 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.962e-05/0.5813, allocations: 52 kB / 0.618 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.5814, allocations: 72 kB / 0.618 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.5837, allocations: 0.6667 MB / 0.6187 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-05/0.5838, allocations: 103.6 kB / 0.6188 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.5856, allocations: 159.9 kB / 0.6189 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.5859, allocations: 156.1 kB / 0.6191 GB, free: 2.012 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.001741/0.5876, allocations: 1.129 MB / 0.6202 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.588, allocations: 178.8 kB / 0.6203 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.5909, allocations: 1.757 MB / 0.6221 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5909, allocations: 12 kB / 0.6221 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5909, allocations: 3.938 kB / 0.6221 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5909, allocations: 3.984 kB / 0.6221 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00909/0.6, allocations: 5.59 MB / 0.6275 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.6001, allocations: 8.188 kB / 0.6275 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.6009, allocations: 219.6 kB / 0.6278 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/0.601, allocations: 16 kB / 0.6278 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.601, allocations: 32 kB / 0.6278 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/0.6011, allocations: 27.86 kB / 0.6278 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.6011, allocations: 15.94 kB / 0.6278 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.6033, allocations: 1.691 MB / 0.6295 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.6038, allocations: 259.9 kB / 0.6297 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.604, allocations: 35.98 kB / 0.6298 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.6047, allocations: 43.91 kB / 0.6298 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6048, allocations: 104.2 kB / 0.6299 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.6049, allocations: 43.98 kB / 0.63 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.6066, allocations: 1.203 MB / 0.6311 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6066, allocations: 4 kB / 0.6311 GB, free: 5.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002299/0.6089, allocations: 0.496 MB / 0.6316 GB, free: 4.688 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.00275/0.6117, allocations: 2.323 MB / 0.6339 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.6153, allocations: 2.227 MB / 0.6361 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.6153, allocations: 0 / 0.6361 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.6161, allocations: 0.6031 MB / 0.6367 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.6177, allocations: 269.8 kB / 0.6369 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/0.649, allocations: 21.17 MB / 0.6576 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.6513, allocations: 2.067 MB / 0.6596 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002/0.6534, allocations: 0.7266 MB / 0.6603 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.6549, allocations: 0.9679 MB / 0.6613 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of SimCode: time 3.026e-06/0.6549, allocations: 0 / 0.6613 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/0.7295, allocations: 39.17 MB / 0.6995 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.99, allocations: 11.28 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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