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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001319/0.00132, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.269/1.269, allocations: 222.9 MB / 243.1 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.1998/0.1998, allocations: 44.17 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3333, allocations: 60.82 MB / 0.5195 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01109/0.3444, allocations: 11.28 MB / 0.5306 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.3515, allocations: 2.786 MB / 0.5333 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.3536, allocations: 53.44 kB / 0.5333 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.3565, allocations: 1.313 MB / 0.5346 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.3599, allocations: 1.222 MB / 0.5358 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.3604, allocations: 77.53 kB / 0.5359 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003848/0.3643, allocations: 2.767 MB / 0.5386 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.3671, allocations: 1.845 MB / 0.5404 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.3692, allocations: 1.051 MB / 0.5414 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.3717, allocations: 1.449 MB / 0.5428 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007193/0.3725, allocations: 207.6 kB / 0.543 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.374, allocations: 0.5008 MB / 0.5435 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.3755, allocations: 1.422 MB / 0.5449 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.3775, allocations: 1.711 MB / 0.5466 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.3832, allocations: 5.491 MB / 0.5519 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3832, allocations: 0 / 0.5519 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3832, allocations: 0 / 0.5519 GB, free: 10.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001223/0.3834, allocations: 0 / 0.5519 GB, free: 10.92 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.005448/0.3888, allocations: 3.612 MB / 0.5555 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3889, allocations: 8.031 kB / 0.5555 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/0.3986, allocations: 2.932 MB / 0.5583 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.4017, allocations: 1.541 MB / 0.5598 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.4019, allocations: 172.6 kB / 0.56 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008726/0.4028, allocations: 228 kB / 0.5602 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.4189, allocations: 9.468 MB / 0.5695 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/0.419, allocations: 19.81 kB / 0.5695 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008372/0.4198, allocations: 107.8 kB / 0.5696 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/0.4237, allocations: 2.369 MB / 0.5719 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.4397, allocations: 8.664 MB / 0.5804 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0476/0.4874, allocations: 29.09 MB / 0.6088 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.4923, allocations: 3.052 MB / 0.6118 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4938, allocations: 0.9843 MB / 0.6127 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008354/0.5021, allocations: 4.829 MB / 0.6174 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.5022, allocations: 43.22 kB / 0.6175 GB, free: 5.992 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.588e-06/0.5022, allocations: 0 / 0.6175 GB, free: 5.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.005977/0.5082, allocations: 2.736 MB / 0.6201 GB, free: 3.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.5083, allocations: 64 kB / 0.6202 GB, free: 3.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.5126, allocations: 2.565 MB / 0.6227 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5127, allocations: 45.69 kB / 0.6228 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.5146, allocations: 2.649 MB / 0.6253 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/0.5153, allocations: 489.8 kB / 0.6258 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.5168, allocations: 0.9083 MB / 0.6267 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5171, allocations: 365.8 kB / 0.627 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.5194, allocations: 1.352 MB / 0.6284 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/0.5235, allocations: 4.118 MB / 0.6324 GB, free: 5.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006959/0.5305, allocations: 5.964 MB / 0.6382 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.5306, allocations: 28 kB / 0.6382 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009002/0.5396, allocations: 5.286 MB / 0.6434 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.5397, allocations: 44 kB / 0.6434 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.5399, allocations: 100.8 kB / 0.6435 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.54, allocations: 131.9 kB / 0.6437 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/0.5429, allocations: 0.9747 MB / 0.6446 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/0.543, allocations: 195.2 kB / 0.6448 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.546, allocations: 0.603 MB / 0.6454 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/0.5465, allocations: 276 kB / 0.6457 GB, free: 6.223 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.002998/0.5495, allocations: 1.891 MB / 0.6475 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.5499, allocations: 209.2 kB / 0.6477 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.5505, allocations: 275.3 kB / 0.648 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.904e-05/0.5505, allocations: 19.98 kB / 0.648 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.5506, allocations: 0 / 0.648 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5506, allocations: 3.984 kB / 0.648 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009918/0.5605, allocations: 5.615 MB / 0.6535 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5606, allocations: 4 kB / 0.6535 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.5612, allocations: 139.8 kB / 0.6536 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.5612, allocations: 8 kB / 0.6536 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.5613, allocations: 20 kB / 0.6536 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.5613, allocations: 15.94 kB / 0.6536 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5613, allocations: 4 kB / 0.6537 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.5637, allocations: 1.792 MB / 0.6554 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.5643, allocations: 286 kB / 0.6557 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/0.5647, allocations: 23.98 kB / 0.6557 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.5655, allocations: 39.97 kB / 0.6557 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.5656, allocations: 64.34 kB / 0.6558 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/0.5657, allocations: 40 kB / 0.6558 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002629/0.5683, allocations: 1.56 MB / 0.6574 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5684, allocations: 4 kB / 0.6574 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004251/0.5726, allocations: 1.003 MB / 0.6583 GB, free: 8.977 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.000515/0.5732, allocations: 150.9 kB / 0.6585 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005219/0.5784, allocations: 3.163 MB / 0.6616 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.5784, allocations: 4.25 kB / 0.6616 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.5794, allocations: 0.7413 MB / 0.6623 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.5811, allocations: 252.6 kB / 0.6625 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.5954, allocations: 7.572 MB / 0.6699 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/0.5996, allocations: 2.973 MB / 0.6728 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.6002, allocations: 195.4 kB / 0.673 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.6003, allocations: 0 / 0.673 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of Templates: time 0.3152/0.9155, allocations: 42.44 MB / 0.7145 GB, free: 168.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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