Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007565/0.0007568, allocations: 92.91 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2808/0.2808, allocations: 45.02 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002885, allocations: 4 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3103, allocations: 63.1 MB / 0.5214 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.019/0.3294, allocations: 25.99 MB / 0.5468 GB, free: 19.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.3419, allocations: 7.241 MB / 0.5538 GB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005444/0.3474, allocations: 114.7 kB / 0.5539 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.3487, allocations: 404 kB / 0.5543 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.3518, allocations: 1.17 MB / 0.5555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3521, allocations: 72.19 kB / 0.5555 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.3563, allocations: 4.027 MB / 0.5595 GB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.3593, allocations: 2.71 MB / 0.5621 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.3607, allocations: 0.9088 MB / 0.563 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.3625, allocations: 1.414 MB / 0.5644 GB, free: 9.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.3628, allocations: 116.3 kB / 0.5645 GB, free: 9.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.3638, allocations: 413.3 kB / 0.5649 GB, free: 9.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3649, allocations: 1.306 MB / 0.5662 GB, free: 8.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.366, allocations: 1.639 MB / 0.5678 GB, free: 6.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.3697, allocations: 5.028 MB / 0.5727 GB, free: 1.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.3697, allocations: 0 / 0.5727 GB, free: 1.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3697, allocations: 4 kB / 0.5727 GB, free: 1.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.3699, allocations: 0 / 0.5727 GB, free: 1.902 MB / 378.7 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.004057/0.3739, allocations: 2.934 MB / 0.5755 GB, free: 14.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.374, allocations: 11.97 kB / 0.5755 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008964/0.3829, allocations: 3.022 MB / 0.5785 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3862, allocations: 1.522 MB / 0.58 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3864, allocations: 172.6 kB / 0.5802 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/0.3869, allocations: 236 kB / 0.5804 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.3991, allocations: 9.453 MB / 0.5896 GB, free: 56 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.3992, allocations: 23.75 kB / 0.5896 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.3995, allocations: 107.9 kB / 0.5897 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00326/0.4028, allocations: 2.381 MB / 0.5921 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4161, allocations: 8.617 MB / 0.6005 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.4527, allocations: 29.33 MB / 0.6291 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.4572, allocations: 3.049 MB / 0.6321 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.4584, allocations: 0.9795 MB / 0.6331 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/0.4659, allocations: 4.829 MB / 0.6378 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.466, allocations: 47.2 kB / 0.6378 GB, free: 13.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 3.837e-06/0.466, allocations: 0 / 0.6378 GB, free: 13.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.005405/0.4714, allocations: 2.72 MB / 0.6405 GB, free: 10.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4715, allocations: 64.05 kB / 0.6405 GB, free: 10.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.4747, allocations: 2.546 MB / 0.643 GB, free: 8.012 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.4748, allocations: 49.62 kB / 0.6431 GB, free: 7.957 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.4763, allocations: 2.645 MB / 0.6456 GB, free: 5.273 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.4767, allocations: 493.7 kB / 0.6461 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.4769, allocations: 91.98 kB / 0.6462 GB, free: 4.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003096/0.4772, allocations: 0.5515 MB / 0.6467 GB, free: 4.133 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4789, allocations: 1.336 MB / 0.648 GB, free: 2.789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.4822, allocations: 4.102 MB / 0.6521 GB, free: 13.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006001/0.4882, allocations: 5.937 MB / 0.6579 GB, free: 5.984 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.888e-05/0.4883, allocations: 28 kB / 0.6579 GB, free: 5.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007524/0.4959, allocations: 5.247 MB / 0.663 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.496, allocations: 52.25 kB / 0.6631 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.364e-05/0.4961, allocations: 96 kB / 0.6631 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.4962, allocations: 128 kB / 0.6633 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.4988, allocations: 0.9787 MB / 0.6642 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001288/0.499, allocations: 191.2 kB / 0.6644 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.5016, allocations: 0.5991 MB / 0.665 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/0.5019, allocations: 276 kB / 0.6653 GB, free: 14.39 MB / 490.7 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.002714/0.5046, allocations: 1.895 MB / 0.6671 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.5049, allocations: 213.2 kB / 0.6673 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.5053, allocations: 275.4 kB / 0.6676 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.5054, allocations: 16 kB / 0.6676 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.5054, allocations: 0 / 0.6676 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5054, allocations: 3.984 kB / 0.6676 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007928/0.5133, allocations: 5.618 MB / 0.6731 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5134, allocations: 4 kB / 0.6731 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.5139, allocations: 135.8 kB / 0.6732 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.514, allocations: 8 kB / 0.6732 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.514, allocations: 27.94 kB / 0.6732 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.514, allocations: 16.48 kB / 0.6733 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.514, allocations: 4 kB / 0.6733 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.516, allocations: 1.772 MB / 0.675 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.5164, allocations: 313.8 kB / 0.6753 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.5166, allocations: 19.98 kB / 0.6753 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.5172, allocations: 35.95 kB / 0.6753 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.5173, allocations: 60.44 kB / 0.6754 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.5174, allocations: 43.94 kB / 0.6754 GB, free: 3.711 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.5193, allocations: 1.541 MB / 0.6769 GB, free: 2.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5193, allocations: 4 kB / 0.677 GB, free: 2.152 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003277/0.5226, allocations: 1.007 MB / 0.6779 GB, free: 1.141 MB / 490.7 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.0003149/0.5229, allocations: 147 kB / 0.6781 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2016/0.7246, allocations: 3.115 MB / 0.6811 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.7246, allocations: 1.031 kB / 0.6811 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.7257, allocations: 0.7353 MB / 0.6818 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.7282, allocations: 250.2 kB / 0.6821 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7391, allocations: 9.18 MB / 0.691 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.7417, allocations: 2.968 MB / 0.6939 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003325/0.745, allocations: 1.483 MB / 0.6954 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7454, allocations: 158.9 kB / 0.6955 GB, free: 125.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7454, allocations: 0 / 0.6955 GB, free: 125.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04122/0.7866, allocations: 17.8 MB / 0.7129 GB, free: 120.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches