Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.001009, allocations: 194.8 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 244.1 MB, free: 8.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007384/0.0007386, allocations: 100.6 kB / 296.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2785/0.2785, allocations: 44.82 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 62.96 MB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3923, allocations: 99.25 MB / 0.6134 GB, free: 6.094 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3926, allocations: 83.95 kB / 0.6135 GB, free: 6.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3666/0.7592, allocations: 75.39 MB / 0.6871 GB, free: 100.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7593, allocations: 3.312 kB / 0.6871 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001126/0.7594, allocations: 65.94 kB / 0.6872 GB, free: 100.3 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.00995/0.7693, allocations: 3.592 MB / 0.6907 GB, free: 98.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7694, allocations: 12.47 kB / 0.6907 GB, free: 98.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.7818, allocations: 3.304 MB / 0.6939 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006898/0.7888, allocations: 2.467 MB / 0.6963 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/0.7892, allocations: 281.6 kB / 0.6966 GB, free: 97.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.7917, allocations: 361.9 kB / 0.6969 GB, free: 97.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/0.8111, allocations: 9.54 MB / 0.7062 GB, free: 96.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.8113, allocations: 17.47 kB / 0.7063 GB, free: 96.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.8124, allocations: 169.3 kB / 0.7064 GB, free: 96.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/0.814, allocations: 1.098 MB / 0.7075 GB, free: 96.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.8324, allocations: 9.197 MB / 0.7165 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/0.877, allocations: 32.84 MB / 0.7486 GB, free: 76.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005816/0.8829, allocations: 3.53 MB / 0.752 GB, free: 74.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.8843, allocations: 1.097 MB / 0.7531 GB, free: 74.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.8952, allocations: 7.467 MB / 0.7604 GB, free: 69.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.8953, allocations: 46.31 kB / 0.7604 GB, free: 69.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.909e-06/0.8953, allocations: 0 / 0.7604 GB, free: 69.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.006882/0.9022, allocations: 3.19 MB / 0.7635 GB, free: 69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.9023, allocations: 118.1 kB / 0.7636 GB, free: 68.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/0.9058, allocations: 2.773 MB / 0.7663 GB, free: 67.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.9059, allocations: 37.33 kB / 0.7664 GB, free: 67.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.9071, allocations: 2.765 MB / 0.7691 GB, free: 65.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.9076, allocations: 0.5124 MB / 0.7696 GB, free: 65.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.9078, allocations: 92.84 kB / 0.7697 GB, free: 65.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.908, allocations: 0.5025 MB / 0.7702 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.9098, allocations: 1.392 MB / 0.7715 GB, free: 63.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.9124, allocations: 4.267 MB / 0.7757 GB, free: 58.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.9172, allocations: 6.175 MB / 0.7817 GB, free: 50.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-05/0.9173, allocations: 32 kB / 0.7817 GB, free: 50.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.008306/0.9256, allocations: 5.475 MB / 0.7871 GB, free: 46.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.9257, allocations: 51.94 kB / 0.7871 GB, free: 46.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.802e-05/0.9258, allocations: 104 kB / 0.7872 GB, free: 45.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.58e-05/0.9259, allocations: 132 kB / 0.7874 GB, free: 45.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/0.9287, allocations: 1.042 MB / 0.7884 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.9288, allocations: 197.8 kB / 0.7886 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.9319, allocations: 0.6368 MB / 0.7892 GB, free: 44.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005268/0.9324, allocations: 315.3 kB / 0.7895 GB, free: 43.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (559): * Single equations (assignments): 553 * 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.003042/0.9355, allocations: 1.98 MB / 0.7914 GB, free: 42.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.9359, allocations: 228.9 kB / 0.7916 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.9365, allocations: 296.5 kB / 0.7919 GB, free: 41.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.9365, allocations: 19.94 kB / 0.792 GB, free: 41.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.9365, allocations: 0 / 0.792 GB, free: 41.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9365, allocations: 7.594 kB / 0.792 GB, free: 41.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008738/0.9453, allocations: 6.203 MB / 0.798 GB, free: 36.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.9453, allocations: 8 kB / 0.798 GB, free: 36.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.9459, allocations: 169.1 kB / 0.7982 GB, free: 36.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.9459, allocations: 12 kB / 0.7982 GB, free: 36.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.946, allocations: 27.75 kB / 0.7982 GB, free: 35.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.946, allocations: 22.8 kB / 0.7982 GB, free: 35.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.946, allocations: 11.94 kB / 0.7983 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9478, allocations: 1.996 MB / 0.8002 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.9484, allocations: 340.7 kB / 0.8005 GB, free: 33.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.9486, allocations: 23.56 kB / 0.8006 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.9493, allocations: 49.95 kB / 0.8006 GB, free: 33.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.9494, allocations: 90.39 kB / 0.8007 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.9495, allocations: 44 kB / 0.8007 GB, free: 33.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002248/0.9517, allocations: 1.701 MB / 0.8024 GB, free: 31.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9518, allocations: 4 kB / 0.8024 GB, free: 31.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003712/0.9555, allocations: 1.046 MB / 0.8034 GB, free: 30.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * 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.0003996/0.9559, allocations: 162.8 kB / 0.8036 GB, free: 30.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.96, allocations: 3.248 MB / 0.8067 GB, free: 27.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.96, allocations: 4 kB / 0.8067 GB, free: 27.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.9608, allocations: 0.795 MB / 0.8075 GB, free: 26.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/0.9648, allocations: 288.9 kB / 0.8078 GB, free: 26.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.9863, allocations: 16.46 MB / 0.8239 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/0.9893, allocations: 3.109 MB / 0.8269 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/0.99, allocations: 243.4 kB / 0.8271 GB, free: 6.77 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.9901, allocations: 0 / 0.8271 GB, free: 6.77 MB / 490.7 MB Notification: Performance of Templates: time 0.06382/1.054, allocations: 44.75 MB / 0.8708 GB, free: 10.37 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches