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.001238/0.001238, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001214/0.001214, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2166/0.2166, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3365, allocations: 60.82 MB / 0.5184 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01152/0.3481, allocations: 11.28 MB / 0.5294 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007766/0.3559, allocations: 2.799 MB / 0.5322 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002718/0.3587, allocations: 52.41 kB / 0.5322 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003378/0.3621, allocations: 1.297 MB / 0.5335 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.3665, allocations: 1.265 MB / 0.5347 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.3672, allocations: 78.78 kB / 0.5348 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005593/0.3728, allocations: 2.759 MB / 0.5375 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.376, allocations: 1.855 MB / 0.5393 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.3786, allocations: 1.048 MB / 0.5403 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.3814, allocations: 1.447 MB / 0.5417 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3825, allocations: 213.2 kB / 0.5419 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.3847, allocations: 0.4905 MB / 0.5424 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.387, allocations: 1.421 MB / 0.5438 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.39, allocations: 1.715 MB / 0.5455 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007357/0.3974, allocations: 5.523 MB / 0.5509 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3975, allocations: 0 / 0.5509 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3975, allocations: 0 / 0.5509 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001854/0.3977, allocations: 0 / 0.5509 GB, free: 10.89 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.007557/0.4052, allocations: 3.711 MB / 0.5545 GB, free: 7.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4053, allocations: 12.03 kB / 0.5545 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001606/0.4069, allocations: 0.6632 MB / 0.5552 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.4172, allocations: 2.966 MB / 0.558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/0.4211, allocations: 1.542 MB / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.4213, allocations: 172.6 kB / 0.5597 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000923/0.4223, allocations: 227.8 kB / 0.5599 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.439, allocations: 9.464 MB / 0.5692 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.4392, allocations: 23.8 kB / 0.5692 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000496/0.4397, allocations: 111.8 kB / 0.5693 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003812/0.4435, allocations: 2.369 MB / 0.5716 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.4586, allocations: 8.664 MB / 0.5801 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.499, allocations: 29.15 MB / 0.6086 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00506/0.5041, allocations: 3.049 MB / 0.6115 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5055, allocations: 0.9881 MB / 0.6125 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009083/0.5146, allocations: 4.85 MB / 0.6172 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5147, allocations: 39.22 kB / 0.6173 GB, free: 5.074 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.709e-06/0.5147, allocations: 0 / 0.6173 GB, free: 5.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.00609/0.5208, allocations: 2.749 MB / 0.62 GB, free: 2.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5209, allocations: 60.06 kB / 0.62 GB, free: 2.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.5248, allocations: 2.574 MB / 0.6225 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.525, allocations: 41.7 kB / 0.6226 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.527, allocations: 2.763 MB / 0.6253 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000618/0.5276, allocations: 0.504 MB / 0.6258 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.5289, allocations: 0.913 MB / 0.6266 GB, free: 11.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5291, allocations: 357.9 kB / 0.627 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.5312, allocations: 1.359 MB / 0.6283 GB, free: 9.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.5357, allocations: 4.118 MB / 0.6323 GB, free: 4.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/0.5428, allocations: 5.968 MB / 0.6382 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/0.543, allocations: 28 kB / 0.6382 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009807/0.5528, allocations: 5.292 MB / 0.6434 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.06e-05/0.553, allocations: 48.22 kB / 0.6434 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/0.5531, allocations: 103.9 kB / 0.6435 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.5532, allocations: 128 kB / 0.6436 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.5563, allocations: 0.9747 MB / 0.6446 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001757/0.5565, allocations: 195.2 kB / 0.6448 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.5596, allocations: 0.6166 MB / 0.6454 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006756/0.5603, allocations: 276 kB / 0.6456 GB, free: 5.145 MB / 0.4981 GB 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.003017/0.5634, allocations: 1.895 MB / 0.6475 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.5637, allocations: 226.4 kB / 0.6477 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.5643, allocations: 271.4 kB / 0.648 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.5643, allocations: 19.98 kB / 0.648 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5643, allocations: 0 / 0.648 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5644, allocations: 3.984 kB / 0.648 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009961/0.5743, allocations: 5.615 MB / 0.6535 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.5744, allocations: 4 kB / 0.6535 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.575, allocations: 139.8 kB / 0.6536 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.575, allocations: 8 kB / 0.6536 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.5751, allocations: 23.98 kB / 0.6536 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.5751, allocations: 11.94 kB / 0.6536 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5751, allocations: 4 kB / 0.6536 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5772, allocations: 1.805 MB / 0.6554 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.5778, allocations: 295.3 kB / 0.6557 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.5781, allocations: 19.98 kB / 0.6557 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.5787, allocations: 35.97 kB / 0.6557 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5788, allocations: 68.36 kB / 0.6558 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.5789, allocations: 39.98 kB / 0.6558 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002258/0.5812, allocations: 1.56 MB / 0.6574 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5812, allocations: 0 / 0.6574 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003533/0.5847, allocations: 1.02 MB / 0.6584 GB, free: 7.855 MB / 0.5137 GB 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.002717/0.5875, allocations: 2.452 MB / 0.6608 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004811/0.5923, allocations: 3.158 MB / 0.6638 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.5924, allocations: 2 kB / 0.6638 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.5933, allocations: 0.7385 MB / 0.6646 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.5947, allocations: 263.4 kB / 0.6648 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/0.6369, allocations: 29.38 MB / 0.6935 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004114/0.6411, allocations: 2.966 MB / 0.6964 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003371/0.6445, allocations: 1.484 MB / 0.6979 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/0.6471, allocations: 1.518 MB / 0.6993 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of SimCode: time 1.703e-06/0.6472, allocations: 4 kB / 0.6993 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/0.949, allocations: 38.57 MB / 0.737 GB, free: 188.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.01, allocations: 17.02 kB / 0.737 GB, free: 188.1 MB / 0.5762 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