Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001643, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001362, allocations: 78.47 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 62.45 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02644/0.1409, allocations: 28.52 MB / 0.4965 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.1528, allocations: 5.589 MB / 0.502 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004928/0.1578, allocations: 111.8 kB / 0.5021 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.1608, allocations: 1.293 MB / 0.5034 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.1639, allocations: 1.144 MB / 0.5045 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1644, allocations: 75.92 kB / 0.5046 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2009/0.3653, allocations: 3.993 MB / 0.5085 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.3681, allocations: 1.832 MB / 0.5102 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.3698, allocations: 0.9123 MB / 0.5111 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.3721, allocations: 1.522 MB / 0.5126 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.3727, allocations: 152.6 kB / 0.5128 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3739, allocations: 458.4 kB / 0.5132 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.3753, allocations: 1.351 MB / 0.5145 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.3772, allocations: 1.652 MB / 0.5161 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.3816, allocations: 4.216 MB / 0.5203 GB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3816, allocations: 0 / 0.5203 GB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3817, allocations: 2.156 kB / 0.5203 GB, free: 9.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.3818, allocations: 4 kB / 0.5203 GB, free: 9.273 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.006693/0.3885, allocations: 3.564 MB / 0.5237 GB, free: 7.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3886, allocations: 9.375 kB / 0.5238 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009053/0.3976, allocations: 2.944 MB / 0.5266 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.4009, allocations: 1.523 MB / 0.5281 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4011, allocations: 169.9 kB / 0.5283 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/0.4016, allocations: 225.9 kB / 0.5285 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4153, allocations: 9.479 MB / 0.5377 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.4154, allocations: 17.03 kB / 0.5378 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.4158, allocations: 108.4 kB / 0.5379 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003103/0.4189, allocations: 2.372 MB / 0.5402 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.4337, allocations: 8.671 MB / 0.5487 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04222/0.476, allocations: 29.3 MB / 0.5773 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.481, allocations: 3.051 MB / 0.5802 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4825, allocations: 0.9726 MB / 0.5812 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008711/0.4913, allocations: 4.845 MB / 0.5859 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.4914, allocations: 39.22 kB / 0.586 GB, free: 15.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.759e-06/0.4914, allocations: 0 / 0.586 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006157/0.4975, allocations: 2.737 MB / 0.5886 GB, free: 12.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4976, allocations: 60.06 kB / 0.5887 GB, free: 12.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/0.5021, allocations: 2.565 MB / 0.5912 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.5022, allocations: 40.05 kB / 0.5912 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.5041, allocations: 2.643 MB / 0.5938 GB, free: 7.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.5047, allocations: 498.1 kB / 0.5943 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.5062, allocations: 0.8996 MB / 0.5952 GB, free: 6.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.5064, allocations: 361.9 kB / 0.5955 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.5085, allocations: 1.359 MB / 0.5968 GB, free: 4.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.5123, allocations: 4.112 MB / 0.6009 GB, free: 14.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/0.5188, allocations: 5.97 MB / 0.6067 GB, free: 7.914 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-05/0.519, allocations: 28 kB / 0.6067 GB, free: 7.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009259/0.5282, allocations: 5.281 MB / 0.6119 GB, free: 2.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5284, allocations: 48 kB / 0.6119 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.5285, allocations: 96 kB / 0.612 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.5287, allocations: 128 kB / 0.6121 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.5316, allocations: 0.9747 MB / 0.6131 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001714/0.5318, allocations: 195.2 kB / 0.6133 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.5349, allocations: 0.6012 MB / 0.6139 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006388/0.5356, allocations: 287.2 kB / 0.6141 GB, free: 0.6523 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.003673/0.5393, allocations: 1.887 MB / 0.616 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.5397, allocations: 217.1 kB / 0.6162 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006172/0.5403, allocations: 271.2 kB / 0.6164 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.5404, allocations: 16 kB / 0.6165 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5404, allocations: 0 / 0.6165 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.5404, allocations: 3.984 kB / 0.6165 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5526, allocations: 5.615 MB / 0.6219 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.5527, allocations: 7 kB / 0.6219 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.5533, allocations: 131.8 kB / 0.6221 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.5534, allocations: 8 kB / 0.6221 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5535, allocations: 28.55 kB / 0.6221 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/0.5536, allocations: 15.94 kB / 0.6221 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5536, allocations: 4 kB / 0.6221 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.5561, allocations: 1.786 MB / 0.6239 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.5567, allocations: 290 kB / 0.6241 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/0.5572, allocations: 26.41 kB / 0.6242 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.5579, allocations: 39.95 kB / 0.6242 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5581, allocations: 68.36 kB / 0.6243 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.5582, allocations: 38.97 kB / 0.6243 GB, free: 6.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002902/0.5611, allocations: 1.556 MB / 0.6258 GB, free: 4.445 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5611, allocations: 0 / 0.6258 GB, free: 4.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00421/0.5653, allocations: 0.9876 MB / 0.6268 GB, free: 3.453 MB / 478.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.0004593/0.5658, allocations: 145.5 kB / 0.6269 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005027/0.5708, allocations: 3.126 MB / 0.63 GB, free: 200 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.5709, allocations: 1.875 kB / 0.63 GB, free: 200 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.5719, allocations: 0.7384 MB / 0.6307 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.5736, allocations: 247.8 kB / 0.6309 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.5904, allocations: 9.581 MB / 0.6403 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/0.5949, allocations: 2.973 MB / 0.6432 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.5956, allocations: 195.4 kB / 0.6434 GB, free: 2.371 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5956, allocations: 0 / 0.6434 GB, free: 2.371 MB / 494.1 MB Notification: Performance of Templates: time 0.0631/0.6587, allocations: 41.83 MB / 0.6842 GB, free: 8.707 MB / 0.5294 GB 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/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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches