Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009689/0.0009689, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008802/0.0008801, allocations: 96.98 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2855/0.2855, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2528, allocations: 62.96 MB / 0.5159 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01659/0.2695, allocations: 25.9 MB / 0.5412 GB, free: 18.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009173/0.2787, allocations: 5.374 MB / 0.5464 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.2822, allocations: 115.5 kB / 0.5465 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.2851, allocations: 1.259 MB / 0.5478 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007745/0.2928, allocations: 3.545 MB / 0.5512 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.2937, allocations: 78.38 kB / 0.5513 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.2976, allocations: 3.134 MB / 0.5544 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003377/0.301, allocations: 2.272 MB / 0.5566 GB, free: 11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.3026, allocations: 0.8876 MB / 0.5574 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.3047, allocations: 1.387 MB / 0.5588 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004251/0.3051, allocations: 117.1 kB / 0.5589 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3062, allocations: 416.1 kB / 0.5593 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.3074, allocations: 1.288 MB / 0.5606 GB, free: 9.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.3087, allocations: 1.532 MB / 0.5621 GB, free: 8.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003293/0.312, allocations: 4.163 MB / 0.5661 GB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.312, allocations: 0 / 0.5661 GB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.312, allocations: 0 / 0.5661 GB, free: 5.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.3121, allocations: 0 / 0.5661 GB, free: 5.652 MB / 378.7 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.003722/0.3158, allocations: 2.943 MB / 0.569 GB, free: 2.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3159, allocations: 8.031 kB / 0.569 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008124/0.324, allocations: 3.026 MB / 0.572 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.3269, allocations: 1.522 MB / 0.5734 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.327, allocations: 172.6 kB / 0.5736 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.3275, allocations: 228 kB / 0.5738 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.3408, allocations: 9.457 MB / 0.5831 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.3409, allocations: 15.88 kB / 0.5831 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.3412, allocations: 103.8 kB / 0.5832 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/0.3447, allocations: 2.381 MB / 0.5855 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.3598, allocations: 8.625 MB / 0.5939 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03952/0.3994, allocations: 29.32 MB / 0.6226 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/0.4039, allocations: 3.054 MB / 0.6255 GB, free: 7.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4052, allocations: 0.9743 MB / 0.6265 GB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007908/0.4131, allocations: 4.833 MB / 0.6312 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4132, allocations: 39.22 kB / 0.6313 GB, free: 1.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.901e-06/0.4132, allocations: 7.938 kB / 0.6313 GB, free: 1.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.005599/0.4188, allocations: 2.72 MB / 0.6339 GB, free: 14.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4188, allocations: 64.06 kB / 0.634 GB, free: 14.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.4222, allocations: 2.55 MB / 0.6365 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.4223, allocations: 33.7 kB / 0.6365 GB, free: 11.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.4239, allocations: 2.653 MB / 0.6391 GB, free: 9.199 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.4243, allocations: 0.4938 MB / 0.6396 GB, free: 8.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.4245, allocations: 84 kB / 0.6397 GB, free: 8.617 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003178/0.4248, allocations: 0.5515 MB / 0.6402 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.4266, allocations: 1.34 MB / 0.6415 GB, free: 6.707 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/0.4299, allocations: 4.102 MB / 0.6455 GB, free: 1.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/0.4356, allocations: 5.944 MB / 0.6513 GB, free: 9.895 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.475e-05/0.4356, allocations: 28 kB / 0.6513 GB, free: 9.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007461/0.4431, allocations: 5.247 MB / 0.6565 GB, free: 4.613 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.4432, allocations: 44.94 kB / 0.6565 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.324e-05/0.4433, allocations: 100 kB / 0.6566 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.4434, allocations: 128 kB / 0.6567 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/0.4459, allocations: 0.9747 MB / 0.6577 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000125/0.446, allocations: 199.2 kB / 0.6579 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.4484, allocations: 0.5992 MB / 0.6584 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/0.4487, allocations: 280 kB / 0.6587 GB, free: 2.297 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002745/0.4515, allocations: 1.891 MB / 0.6606 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.4517, allocations: 217.2 kB / 0.6608 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.4522, allocations: 271.4 kB / 0.661 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/0.4522, allocations: 19.98 kB / 0.661 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4522, allocations: 0 / 0.661 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4523, allocations: 3.984 kB / 0.6611 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/0.4606, allocations: 5.61 MB / 0.6665 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.4606, allocations: 4 kB / 0.6665 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.4612, allocations: 139.8 kB / 0.6667 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.4612, allocations: 4 kB / 0.6667 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.4613, allocations: 24 kB / 0.6667 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.4613, allocations: 8 kB / 0.6667 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.4613, allocations: 11.94 kB / 0.6667 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.4633, allocations: 1.784 MB / 0.6685 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.4638, allocations: 297.9 kB / 0.6687 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.464, allocations: 19.98 kB / 0.6688 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.4645, allocations: 39.97 kB / 0.6688 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4646, allocations: 60.36 kB / 0.6689 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.4647, allocations: 47.92 kB / 0.6689 GB, free: 7.625 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002074/0.4668, allocations: 1.549 MB / 0.6704 GB, free: 6.062 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4668, allocations: 0 / 0.6704 GB, free: 6.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003236/0.47, allocations: 1.003 MB / 0.6714 GB, free: 5.055 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.4703, allocations: 147 kB / 0.6715 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.4744, allocations: 3.117 MB / 0.6746 GB, free: 1.805 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4745, allocations: 0 / 0.6746 GB, free: 1.805 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.4753, allocations: 0.7335 MB / 0.6753 GB, free: 1.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.4775, allocations: 252.7 kB / 0.6755 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/0.6859, allocations: 9.235 MB / 0.6846 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005811/0.6917, allocations: 2.974 MB / 0.6875 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.6927, allocations: 196.5 kB / 0.6876 GB, free: 127.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6928, allocations: 0 / 0.6876 GB, free: 127.7 MB / 490.7 MB Notification: Performance of Templates: time 0.08705/0.7798, allocations: 41.26 MB / 0.7279 GB, free: 106.6 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches