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.0009673/0.0009672, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007924/0.0007925, allocations: 92.92 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 45.15 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.262e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.5062, allocations: 98.6 MB / 0.6006 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5065, allocations: 78.58 kB / 0.6007 GB, free: 4.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/0.6845, allocations: 74.68 MB / 0.6736 GB, free: 1.527 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6846, allocations: 3.938 kB / 0.6736 GB, free: 1.523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.6847, allocations: 64 kB / 0.6737 GB, free: 1.461 MB / 458.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.01094/0.6957, allocations: 3.634 MB / 0.6773 GB, free: 13.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6957, allocations: 11.97 kB / 0.6773 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.7104, allocations: 3.301 MB / 0.6805 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/0.7173, allocations: 2.442 MB / 0.6829 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.7176, allocations: 116 kB / 0.683 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/0.7196, allocations: 208 kB / 0.6832 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01183/0.7315, allocations: 6.688 MB / 0.6897 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.7499, allocations: 8.884 MB / 0.6984 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.7501, allocations: 19.81 kB / 0.6984 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.7517, allocations: 8 kB / 0.6984 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.7534, allocations: 1.109 MB / 0.6995 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0568/0.8102, allocations: 33.35 MB / 0.7321 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/0.8147, allocations: 2.705 MB / 0.7347 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.8165, allocations: 0.8853 MB / 0.7356 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.8183, allocations: 1.634 MB / 0.7372 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.8184, allocations: 43.88 kB / 0.7372 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=164): time 5.34e-06/0.8184, allocations: 4 kB / 0.7372 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164): time 0.005687/0.8241, allocations: 2.192 MB / 0.7394 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.8242, allocations: 90.42 kB / 0.7394 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004609/0.8288, allocations: 2.287 MB / 0.7417 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.8289, allocations: 29.64 kB / 0.7417 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.8308, allocations: 2.788 MB / 0.7444 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/0.8314, allocations: 0.5976 MB / 0.745 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.8316, allocations: 0 / 0.745 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003135/0.8319, allocations: 0.5288 MB / 0.7455 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.8337, allocations: 1.4 MB / 0.7469 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2593/1.093, allocations: 4.521 MB / 0.7513 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.097, allocations: 2.58 MB / 0.7538 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-05/1.097, allocations: 35.31 kB / 0.7539 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.008506/1.106, allocations: 5.249 MB / 0.759 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/1.106, allocations: 53.31 kB / 0.759 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.106, allocations: 112.4 kB / 0.7591 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/1.106, allocations: 163.6 kB / 0.7593 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.109, allocations: 1.145 MB / 0.7604 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001703/1.109, allocations: 223.5 kB / 0.7606 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.112, allocations: 0.5729 MB / 0.7612 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/1.112, allocations: 336.9 kB / 0.7615 GB, free: 144.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * 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.0004682/1.113, allocations: 378.3 kB / 0.7619 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/1.113, allocations: 238.9 kB / 0.7621 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/1.116, allocations: 2.063 MB / 0.7641 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/1.116, allocations: 18.72 kB / 0.7641 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.116, allocations: 8.141 kB / 0.7641 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.116, allocations: 5.625 kB / 0.7642 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/1.127, allocations: 6.336 MB / 0.7703 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.127, allocations: 10.22 kB / 0.7703 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/1.127, allocations: 214.3 kB / 0.7706 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.127, allocations: 15.19 kB / 0.7706 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/1.128, allocations: 22.97 kB / 0.7706 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.128, allocations: 17.28 kB / 0.7706 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.128, allocations: 17.53 kB / 0.7706 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/1.13, allocations: 3.163 MB / 0.7737 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/1.131, allocations: 345.6 kB / 0.774 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.131, allocations: 18.42 kB / 0.7741 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/1.131, allocations: 32.03 kB / 0.7741 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.132, allocations: 104.1 kB / 0.7742 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/1.132, allocations: 62.23 kB / 0.7742 GB, free: 141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001754/1.133, allocations: 1.503 MB / 0.7757 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.133, allocations: 0 / 0.7757 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003999/1.137, allocations: 0.9542 MB / 0.7766 GB, free: 140.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * 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.0003455/1.138, allocations: 152.4 kB / 0.7768 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004907/1.143, allocations: 3.353 MB / 0.7801 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.143, allocations: 0 / 0.7801 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/1.144, allocations: 0.9325 MB / 0.781 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.145, allocations: 214.6 kB / 0.7812 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/1.17, allocations: 15.69 MB / 0.7965 GB, free: 138 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/1.173, allocations: 3.186 MB / 0.7996 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003726/1.177, allocations: 1.864 MB / 0.8014 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/1.177, allocations: 194.6 kB / 0.8016 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/1.177, allocations: 0 / 0.8016 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.03282/1.21, allocations: 17.38 MB / 0.8186 GB, free: 132.5 MB / 0.5261 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/jenkins/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