Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007821/0.0007818, allocations: 93.75 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3306/0.3306, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 11.98 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 62.96 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4653, allocations: 99.25 MB / 0.6153 GB, free: 6.035 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.4658, allocations: 83.95 kB / 0.6154 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/0.9074, allocations: 75.39 MB / 0.689 GB, free: 100.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.9075, allocations: 0 / 0.689 GB, free: 100.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.9076, allocations: 66.02 kB / 0.6891 GB, free: 100.8 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.0104/0.918, allocations: 3.597 MB / 0.6926 GB, free: 99.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9181, allocations: 10.72 kB / 0.6926 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.9303, allocations: 3.305 MB / 0.6959 GB, free: 98.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009394/0.9397, allocations: 2.467 MB / 0.6983 GB, free: 98.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004821/0.9402, allocations: 287.1 kB / 0.6985 GB, free: 98.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.9429, allocations: 358.5 kB / 0.6989 GB, free: 98.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/0.9705, allocations: 9.539 MB / 0.7082 GB, free: 97.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.9707, allocations: 17.47 kB / 0.7082 GB, free: 97.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008108/0.9715, allocations: 172.3 kB / 0.7084 GB, free: 97.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.9737, allocations: 1.093 MB / 0.7094 GB, free: 97.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/0.9978, allocations: 9.197 MB / 0.7184 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/1.044, allocations: 32.85 MB / 0.7505 GB, free: 76.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005614/1.049, allocations: 3.529 MB / 0.754 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.051, allocations: 1.095 MB / 0.755 GB, free: 74.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/1.062, allocations: 7.463 MB / 0.7623 GB, free: 70.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.063, allocations: 50.28 kB / 0.7624 GB, free: 70.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.429e-06/1.063, allocations: 0 / 0.7624 GB, free: 70.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.006911/1.069, allocations: 3.184 MB / 0.7655 GB, free: 69.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.07, allocations: 118.3 kB / 0.7656 GB, free: 69.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/1.073, allocations: 2.773 MB / 0.7683 GB, free: 68.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/1.073, allocations: 41.7 kB / 0.7683 GB, free: 68.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.074, allocations: 2.762 MB / 0.771 GB, free: 65.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/1.075, allocations: 0.5174 MB / 0.7715 GB, free: 65.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.075, allocations: 84 kB / 0.7716 GB, free: 65.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/1.075, allocations: 0.503 MB / 0.7721 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/1.077, allocations: 1.396 MB / 0.7735 GB, free: 63.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/1.079, allocations: 4.267 MB / 0.7776 GB, free: 58.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/1.084, allocations: 6.174 MB / 0.7837 GB, free: 50.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.657e-05/1.084, allocations: 28 kB / 0.7837 GB, free: 50.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.007226/1.092, allocations: 5.475 MB / 0.789 GB, free: 46.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/1.092, allocations: 55.14 kB / 0.7891 GB, free: 45.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.897e-05/1.092, allocations: 100.1 kB / 0.7892 GB, free: 45.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/1.092, allocations: 143.9 kB / 0.7893 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.094, allocations: 1.039 MB / 0.7903 GB, free: 44.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.75e-05/1.095, allocations: 198.3 kB / 0.7905 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/1.097, allocations: 0.6285 MB / 0.7911 GB, free: 44.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/1.098, allocations: 314 kB / 0.7914 GB, free: 43.71 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.002926/1.101, allocations: 1.988 MB / 0.7934 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.101, allocations: 228.9 kB / 0.7936 GB, free: 41.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/1.101, allocations: 301.4 kB / 0.7939 GB, free: 41.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/1.101, allocations: 19.94 kB / 0.7939 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.101, allocations: 0 / 0.7939 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.101, allocations: 3.797 kB / 0.7939 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008117/1.11, allocations: 6.201 MB / 0.8 GB, free: 36.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.11, allocations: 8 kB / 0.8 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/1.11, allocations: 166.4 kB / 0.8001 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.11, allocations: 12.78 kB / 0.8001 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/1.11, allocations: 31.91 kB / 0.8002 GB, free: 35.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.11, allocations: 19.94 kB / 0.8002 GB, free: 35.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.11, allocations: 11.94 kB / 0.8002 GB, free: 35.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/1.112, allocations: 1.993 MB / 0.8021 GB, free: 33.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/1.113, allocations: 339.7 kB / 0.8025 GB, free: 33.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/1.113, allocations: 27.05 kB / 0.8025 GB, free: 33.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/1.114, allocations: 52.8 kB / 0.8025 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.114, allocations: 81.75 kB / 0.8026 GB, free: 33.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/1.114, allocations: 55.64 kB / 0.8027 GB, free: 33.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002256/1.116, allocations: 1.697 MB / 0.8043 GB, free: 31.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.116, allocations: 0 / 0.8043 GB, free: 31.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004309/1.121, allocations: 1.049 MB / 0.8054 GB, free: 30.82 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.0003842/1.121, allocations: 158.9 kB / 0.8055 GB, free: 30.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004081/1.125, allocations: 3.248 MB / 0.8087 GB, free: 27.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.125, allocations: 4.438 kB / 0.8087 GB, free: 27.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007166/1.126, allocations: 0.7937 MB / 0.8095 GB, free: 26.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.129, allocations: 288.1 kB / 0.8097 GB, free: 26.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/1.153, allocations: 16.02 MB / 0.8254 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004952/1.158, allocations: 3.1 MB / 0.8284 GB, free: 7.422 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004323/1.162, allocations: 1.641 MB / 0.83 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/1.163, allocations: 179.4 kB / 0.8302 GB, free: 5.617 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/1.163, allocations: 0 / 0.8302 GB, free: 5.617 MB / 490.7 MB Notification: Performance of Templates: time 0.05359/1.217, allocations: 19.49 MB / 0.8492 GB, free: 2.523 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches