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.001315/0.001315, allocations: 119.7 kB / 18.46 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001286, allocations: 210.8 kB / 19.41 MB, free: 3.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 83.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2889, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01115/0.3, allocations: 11.24 MB / 0.5426 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.3052, allocations: 2.82 MB / 0.5454 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.3058, allocations: 52.44 kB / 0.5454 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.3081, allocations: 1.325 MB / 0.5467 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.31, allocations: 1.205 MB / 0.5479 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.3102, allocations: 86.22 kB / 0.548 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.3127, allocations: 2.727 MB / 0.5506 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.3144, allocations: 1.852 MB / 0.5525 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3154, allocations: 1.043 MB / 0.5535 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.317, allocations: 1.444 MB / 0.5549 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.3174, allocations: 208 kB / 0.5551 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.3183, allocations: 0.4915 MB / 0.5556 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.3193, allocations: 1.394 MB / 0.5569 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.3206, allocations: 1.692 MB / 0.5586 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.3252, allocations: 5.438 MB / 0.5639 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3252, allocations: 0 / 0.5639 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3252, allocations: 0 / 0.5639 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.839e-05/0.3253, allocations: 4 kB / 0.5639 GB, free: 0.6211 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.004867/0.3302, allocations: 3.566 MB / 0.5674 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3302, allocations: 8.031 kB / 0.5674 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008894/0.3391, allocations: 2.936 MB / 0.5702 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.3416, allocations: 1.534 MB / 0.5717 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3417, allocations: 172.6 kB / 0.5719 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/0.3421, allocations: 220 kB / 0.5721 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.353, allocations: 9.476 MB / 0.5814 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.3531, allocations: 23.81 kB / 0.5814 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.3533, allocations: 107.8 kB / 0.5815 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003208/0.3566, allocations: 2.373 MB / 0.5838 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.3685, allocations: 8.672 MB / 0.5923 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03244/0.401, allocations: 29.08 MB / 0.6207 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.4054, allocations: 3.053 MB / 0.6237 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.4066, allocations: 0.9805 MB / 0.6246 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007178/0.4138, allocations: 4.834 MB / 0.6293 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4139, allocations: 39.22 kB / 0.6294 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.511e-06/0.4139, allocations: 0 / 0.6294 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005549/0.4194, allocations: 2.736 MB / 0.6321 GB, free: 8.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4195, allocations: 64.05 kB / 0.6321 GB, free: 8.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.4223, allocations: 2.561 MB / 0.6346 GB, free: 6.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.4224, allocations: 37.7 kB / 0.6347 GB, free: 6.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.4238, allocations: 2.641 MB / 0.6372 GB, free: 3.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.4241, allocations: 0.4937 MB / 0.6377 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009184/0.425, allocations: 0.9006 MB / 0.6386 GB, free: 2.188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4252, allocations: 361.9 kB / 0.6389 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4269, allocations: 1.352 MB / 0.6403 GB, free: 480 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.4302, allocations: 4.126 MB / 0.6443 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.4356, allocations: 5.964 MB / 0.6501 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.659e-05/0.4357, allocations: 28 kB / 0.6501 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006853/0.4425, allocations: 5.279 MB / 0.6553 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.4426, allocations: 48 kB / 0.6553 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/0.4427, allocations: 96 kB / 0.6554 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.4428, allocations: 128 kB / 0.6556 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.4453, allocations: 0.9747 MB / 0.6565 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.4455, allocations: 195.3 kB / 0.6567 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.4478, allocations: 0.6029 MB / 0.6573 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.4481, allocations: 276 kB / 0.6575 GB, free: 11.99 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.0023/0.4504, allocations: 1.895 MB / 0.6594 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.4507, allocations: 209.2 kB / 0.6596 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.4512, allocations: 267.3 kB / 0.6598 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4512, allocations: 7.984 kB / 0.6599 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4512, allocations: 0 / 0.6599 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.4515, allocations: 286 kB / 0.6601 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.4517, allocations: 15.98 kB / 0.6601 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.4522, allocations: 35.89 kB / 0.6602 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4523, allocations: 52.59 kB / 0.6602 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001895/0.4542, allocations: 1.483 MB / 0.6617 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001886/0.4561, allocations: 1.72 MB / 0.6634 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007061/0.4568, allocations: 0.6575 MB / 0.664 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001831/0.4587, allocations: 1.552 MB / 0.6655 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of Backend: time 2.11e-07/0.4587, allocations: 0 / 0.6655 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.4626, allocations: 2.638 MB / 0.6681 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of SimCode: time 0.009526/0.4721, allocations: 7.405 MB / 0.6753 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.0456/0.5178, allocations: 24.47 MB / 0.6992 GB, free: 1.258 MB / 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