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.001698/0.001705, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.747/1.747, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 72.2 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3446, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01183/0.3564, allocations: 11.25 MB / 0.5426 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.3623, allocations: 2.815 MB / 0.5454 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3634, allocations: 57.34 kB / 0.5454 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.366, allocations: 1.332 MB / 0.5467 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.3683, allocations: 1.234 MB / 0.5479 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3686, allocations: 85.81 kB / 0.548 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.3715, allocations: 2.721 MB / 0.5507 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.3735, allocations: 1.848 MB / 0.5525 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.3747, allocations: 1.043 MB / 0.5535 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3764, allocations: 1.448 MB / 0.5549 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.3768, allocations: 208 kB / 0.5551 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009524/0.3777, allocations: 0.4954 MB / 0.5556 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.3788, allocations: 1.394 MB / 0.557 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.3803, allocations: 1.692 MB / 0.5586 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006052/0.3864, allocations: 5.461 MB / 0.5639 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.3864, allocations: 3.984 kB / 0.5639 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3864, allocations: 0 / 0.5639 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.3866, allocations: 0 / 0.5639 GB, free: 0.5391 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.006701/0.3933, allocations: 3.672 MB / 0.5675 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3934, allocations: 8.031 kB / 0.5675 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009359/0.4027, allocations: 2.962 MB / 0.5704 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.4065, allocations: 1.538 MB / 0.5719 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4067, allocations: 180.6 kB / 0.5721 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005009/0.4072, allocations: 224 kB / 0.5723 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.4204, allocations: 9.472 MB / 0.5816 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.4205, allocations: 19.81 kB / 0.5816 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.4208, allocations: 107.8 kB / 0.5817 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003467/0.4243, allocations: 2.381 MB / 0.584 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4384, allocations: 8.668 MB / 0.5925 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.4755, allocations: 29.15 MB / 0.621 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/0.4801, allocations: 3.057 MB / 0.6239 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.4814, allocations: 0.9804 MB / 0.6249 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007794/0.4892, allocations: 4.839 MB / 0.6296 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4892, allocations: 47.22 kB / 0.6297 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.89e-06/0.4892, allocations: 0 / 0.6297 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005624/0.4949, allocations: 2.745 MB / 0.6323 GB, free: 8.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4949, allocations: 60.06 kB / 0.6324 GB, free: 8.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.4982, allocations: 2.566 MB / 0.6349 GB, free: 6.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.4983, allocations: 41.7 kB / 0.6349 GB, free: 5.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.5001, allocations: 2.759 MB / 0.6376 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.5005, allocations: 0.504 MB / 0.6381 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.5015, allocations: 0.913 MB / 0.639 GB, free: 1.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5017, allocations: 361.9 kB / 0.6394 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.5035, allocations: 1.355 MB / 0.6407 GB, free: 24 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/0.5071, allocations: 4.122 MB / 0.6447 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006398/0.5135, allocations: 5.956 MB / 0.6505 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.761e-05/0.5136, allocations: 28 kB / 0.6506 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008334/0.522, allocations: 5.295 MB / 0.6557 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-05/0.5221, allocations: 48 kB / 0.6558 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.5222, allocations: 100 kB / 0.6559 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.5223, allocations: 128.8 kB / 0.656 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.5252, allocations: 0.9708 MB / 0.6569 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.5254, allocations: 199.2 kB / 0.6571 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.5281, allocations: 0.6166 MB / 0.6577 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004004/0.5285, allocations: 272 kB / 0.658 GB, free: 11.53 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.002791/0.5313, allocations: 1.899 MB / 0.6599 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.5316, allocations: 226.5 kB / 0.6601 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.5322, allocations: 271.3 kB / 0.6603 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.5322, allocations: 11.97 kB / 0.6603 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5322, allocations: 0 / 0.6603 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.5326, allocations: 291.3 kB / 0.6606 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/0.5329, allocations: 15.98 kB / 0.6606 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.5335, allocations: 39.91 kB / 0.6607 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5336, allocations: 44.59 kB / 0.6607 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002103/0.5357, allocations: 1.484 MB / 0.6622 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002048/0.5378, allocations: 1.737 MB / 0.6639 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007914/0.5386, allocations: 0.6575 MB / 0.6645 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002273/0.5408, allocations: 1.56 MB / 0.666 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of Backend: time 3.61e-07/0.5409, allocations: 0 / 0.666 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004545/0.5454, allocations: 2.627 MB / 0.6686 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01173/0.5572, allocations: 7.525 MB / 0.6759 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of Templates: time 0.04849/0.6057, allocations: 24.75 MB / 0.7001 GB, free: 360 kB / 0.545 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