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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001267/0.001273, allocations: 95.36 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 45.93 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 12 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 63.46 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02433/0.152, allocations: 24.77 MB / 0.4943 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.1686, allocations: 5.841 MB / 0.5 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005053/0.1737, allocations: 119.7 kB / 0.5001 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.1779, allocations: 1.276 MB / 0.5014 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.1889, allocations: 3.721 MB / 0.505 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1904, allocations: 127.8 kB / 0.5051 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.275/0.4654, allocations: 24.41 MB / 0.529 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00433/0.4697, allocations: 2.605 MB / 0.5315 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.4711, allocations: 0.7999 MB / 0.5323 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05822/0.5293, allocations: 46.69 MB / 0.5779 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.5307, allocations: 120 kB / 0.578 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.5327, allocations: 0.5233 MB / 0.5785 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.5345, allocations: 1.267 MB / 0.5797 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.5359, allocations: 0.7278 MB / 0.5804 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.5439, allocations: 4.537 MB / 0.5849 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5439, allocations: 0 / 0.5849 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5439, allocations: 0 / 0.5849 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002848/0.5442, allocations: 1.781 kB / 0.5849 GB, free: 15.52 MB / 430.1 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.01024/0.5545, allocations: 3.448 MB / 0.5882 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5546, allocations: 12.03 kB / 0.5883 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.5664, allocations: 3.59 MB / 0.5918 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.5711, allocations: 1.795 MB / 0.5935 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.5713, allocations: 188.6 kB / 0.5937 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006872/0.572, allocations: 239.8 kB / 0.5939 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.5877, allocations: 9.792 MB / 0.6035 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.958e-05/0.5878, allocations: 18.97 kB / 0.6035 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004088/0.5882, allocations: 107.8 kB / 0.6036 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/0.5921, allocations: 2.368 MB / 0.6059 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.6113, allocations: 8.976 MB / 0.6147 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/0.6548, allocations: 29.78 MB / 0.6438 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006678/0.6615, allocations: 3.487 MB / 0.6472 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.674, allocations: 5.921 MB / 0.653 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.6741, allocations: 51.16 kB / 0.653 GB, free: 8.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=138): time 7.855e-06/0.6741, allocations: 3.938 kB / 0.653 GB, free: 8.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.008517/0.6827, allocations: 3.751 MB / 0.6567 GB, free: 4.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.6828, allocations: 115.5 kB / 0.6568 GB, free: 4.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.6864, allocations: 2.71 MB / 0.6594 GB, free: 1.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.6865, allocations: 41.7 kB / 0.6595 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.6883, allocations: 2.728 MB / 0.6621 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.6888, allocations: 0.5284 MB / 0.6626 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.6889, allocations: 84 kB / 0.6627 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003748/0.6893, allocations: 0.5081 MB / 0.6632 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.6912, allocations: 1.383 MB / 0.6646 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004126/0.6953, allocations: 4.202 MB / 0.6687 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.6989, allocations: 2.419 MB / 0.671 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/0.6989, allocations: 36 kB / 0.6711 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008187/0.7071, allocations: 5.415 MB / 0.6764 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.7072, allocations: 44 kB / 0.6764 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.7074, allocations: 100 kB / 0.6765 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.7075, allocations: 152 kB / 0.6766 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.7102, allocations: 0.9942 MB / 0.6776 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.7103, allocations: 191.2 kB / 0.6778 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.7131, allocations: 0.6119 MB / 0.6784 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/0.7135, allocations: 292 kB / 0.6787 GB, free: 12.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (551): * Single equations (assignments): 543 * Array equations: 8 * 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.003466/0.7169, allocations: 1.978 MB / 0.6806 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.7174, allocations: 232.9 kB / 0.6808 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/0.7179, allocations: 288.8 kB / 0.6811 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.7179, allocations: 19.98 kB / 0.6811 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.7179, allocations: 2.578 kB / 0.6811 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.718, allocations: 7.984 kB / 0.6811 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.7285, allocations: 6.256 MB / 0.6872 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.7285, allocations: 12.97 kB / 0.6873 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/0.7292, allocations: 167.7 kB / 0.6874 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/0.7292, allocations: 12 kB / 0.6874 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.7293, allocations: 47.91 kB / 0.6875 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/0.7293, allocations: 15.94 kB / 0.6875 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.7293, allocations: 15.89 kB / 0.6875 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.7321, allocations: 2.721 MB / 0.6902 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.7327, allocations: 321.9 kB / 0.6905 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7329, allocations: 31.77 kB / 0.6905 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.7335, allocations: 51.94 kB / 0.6905 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.7337, allocations: 84.31 kB / 0.6906 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.7338, allocations: 44 kB / 0.6907 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002659/0.7364, allocations: 1.654 MB / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7364, allocations: 0 / 0.6923 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004312/0.7408, allocations: 1.047 MB / 0.6933 GB, free: 12.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (96): * Single equations (assignments): 90 * 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.0004819/0.7413, allocations: 155.5 kB / 0.6935 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005295/0.7466, allocations: 3.24 MB / 0.6966 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.7466, allocations: 0 / 0.6966 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.7477, allocations: 0.8048 MB / 0.6974 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.7492, allocations: 276.8 kB / 0.6977 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/1, allocations: 9.409 MB / 0.7069 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005136/1.006, allocations: 3.18 MB / 0.71 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004324/1.01, allocations: 1.554 MB / 0.7115 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/1.011, allocations: 166.2 kB / 0.7116 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.412e-06/1.011, allocations: 0 / 0.7116 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.05373/1.064, allocations: 18.65 MB / 0.7299 GB, free: 178.2 MB / 0.5294 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