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.0009494/0.0009494, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007845, allocations: 107.3 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3093/0.3093, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002779, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2863, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4034, allocations: 98.86 MB / 0.613 GB, free: 6.504 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4037, allocations: 83.95 kB / 0.6131 GB, free: 6.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1621/0.5658, allocations: 69.08 MB / 0.6806 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5658, allocations: 0 / 0.6806 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.566, allocations: 60 kB / 0.6806 GB, free: 0.6172 MB / 490.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.226/0.792, allocations: 3.086 MB / 0.6836 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.792, allocations: 9.156 kB / 0.6836 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.8043, allocations: 3.294 MB / 0.6868 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.8097, allocations: 2.1 MB / 0.6889 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.81, allocations: 272.8 kB / 0.6892 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.8112, allocations: 354.2 kB / 0.6895 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.8257, allocations: 9.03 MB / 0.6983 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-05/0.8258, allocations: 20.25 kB / 0.6983 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000589/0.8264, allocations: 170 kB / 0.6985 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.8276, allocations: 1.047 MB / 0.6995 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.843, allocations: 8.589 MB / 0.7079 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/0.8795, allocations: 29.19 MB / 0.7364 GB, free: 82.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.8837, allocations: 3.039 MB / 0.7394 GB, free: 80.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.8849, allocations: 0.9764 MB / 0.7403 GB, free: 80.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007893/0.8929, allocations: 4.858 MB / 0.7451 GB, free: 78.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8929, allocations: 39.19 kB / 0.7451 GB, free: 78.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.721e-06/0.8929, allocations: 0 / 0.7451 GB, free: 78.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.0054/0.8984, allocations: 2.723 MB / 0.7478 GB, free: 77.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.8984, allocations: 63.53 kB / 0.7478 GB, free: 77.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.9025, allocations: 2.552 MB / 0.7503 GB, free: 76.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.9027, allocations: 41.58 kB / 0.7504 GB, free: 76.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.9042, allocations: 2.644 MB / 0.753 GB, free: 74.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.9047, allocations: 493.8 kB / 0.7534 GB, free: 73.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.905, allocations: 85.94 kB / 0.7535 GB, free: 73.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000433/0.9054, allocations: 0.5455 MB / 0.754 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.9073, allocations: 1.333 MB / 0.7553 GB, free: 73.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.9101, allocations: 4.105 MB / 0.7593 GB, free: 68.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.9149, allocations: 5.935 MB / 0.7651 GB, free: 63.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-05/0.915, allocations: 28.75 kB / 0.7652 GB, free: 63.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.007499/0.9225, allocations: 5.239 MB / 0.7703 GB, free: 60.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.9226, allocations: 44 kB / 0.7703 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.9228, allocations: 100 kB / 0.7704 GB, free: 60.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.9229, allocations: 128 kB / 0.7705 GB, free: 60.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.9257, allocations: 0.9764 MB / 0.7715 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/0.9259, allocations: 191.5 kB / 0.7717 GB, free: 59.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.9288, allocations: 0.6112 MB / 0.7723 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004972/0.9293, allocations: 278.3 kB / 0.7725 GB, free: 58.41 MB / 490.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 (538): * Single equations (assignments): 532 * 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.002776/0.9321, allocations: 1.897 MB / 0.7744 GB, free: 56.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.9325, allocations: 209.2 kB / 0.7746 GB, free: 56.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.933, allocations: 272.5 kB / 0.7749 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/0.9331, allocations: 12 kB / 0.7749 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9331, allocations: 8 kB / 0.7749 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.9331, allocations: 6.328 kB / 0.7749 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009094/0.9422, allocations: 5.617 MB / 0.7804 GB, free: 51.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.9423, allocations: 4 kB / 0.7804 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.9428, allocations: 142.5 kB / 0.7805 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.9429, allocations: 8 kB / 0.7805 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.9429, allocations: 27.53 kB / 0.7805 GB, free: 51.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.9429, allocations: 14.31 kB / 0.7806 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.943, allocations: 4 kB / 0.7806 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.9448, allocations: 1.784 MB / 0.7823 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.9453, allocations: 297.6 kB / 0.7826 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.9457, allocations: 20 kB / 0.7826 GB, free: 49.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.9464, allocations: 50.89 kB / 0.7827 GB, free: 49.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.9465, allocations: 56.38 kB / 0.7827 GB, free: 49.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.9466, allocations: 43.89 kB / 0.7827 GB, free: 49.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002143/0.9488, allocations: 1.541 MB / 0.7843 GB, free: 47.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9488, allocations: 0 / 0.7843 GB, free: 47.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003203/0.952, allocations: 1.015 MB / 0.7852 GB, free: 46.9 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.0002813/0.9523, allocations: 151 kB / 0.7854 GB, free: 46.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.9557, allocations: 3.113 MB / 0.7884 GB, free: 44.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9558, allocations: 1 kB / 0.7884 GB, free: 44.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.9564, allocations: 0.7379 MB / 0.7891 GB, free: 43.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.9586, allocations: 240.8 kB / 0.7894 GB, free: 43.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.9698, allocations: 9.214 MB / 0.7984 GB, free: 34.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/0.9729, allocations: 2.979 MB / 0.8013 GB, free: 32.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.9736, allocations: 195.1 kB / 0.8015 GB, free: 32.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/0.9736, allocations: 0 / 0.8015 GB, free: 32.02 MB / 490.7 MB Notification: Performance of Templates: time 0.04927/1.023, allocations: 41.27 MB / 0.8418 GB, free: 7.496 MB / 0.4948 GB 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/jenkins1/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