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.001072/0.001072, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 46.18 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002797, allocations: 8.375 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 63.56 MB / 483.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.033/0.1699, allocations: 27.62 MB / 0.4987 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1856, allocations: 5.554 MB / 0.5042 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00609/0.1918, allocations: 115.8 kB / 0.5043 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1934, allocations: 402.3 kB / 0.5046 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.1973, allocations: 1.152 MB / 0.5058 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1978, allocations: 79.91 kB / 0.5058 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3023/0.5001, allocations: 3.988 MB / 0.5097 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004932/0.5051, allocations: 2.336 MB / 0.512 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.5077, allocations: 0.8282 MB / 0.5128 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.5112, allocations: 1.416 MB / 0.5142 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000691/0.5119, allocations: 116 kB / 0.5143 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.5135, allocations: 425.7 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.5154, allocations: 1.314 MB / 0.516 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.5176, allocations: 1.615 MB / 0.5176 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008277/0.5259, allocations: 4.979 MB / 0.5225 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.526, allocations: 0 / 0.5225 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.526, allocations: 4.938 kB / 0.5225 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002312/0.5262, allocations: 0 / 0.5225 GB, free: 8.574 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.008911/0.5351, allocations: 2.889 MB / 0.5253 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5352, allocations: 8.219 kB / 0.5253 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.5462, allocations: 3.028 MB / 0.5282 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.5509, allocations: 1.525 MB / 0.5297 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.5511, allocations: 170 kB / 0.5299 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007511/0.5518, allocations: 227.7 kB / 0.5301 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.5645, allocations: 9.468 MB / 0.5394 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-05/0.5646, allocations: 18.16 kB / 0.5394 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/0.5649, allocations: 111.4 kB / 0.5395 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003655/0.5686, allocations: 2.377 MB / 0.5418 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5859, allocations: 8.674 MB / 0.5503 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.6355, allocations: 29.33 MB / 0.5789 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/0.6406, allocations: 3.044 MB / 0.5819 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.642, allocations: 0.9802 MB / 0.5828 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008134/0.6501, allocations: 4.85 MB / 0.5876 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6502, allocations: 37.75 kB / 0.5876 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 3.076e-06/0.6502, allocations: 4 kB / 0.5876 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.005851/0.656, allocations: 2.734 MB / 0.5903 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6561, allocations: 56.06 kB / 0.5903 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.6597, allocations: 2.561 MB / 0.5928 GB, free: 9.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.6597, allocations: 33.7 kB / 0.5929 GB, free: 9.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.6614, allocations: 2.661 MB / 0.5955 GB, free: 7.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.6619, allocations: 492.6 kB / 0.5959 GB, free: 6.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.6624, allocations: 391.7 kB / 0.5963 GB, free: 6.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6625, allocations: 357.9 kB / 0.5967 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.6645, allocations: 1.355 MB / 0.598 GB, free: 4.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/0.6684, allocations: 4.116 MB / 0.602 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/0.6748, allocations: 5.967 MB / 0.6078 GB, free: 8.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/0.6748, allocations: 28 kB / 0.6079 GB, free: 8.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008587/0.6834, allocations: 5.282 MB / 0.613 GB, free: 3.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.6835, allocations: 48 kB / 0.6131 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.6837, allocations: 96 kB / 0.6132 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.6838, allocations: 132.1 kB / 0.6133 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.6866, allocations: 0.9825 MB / 0.6142 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.6867, allocations: 187.3 kB / 0.6144 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.6896, allocations: 0.603 MB / 0.615 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.69, allocations: 278.2 kB / 0.6153 GB, free: 0.9102 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.004113/0.6941, allocations: 1.901 MB / 0.6171 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.6945, allocations: 213.2 kB / 0.6173 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.6951, allocations: 267.3 kB / 0.6176 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.6951, allocations: 16 kB / 0.6176 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6952, allocations: 0 / 0.6176 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.6952, allocations: 7.922 kB / 0.6176 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009788/0.705, allocations: 5.611 MB / 0.6231 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.705, allocations: 4 kB / 0.6231 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.7056, allocations: 135.8 kB / 0.6232 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.7056, allocations: 7.938 kB / 0.6232 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.7057, allocations: 27.98 kB / 0.6233 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.7057, allocations: 11.94 kB / 0.6233 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7057, allocations: 8 kB / 0.6233 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.7082, allocations: 1.803 MB / 0.625 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.7088, allocations: 298 kB / 0.6253 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.709, allocations: 16 kB / 0.6253 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.7096, allocations: 47 kB / 0.6254 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.7097, allocations: 56.38 kB / 0.6254 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7098, allocations: 47.98 kB / 0.6255 GB, free: 6.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002515/0.7124, allocations: 1.548 MB / 0.627 GB, free: 4.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7124, allocations: 0 / 0.627 GB, free: 4.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005182/0.7176, allocations: 0.9951 MB / 0.628 GB, free: 3.684 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.0005409/0.7181, allocations: 139 kB / 0.6281 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005038/0.7232, allocations: 3.134 MB / 0.6312 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.7232, allocations: 0 / 0.6312 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009353/0.7241, allocations: 0.739 MB / 0.6319 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7267, allocations: 248.7 kB / 0.6321 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.7412, allocations: 9.168 MB / 0.6411 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003321/0.7445, allocations: 2.962 MB / 0.644 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003558/0.7481, allocations: 1.488 MB / 0.6454 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.7485, allocations: 155.4 kB / 0.6456 GB, free: 1.559 MB / 494.1 MB Notification: Performance of SimCode: time 5.3e-06/0.7485, allocations: 0 / 0.6456 GB, free: 1.559 MB / 494.1 MB Notification: Performance of Templates: time 0.0362/0.7847, allocations: 17.7 MB / 0.6628 GB, free: 16 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches