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.001382/0.001382, allocations: 117.2 kB / 17.78 MB, free: 5.266 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.001561/0.001561, allocations: 184.2 kB / 18.71 MB, free: 4.344 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2264/0.2264, allocations: 44.17 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3909, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01209/0.403, allocations: 11.29 MB / 0.5294 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.4107, allocations: 2.792 MB / 0.5322 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.4136, allocations: 51.88 kB / 0.5322 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.4172, allocations: 1.306 MB / 0.5335 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.4213, allocations: 1.262 MB / 0.5347 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.4219, allocations: 82.09 kB / 0.5348 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005102/0.427, allocations: 2.748 MB / 0.5375 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.4317, allocations: 1.848 MB / 0.5393 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.4345, allocations: 1.055 MB / 0.5403 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.4382, allocations: 1.448 MB / 0.5417 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009732/0.4392, allocations: 208.2 kB / 0.5419 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.4411, allocations: 0.4898 MB / 0.5424 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.4432, allocations: 1.426 MB / 0.5438 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002806/0.446, allocations: 1.723 MB / 0.5455 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.4531, allocations: 5.491 MB / 0.5508 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4532, allocations: 0 / 0.5508 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4532, allocations: 0 / 0.5508 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.4534, allocations: 0 / 0.5508 GB, free: 10.79 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.007196/0.4606, allocations: 3.608 MB / 0.5544 GB, free: 7.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4606, allocations: 8.031 kB / 0.5544 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.4619, allocations: 0.671 MB / 0.555 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009539/0.4715, allocations: 2.936 MB / 0.5579 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.475, allocations: 1.534 MB / 0.5594 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4752, allocations: 172.6 kB / 0.5596 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008799/0.4761, allocations: 227.8 kB / 0.5598 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.494, allocations: 9.472 MB / 0.569 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.129e-05/0.4941, allocations: 15.81 kB / 0.569 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008754/0.495, allocations: 103.8 kB / 0.5691 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003851/0.4989, allocations: 2.377 MB / 0.5715 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.5173, allocations: 8.672 MB / 0.5799 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04874/0.5661, allocations: 29.09 MB / 0.6083 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/0.5716, allocations: 3.056 MB / 0.6113 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.5733, allocations: 0.9765 MB / 0.6123 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.5837, allocations: 4.83 MB / 0.617 GB, free: 5.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.5838, allocations: 47.22 kB / 0.617 GB, free: 5.176 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 5.48e-06/0.5838, allocations: 0 / 0.617 GB, free: 5.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.007019/0.5908, allocations: 2.732 MB / 0.6197 GB, free: 2.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5909, allocations: 60.06 kB / 0.6198 GB, free: 2.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.5964, allocations: 2.569 MB / 0.6223 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.5966, allocations: 37.7 kB / 0.6223 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.5991, allocations: 2.649 MB / 0.6249 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.5999, allocations: 497.7 kB / 0.6254 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.6021, allocations: 0.9006 MB / 0.6262 GB, free: 11.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.6023, allocations: 361.9 kB / 0.6266 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/0.6048, allocations: 1.352 MB / 0.6279 GB, free: 9.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004777/0.6097, allocations: 4.122 MB / 0.6319 GB, free: 4.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/0.6171, allocations: 5.964 MB / 0.6378 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.6173, allocations: 28 kB / 0.6378 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01037/0.6277, allocations: 5.278 MB / 0.6429 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6279, allocations: 51.94 kB / 0.643 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.6281, allocations: 100 kB / 0.6431 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.6283, allocations: 128.8 kB / 0.6432 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.6316, allocations: 0.9824 MB / 0.6442 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002001/0.6318, allocations: 191.3 kB / 0.6443 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.6355, allocations: 0.5991 MB / 0.6449 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008058/0.6364, allocations: 280 kB / 0.6452 GB, free: 5.422 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.003767/0.6401, allocations: 1.899 MB / 0.6471 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.6406, allocations: 213.2 kB / 0.6473 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.6414, allocations: 275.4 kB / 0.6475 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/0.6414, allocations: 16 kB / 0.6475 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.6415, allocations: 0 / 0.6475 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6415, allocations: 3.984 kB / 0.6475 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.6534, allocations: 5.611 MB / 0.653 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.6535, allocations: 8.031 kB / 0.653 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.6541, allocations: 135.8 kB / 0.6532 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.6542, allocations: 8 kB / 0.6532 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/0.6543, allocations: 27.98 kB / 0.6532 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/0.6543, allocations: 15.92 kB / 0.6532 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6543, allocations: 8 kB / 0.6532 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6567, allocations: 1.784 MB / 0.655 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.6574, allocations: 286 kB / 0.6552 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000428/0.6579, allocations: 24 kB / 0.6552 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.6588, allocations: 39.94 kB / 0.6553 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.659, allocations: 60.38 kB / 0.6553 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.6591, allocations: 43.98 kB / 0.6554 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003241/0.6623, allocations: 1.556 MB / 0.6569 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6624, allocations: 4 kB / 0.6569 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005059/0.6674, allocations: 1.011 MB / 0.6579 GB, free: 8.164 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.00345/0.6709, allocations: 2.431 MB / 0.6603 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.6763, allocations: 3.155 MB / 0.6634 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/0.6764, allocations: 0 / 0.6634 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6775, allocations: 0.7429 MB / 0.6641 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.6799, allocations: 259.8 kB / 0.6643 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/0.7324, allocations: 29.25 MB / 0.6929 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/0.7383, allocations: 2.966 MB / 0.6958 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004076/0.7424, allocations: 1.481 MB / 0.6972 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003082/0.7455, allocations: 1.519 MB / 0.6987 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/0.7455, allocations: 0 / 0.6987 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9207/1.666, allocations: 38.58 MB / 0.7364 GB, free: 188.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.67, allocations: 8.328 kB / 0.7364 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 & /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