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.001459/0.001459, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3928, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02816/0.4211, allocations: 11.24 MB / 0.542 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.4339, allocations: 2.82 MB / 0.5447 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4367, allocations: 56.25 kB / 0.5448 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.4418, allocations: 1.325 MB / 0.5461 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.4479, allocations: 1.205 MB / 0.5472 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.4485, allocations: 85.81 kB / 0.5473 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005695/0.4542, allocations: 2.715 MB / 0.55 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003674/0.4579, allocations: 1.844 MB / 0.5518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.4602, allocations: 1.051 MB / 0.5528 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.4636, allocations: 1.444 MB / 0.5542 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008312/0.4645, allocations: 208 kB / 0.5544 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.4666, allocations: 0.4915 MB / 0.5549 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.4693, allocations: 1.375 MB / 0.5562 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.4734, allocations: 1.696 MB / 0.5579 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.4858, allocations: 5.457 MB / 0.5632 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4859, allocations: 0 / 0.5632 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4859, allocations: 4 kB / 0.5632 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002396/0.4862, allocations: 0 / 0.5632 GB, free: 0.5781 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.01181/0.498, allocations: 3.672 MB / 0.5668 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4981, allocations: 8.031 kB / 0.5668 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/0.5177, allocations: 2.962 MB / 0.5697 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/0.5238, allocations: 1.542 MB / 0.5712 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.5241, allocations: 172.7 kB / 0.5714 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.5256, allocations: 228 kB / 0.5716 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/0.5532, allocations: 9.476 MB / 0.5808 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.5534, allocations: 15.88 kB / 0.5809 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.5545, allocations: 107.8 kB / 0.581 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004332/0.5588, allocations: 2.369 MB / 0.5833 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.576, allocations: 8.672 MB / 0.5917 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04456/0.6206, allocations: 29.15 MB / 0.6202 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.6261, allocations: 3.053 MB / 0.6232 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.6277, allocations: 0.9805 MB / 0.6242 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008451/0.6362, allocations: 4.846 MB / 0.6289 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6362, allocations: 39.22 kB / 0.6289 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.797e-06/0.6362, allocations: 0 / 0.6289 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005888/0.6421, allocations: 2.749 MB / 0.6316 GB, free: 8.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.6422, allocations: 71.94 kB / 0.6317 GB, free: 8.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.6463, allocations: 2.569 MB / 0.6342 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.6464, allocations: 37.7 kB / 0.6342 GB, free: 5.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.6483, allocations: 2.759 MB / 0.6369 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/0.6488, allocations: 0.5078 MB / 0.6374 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.6502, allocations: 0.9091 MB / 0.6383 GB, free: 1.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6503, allocations: 357.9 kB / 0.6386 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6523, allocations: 1.355 MB / 0.64 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.6559, allocations: 4.118 MB / 0.644 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.6619, allocations: 5.96 MB / 0.6498 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.548e-05/0.662, allocations: 31.94 kB / 0.6498 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007989/0.67, allocations: 5.292 MB / 0.655 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.6701, allocations: 48 kB / 0.6551 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.6702, allocations: 99.98 kB / 0.6551 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.6704, allocations: 132 kB / 0.6553 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.673, allocations: 0.9747 MB / 0.6562 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001672/0.6732, allocations: 191.2 kB / 0.6564 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.6761, allocations: 0.613 MB / 0.657 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/0.6765, allocations: 287.9 kB / 0.6573 GB, free: 11.55 MB / 0.5137 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.003258/0.6798, allocations: 1.887 MB / 0.6591 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/0.6803, allocations: 222.5 kB / 0.6593 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.6808, allocations: 275.3 kB / 0.6596 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.6809, allocations: 12 kB / 0.6596 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.6809, allocations: 7.938 kB / 0.6596 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6809, allocations: 3.984 kB / 0.6596 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008872/0.6898, allocations: 5.614 MB / 0.6651 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.6898, allocations: 8 kB / 0.6651 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.6903, allocations: 131.8 kB / 0.6652 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.6904, allocations: 8.562 kB / 0.6652 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.6904, allocations: 24 kB / 0.6653 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.6904, allocations: 15.92 kB / 0.6653 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6904, allocations: 4 kB / 0.6653 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6925, allocations: 1.793 MB / 0.667 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.6929, allocations: 303.3 kB / 0.6673 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.6931, allocations: 19.98 kB / 0.6673 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.6937, allocations: 43.95 kB / 0.6674 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.6939, allocations: 64.38 kB / 0.6674 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.6939, allocations: 39.98 kB / 0.6675 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00199/0.6959, allocations: 1.552 MB / 0.669 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.375e-06/0.6959, allocations: 0 / 0.669 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003129/0.6991, allocations: 1.008 MB / 0.67 GB, free: 14.28 MB / 0.5294 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.0002883/0.6994, allocations: 154.8 kB / 0.6701 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00414/0.7035, allocations: 3.16 MB / 0.6732 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7035, allocations: 0 / 0.6732 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.7044, allocations: 0.7386 MB / 0.6739 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.7055, allocations: 265.7 kB / 0.6742 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.7165, allocations: 7.274 MB / 0.6813 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.7195, allocations: 2.962 MB / 0.6842 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00289/0.7224, allocations: 1.484 MB / 0.6856 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.7227, allocations: 151.4 kB / 0.6858 GB, free: 13.99 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.7228, allocations: 0 / 0.6858 GB, free: 13.99 MB / 0.545 GB Notification: Performance of Templates: time 0.03603/0.7588, allocations: 16.45 MB / 0.7018 GB, free: 13.61 MB / 0.5606 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