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.0008217/0.0008221, allocations: 91.06 kB / 17.35 MB, free: 6 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.0007748/0.0007748, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.23/1.23, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1675/0.1675, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1012, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02536/0.1266, allocations: 27.79 MB / 0.4884 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1375, allocations: 5.589 MB / 0.4939 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.1413, allocations: 111.8 kB / 0.494 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1423, allocations: 406.2 kB / 0.4944 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.145, allocations: 1.175 MB / 0.4955 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1453, allocations: 67.92 kB / 0.4956 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.1494, allocations: 4.028 MB / 0.4995 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/0.1525, allocations: 2.323 MB / 0.5018 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.1539, allocations: 0.84 MB / 0.5026 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1558, allocations: 1.424 MB / 0.504 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.1562, allocations: 116 kB / 0.5041 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.1571, allocations: 427.3 kB / 0.5045 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1884/0.3456, allocations: 1.324 MB / 0.5058 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.3489, allocations: 1.637 MB / 0.5074 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007343/0.3562, allocations: 5.033 MB / 0.5123 GB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3563, allocations: 3.656 kB / 0.5123 GB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3563, allocations: 0 / 0.5123 GB, free: 12.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.3565, allocations: 1.094 kB / 0.5123 GB, free: 12.38 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.00602/0.3626, allocations: 2.939 MB / 0.5152 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3626, allocations: 9.094 kB / 0.5152 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/0.3637, allocations: 0.6682 MB / 0.5159 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009555/0.3733, allocations: 3.021 MB / 0.5188 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3763, allocations: 1.533 MB / 0.5203 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3765, allocations: 171.4 kB / 0.5205 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.377, allocations: 224.7 kB / 0.5207 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.389, allocations: 9.475 MB / 0.5299 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.3891, allocations: 17.09 kB / 0.53 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.3894, allocations: 105.7 kB / 0.5301 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003046/0.3925, allocations: 2.377 MB / 0.5324 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.4055, allocations: 8.667 MB / 0.5408 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03591/0.4415, allocations: 29.32 MB / 0.5695 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.4461, allocations: 3.048 MB / 0.5725 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.4474, allocations: 0.9831 MB / 0.5734 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007559/0.455, allocations: 4.841 MB / 0.5781 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.455, allocations: 47.22 kB / 0.5782 GB, free: 12.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.296e-06/0.455, allocations: 0 / 0.5782 GB, free: 12.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.005663/0.4607, allocations: 2.73 MB / 0.5808 GB, free: 9.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4608, allocations: 60.06 kB / 0.5809 GB, free: 9.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.4648, allocations: 2.573 MB / 0.5834 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.4649, allocations: 37.7 kB / 0.5835 GB, free: 6.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.4666, allocations: 2.647 MB / 0.586 GB, free: 4.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.467, allocations: 0.4888 MB / 0.5865 GB, free: 3.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/0.4675, allocations: 395.7 kB / 0.5869 GB, free: 3.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4677, allocations: 365.9 kB / 0.5872 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.4697, allocations: 1.354 MB / 0.5886 GB, free: 1.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.4733, allocations: 4.114 MB / 0.5926 GB, free: 12.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/0.4794, allocations: 5.959 MB / 0.5984 GB, free: 5.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.969e-05/0.4795, allocations: 35.19 kB / 0.5984 GB, free: 5.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008581/0.4881, allocations: 5.277 MB / 0.6036 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4882, allocations: 51.94 kB / 0.6036 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.4884, allocations: 96 kB / 0.6037 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.4885, allocations: 134.7 kB / 0.6039 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.4913, allocations: 0.9766 MB / 0.6048 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001413/0.4915, allocations: 190.7 kB / 0.605 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.4945, allocations: 0.6031 MB / 0.6056 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004375/0.4949, allocations: 274.7 kB / 0.6058 GB, free: 14.35 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.003459/0.4984, allocations: 1.897 MB / 0.6077 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.4988, allocations: 213.1 kB / 0.6079 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.4994, allocations: 275.4 kB / 0.6082 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.4994, allocations: 22.19 kB / 0.6082 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.4994, allocations: 0 / 0.6082 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.4995, allocations: 3.984 kB / 0.6082 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00997/0.5094, allocations: 5.61 MB / 0.6137 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5095, allocations: 8.125 kB / 0.6137 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.5101, allocations: 136.5 kB / 0.6138 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.5101, allocations: 8 kB / 0.6138 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.5102, allocations: 20 kB / 0.6138 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.5102, allocations: 12.61 kB / 0.6138 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5102, allocations: 7 kB / 0.6139 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.5124, allocations: 1.792 MB / 0.6156 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.513, allocations: 313.9 kB / 0.6159 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/0.5134, allocations: 20 kB / 0.6159 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.5142, allocations: 38.14 kB / 0.616 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5143, allocations: 59.62 kB / 0.616 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/0.5144, allocations: 42.42 kB / 0.6161 GB, free: 3.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003036/0.5175, allocations: 1.56 MB / 0.6176 GB, free: 2.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5175, allocations: 4 kB / 0.6176 GB, free: 2.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005066/0.5226, allocations: 1.007 MB / 0.6186 GB, free: 1.242 MB / 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.003167/0.5257, allocations: 2.432 MB / 0.6209 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005062/0.5308, allocations: 3.133 MB / 0.624 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5308, allocations: 4 kB / 0.624 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.5317, allocations: 0.738 MB / 0.6247 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.5343, allocations: 245.8 kB / 0.625 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04446/0.5787, allocations: 32.97 MB / 0.6572 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004482/0.5833, allocations: 2.962 MB / 0.6601 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003333/0.5866, allocations: 1.486 MB / 0.6615 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/0.5885, allocations: 1.521 MB / 0.663 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/0.5885, allocations: 0 / 0.663 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.6502, allocations: 40.16 MB / 0.7022 GB, free: 7.055 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.6504, allocations: 194.8 kB / 0.7024 GB, free: 6.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.187, allocations: 3.75 kB / 0.7024 GB, free: 6.797 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