Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.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.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",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.001127/0.001127, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001115/0.001115, allocations: 192 kB / 18.56 MB, free: 4.434 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.345/1.345, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2132/0.2132, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.81 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01326/0.134, allocations: 11.29 MB / 480.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.1401, allocations: 2.788 MB / 483.4 MB, free: 120 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.1419, allocations: 55.88 kB / 483.5 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.1448, allocations: 1.308 MB / 484.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.1479, allocations: 1.225 MB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1484, allocations: 79.83 kB / 486.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.1518, allocations: 2.761 MB / 488.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.1545, allocations: 1.852 MB / 490.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.1564, allocations: 1.047 MB / 491.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.1587, allocations: 1.452 MB / 493.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006802/0.1594, allocations: 212 kB / 493.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.1609, allocations: 491.4 kB / 493.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.1626, allocations: 1.402 MB / 495.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.1653, allocations: 1.719 MB / 497 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.1709, allocations: 5.205 MB / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1709, allocations: 4 kB / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1709, allocations: 0 / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.1711, allocations: 0 / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.007934/0.1791, allocations: 3.616 MB / 0.494 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1791, allocations: 8.031 kB / 0.494 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.1802, allocations: 0.6671 MB / 0.4946 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/0.1901, allocations: 2.936 MB / 0.4975 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.1935, allocations: 1.53 MB / 0.499 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.1937, allocations: 172.6 kB / 0.4992 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007762/0.1945, allocations: 227.8 kB / 0.4994 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2494/0.4439, allocations: 9.464 MB / 0.5086 GB, free: 43.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.444, allocations: 18.94 kB / 0.5086 GB, free: 43.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.4444, allocations: 111.5 kB / 0.5087 GB, free: 43.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004673/0.4491, allocations: 2.369 MB / 0.5111 GB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.4689, allocations: 8.662 MB / 0.5195 GB, free: 40.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03214/0.5011, allocations: 29.3 MB / 0.5481 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.505, allocations: 3.056 MB / 0.5511 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.506, allocations: 0.9765 MB / 0.5521 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007123/0.5132, allocations: 4.84 MB / 0.5568 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5133, allocations: 39.22 kB / 0.5568 GB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 6.753e-06/0.5133, allocations: 1.594 kB / 0.5568 GB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=126): time 0.005461/0.5187, allocations: 2.736 MB / 0.5595 GB, free: 1.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.5188, allocations: 64.05 kB / 0.5596 GB, free: 1.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.5222, allocations: 2.569 MB / 0.5621 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.5224, allocations: 41.61 kB / 0.5621 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.524, allocations: 2.645 MB / 0.5647 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/0.5245, allocations: 0.4899 MB / 0.5652 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.5256, allocations: 0.8967 MB / 0.5661 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5258, allocations: 361.9 kB / 0.5664 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.5276, allocations: 1.355 MB / 0.5677 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/0.5311, allocations: 4.122 MB / 0.5718 GB, free: 3.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006494/0.5376, allocations: 5.96 MB / 0.5776 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.187e-05/0.5378, allocations: 28 kB / 0.5776 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009732/0.5475, allocations: 5.287 MB / 0.5828 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.5476, allocations: 52.17 kB / 0.5828 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.5477, allocations: 100 kB / 0.5829 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.5479, allocations: 128 kB / 0.583 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.5506, allocations: 0.9776 MB / 0.584 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/0.5507, allocations: 191.2 kB / 0.5842 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.5539, allocations: 0.5953 MB / 0.5847 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.5543, allocations: 279.9 kB / 0.585 GB, free: 4.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (540): * Single equations (assignments): 534 * Array equations: 6 * 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.003716/0.558, allocations: 1.895 MB / 0.5869 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.5584, allocations: 213.2 kB / 0.5871 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.5589, allocations: 279.4 kB / 0.5873 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.5589, allocations: 12 kB / 0.5873 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5589, allocations: 0 / 0.5873 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.559, allocations: 3.984 kB / 0.5874 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008638/0.5676, allocations: 5.618 MB / 0.5928 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.5676, allocations: 4 kB / 0.5928 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.5682, allocations: 131.8 kB / 0.593 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.5683, allocations: 8 kB / 0.593 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.5683, allocations: 23.98 kB / 0.593 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.5683, allocations: 11.94 kB / 0.593 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5683, allocations: 4 kB / 0.593 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.5704, allocations: 1.792 MB / 0.5948 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.5709, allocations: 286 kB / 0.595 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5712, allocations: 16 kB / 0.5951 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.5717, allocations: 43.95 kB / 0.5951 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5719, allocations: 60.36 kB / 0.5952 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.572, allocations: 47.98 kB / 0.5952 GB, free: 9.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002163/0.5741, allocations: 1.564 MB / 0.5967 GB, free: 8.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5741, allocations: 3.938 kB / 0.5967 GB, free: 8.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003614/0.5778, allocations: 1.006 MB / 0.5977 GB, free: 7.273 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.002573/0.5804, allocations: 2.437 MB / 0.6001 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.5865, allocations: 3.953 MB / 0.6039 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.5866, allocations: 1.875 kB / 0.604 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.5876, allocations: 0.7461 MB / 0.6047 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.5892, allocations: 248.4 kB / 0.6049 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04474/0.634, allocations: 31.12 MB / 0.6353 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003916/0.638, allocations: 2.97 MB / 0.6382 GB, free: 8.945 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003493/0.6415, allocations: 1.481 MB / 0.6397 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/0.6442, allocations: 1.519 MB / 0.6411 GB, free: 5.938 MB / 478.1 MB Notification: Performance of SimCode: time 1.714e-06/0.6442, allocations: 0 / 0.6411 GB, free: 5.938 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07816/0.7224, allocations: 41.13 MB / 0.6813 GB, free: 13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.907/9.629, allocations: 14.91 kB / 0.6813 GB, free: 12.99 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches