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.001165/0.001165, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001226/0.001226, allocations: 194 kB / 18.12 MB, free: 5.383 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.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 13.81 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.2006/0.2006, allocations: 44.18 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.19 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02659/0.1323, allocations: 28.7 MB / 497.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1448, allocations: 5.613 MB / 0.4912 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.1494, allocations: 115.8 kB / 0.4913 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.1524, allocations: 1.27 MB / 0.4925 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1554, allocations: 1.164 MB / 0.4936 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.1559, allocations: 75.86 kB / 0.4937 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.1609, allocations: 4.034 MB / 0.4977 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.1638, allocations: 1.835 MB / 0.4994 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.1659, allocations: 0.9181 MB / 0.5003 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.1684, allocations: 1.53 MB / 0.5018 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006321/0.1691, allocations: 152 kB / 0.502 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.1704, allocations: 463.3 kB / 0.5024 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2403/0.4108, allocations: 1.357 MB / 0.5037 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005217/0.4161, allocations: 1.677 MB / 0.5054 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009871/0.426, allocations: 5.157 MB / 0.5104 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.426, allocations: 0.7031 kB / 0.5104 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4261, allocations: 0 / 0.5104 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000267/0.4263, allocations: 1.031 kB / 0.5104 GB, free: 13.25 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.01274/0.4391, allocations: 3.601 MB / 0.5139 GB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.4392, allocations: 9.656 kB / 0.514 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002356/0.4415, allocations: 0.672 MB / 0.5146 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4523, allocations: 2.94 MB / 0.5175 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.4563, allocations: 1.531 MB / 0.519 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.4567, allocations: 173.3 kB / 0.5191 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.458, allocations: 222.1 kB / 0.5193 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4736, allocations: 9.475 MB / 0.5286 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/0.4737, allocations: 18.12 kB / 0.5286 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.4741, allocations: 106.3 kB / 0.5287 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/0.4773, allocations: 2.374 MB / 0.531 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.4905, allocations: 8.669 MB / 0.5395 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04376/0.5343, allocations: 29.3 MB / 0.5681 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/0.5395, allocations: 3.044 MB / 0.5711 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.5411, allocations: 0.9843 MB / 0.5721 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009639/0.5507, allocations: 4.836 MB / 0.5768 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5508, allocations: 47.2 kB / 0.5768 GB, free: 12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.6e-06/0.5508, allocations: 0 / 0.5768 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.00663/0.5575, allocations: 2.727 MB / 0.5795 GB, free: 9.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.5576, allocations: 63.06 kB / 0.5795 GB, free: 9.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00533/0.5629, allocations: 2.579 MB / 0.5821 GB, free: 6.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.57e-05/0.563, allocations: 37.7 kB / 0.5821 GB, free: 6.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/0.5651, allocations: 2.646 MB / 0.5847 GB, free: 3.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005812/0.5657, allocations: 497.1 kB / 0.5852 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.5673, allocations: 0.9033 MB / 0.586 GB, free: 2.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5675, allocations: 365.9 kB / 0.5864 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.5696, allocations: 1.352 MB / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/0.5741, allocations: 4.116 MB / 0.5917 GB, free: 11.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006958/0.5811, allocations: 5.963 MB / 0.5976 GB, free: 4.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.5812, allocations: 28 kB / 0.5976 GB, free: 4.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01008/0.5913, allocations: 5.281 MB / 0.6027 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5915, allocations: 54.22 kB / 0.6028 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001881/0.5917, allocations: 96.86 kB / 0.6029 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.5919, allocations: 128 kB / 0.603 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.5951, allocations: 0.9783 MB / 0.604 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002235/0.5953, allocations: 193.8 kB / 0.6041 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.5989, allocations: 0.603 MB / 0.6047 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006749/0.5996, allocations: 276 kB / 0.605 GB, free: 13.47 MB / 462.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.003925/0.6035, allocations: 1.897 MB / 0.6068 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.604, allocations: 217.1 kB / 0.6071 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.6048, allocations: 279.2 kB / 0.6073 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.6049, allocations: 16 kB / 0.6073 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6049, allocations: 0 / 0.6073 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6049, allocations: 3.984 kB / 0.6073 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.6174, allocations: 5.606 MB / 0.6128 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6174, allocations: 7.984 kB / 0.6128 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.618, allocations: 137.5 kB / 0.613 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.618, allocations: 8 kB / 0.613 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.6181, allocations: 20 kB / 0.613 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.6181, allocations: 11.27 kB / 0.613 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6181, allocations: 12 kB / 0.613 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.6206, allocations: 1.797 MB / 0.6148 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.6212, allocations: 290 kB / 0.615 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/0.6216, allocations: 16 kB / 0.615 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007795/0.6224, allocations: 39.95 kB / 0.6151 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6226, allocations: 61.59 kB / 0.6151 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/0.6227, allocations: 51.11 kB / 0.6152 GB, free: 2.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002877/0.6256, allocations: 1.553 MB / 0.6167 GB, free: 1.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6256, allocations: 0 / 0.6167 GB, free: 1.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004111/0.6297, allocations: 1.014 MB / 0.6177 GB, free: 392 kB / 462.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.002835/0.6325, allocations: 2.425 MB / 0.6201 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004993/0.6375, allocations: 3.13 MB / 0.6231 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6376, allocations: 4 kB / 0.6231 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.6386, allocations: 0.741 MB / 0.6238 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.6401, allocations: 246.9 kB / 0.6241 GB, free: 9.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/0.7088, allocations: 32.96 MB / 0.6563 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006914/0.7158, allocations: 2.963 MB / 0.6592 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006102/0.7219, allocations: 1.484 MB / 0.6606 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/0.7255, allocations: 1.511 MB / 0.6621 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/0.7255, allocations: 0 / 0.6621 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.7962, allocations: 40.43 MB / 0.7016 GB, free: 6.02 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.7965, allocations: 201.5 kB / 0.7018 GB, free: 5.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.757, allocations: 4 kB / 0.7018 GB, free: 5.754 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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