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.001381/0.001381, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, 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.2323/0.2323, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.307, allocations: 62.45 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01229/0.3193, allocations: 11.24 MB / 0.5426 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.3255, allocations: 2.812 MB / 0.5454 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3272, allocations: 53.59 kB / 0.5454 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3302, allocations: 1.325 MB / 0.5467 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.3336, allocations: 1.204 MB / 0.5479 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.3342, allocations: 91.55 kB / 0.548 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003582/0.3378, allocations: 2.723 MB / 0.5506 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.3403, allocations: 1.848 MB / 0.5524 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.3419, allocations: 1.039 MB / 0.5535 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.344, allocations: 1.452 MB / 0.5549 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.3447, allocations: 208 kB / 0.5551 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.3461, allocations: 0.4915 MB / 0.5555 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3476, allocations: 1.394 MB / 0.5569 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.3501, allocations: 1.692 MB / 0.5586 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.3562, allocations: 5.438 MB / 0.5639 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3563, allocations: 0 / 0.5639 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3563, allocations: 0 / 0.5639 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001979/0.3565, allocations: 0 / 0.5639 GB, free: 0.6133 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.007253/0.3638, allocations: 3.57 MB / 0.5674 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3638, allocations: 8.031 kB / 0.5674 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.374, allocations: 2.94 MB / 0.5702 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.3771, allocations: 1.537 MB / 0.5717 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.3773, allocations: 172.6 kB / 0.5719 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008562/0.3781, allocations: 224 kB / 0.5721 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.3938, allocations: 9.472 MB / 0.5814 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.3939, allocations: 19.81 kB / 0.5814 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007634/0.3947, allocations: 111.8 kB / 0.5815 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.3986, allocations: 2.373 MB / 0.5838 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4149, allocations: 8.668 MB / 0.5923 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04323/0.4582, allocations: 29.08 MB / 0.6207 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/0.4635, allocations: 3.053 MB / 0.6237 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.465, allocations: 0.9805 MB / 0.6246 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008957/0.474, allocations: 4.841 MB / 0.6293 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.4741, allocations: 35.22 kB / 0.6294 GB, free: 11.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 7.153e-06/0.4741, allocations: 0 / 0.6294 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006556/0.4807, allocations: 2.736 MB / 0.632 GB, free: 8.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.4807, allocations: 60.06 kB / 0.6321 GB, free: 8.902 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/0.4852, allocations: 2.565 MB / 0.6346 GB, free: 6.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.4854, allocations: 37.7 kB / 0.6346 GB, free: 6.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.4874, allocations: 2.637 MB / 0.6372 GB, free: 3.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.4881, allocations: 0.4977 MB / 0.6377 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.4898, allocations: 0.8967 MB / 0.6386 GB, free: 2.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.49, allocations: 361.9 kB / 0.6389 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.4922, allocations: 1.352 MB / 0.6402 GB, free: 468 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/0.4967, allocations: 4.126 MB / 0.6443 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/0.5038, allocations: 5.964 MB / 0.6501 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/0.5039, allocations: 28 kB / 0.6501 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01012/0.514, allocations: 5.279 MB / 0.6553 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.5142, allocations: 48 kB / 0.6553 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/0.5145, allocations: 99.94 kB / 0.6554 GB, free: 14.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.5146, allocations: 132 kB / 0.6555 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.5178, allocations: 0.9786 MB / 0.6565 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001881/0.518, allocations: 191.2 kB / 0.6567 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.5214, allocations: 0.5991 MB / 0.6573 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007138/0.5221, allocations: 280 kB / 0.6575 GB, free: 11.97 MB / 0.5138 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.003448/0.5256, allocations: 1.891 MB / 0.6594 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.526, allocations: 209.2 kB / 0.6596 GB, free: 9.855 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.5267, allocations: 271.3 kB / 0.6598 GB, free: 9.586 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.5268, allocations: 23.97 kB / 0.6599 GB, free: 9.562 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.5268, allocations: 0 / 0.6599 GB, free: 9.562 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5268, allocations: 3.984 kB / 0.6599 GB, free: 9.559 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.537, allocations: 5.602 MB / 0.6653 GB, free: 3.832 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.5371, allocations: 7.938 kB / 0.6653 GB, free: 3.824 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.5377, allocations: 147.8 kB / 0.6655 GB, free: 3.68 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5377, allocations: 8 kB / 0.6655 GB, free: 3.672 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.5378, allocations: 20 kB / 0.6655 GB, free: 3.652 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.5378, allocations: 8.562 kB / 0.6655 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.5378, allocations: 11.92 kB / 0.6655 GB, free: 3.633 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.54, allocations: 1.792 MB / 0.6673 GB, free: 1.766 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.5405, allocations: 290 kB / 0.6676 GB, free: 1.461 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.5409, allocations: 16 kB / 0.6676 GB, free: 1.445 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.5417, allocations: 35.95 kB / 0.6676 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.5418, allocations: 64.38 kB / 0.6677 GB, free: 1.348 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.5419, allocations: 43.98 kB / 0.6677 GB, free: 1.305 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002685/0.5446, allocations: 1.56 MB / 0.6692 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5446, allocations: 0 / 0.6692 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003915/0.5486, allocations: 0.9836 MB / 0.6702 GB, free: 14.74 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.0004393/0.549, allocations: 147 kB / 0.6703 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005106/0.5541, allocations: 3.159 MB / 0.6734 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.5542, allocations: 0 / 0.6734 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.5554, allocations: 0.739 MB / 0.6741 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5572, allocations: 262 kB / 0.6744 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.5727, allocations: 7.576 MB / 0.6818 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004864/0.5776, allocations: 2.973 MB / 0.6847 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.5783, allocations: 195.4 kB / 0.6849 GB, free: 15.61 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.5784, allocations: 0 / 0.6849 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Templates: time 0.3169/0.8953, allocations: 42.3 MB / 0.7262 GB, free: 152.3 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/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