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.0009541/0.0009542, allocations: 93.16 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 199.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004219, allocations: 11.94 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02717/0.1856, allocations: 27.87 MB / 0.499 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.2008, allocations: 5.792 MB / 0.5046 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006301/0.2072, allocations: 123.7 kB / 0.5047 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.2088, allocations: 426.2 kB / 0.5052 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.2144, allocations: 1.487 MB / 0.5066 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.2151, allocations: 103.9 kB / 0.5067 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2583/0.4735, allocations: 4.852 MB / 0.5114 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008202/0.4817, allocations: 2.803 MB / 0.5142 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.4846, allocations: 0.8942 MB / 0.5151 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.4906, allocations: 2.738 MB / 0.5177 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.4918, allocations: 121.5 kB / 0.5178 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.4941, allocations: 0.6401 MB / 0.5185 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.4963, allocations: 1.396 MB / 0.5198 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.4983, allocations: 1.705 MB / 0.5215 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005909/0.5042, allocations: 5.445 MB / 0.5268 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5043, allocations: 0 / 0.5268 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5043, allocations: 0 / 0.5268 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001422/0.5044, allocations: 2.531 kB / 0.5268 GB, free: 7.145 MB / 382.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.006131/0.5105, allocations: 3.261 MB / 0.53 GB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5106, allocations: 9.594 kB / 0.53 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/0.5205, allocations: 3.049 MB / 0.533 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.5247, allocations: 1.81 MB / 0.5348 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.5248, allocations: 184.6 kB / 0.5349 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006598/0.5255, allocations: 244.6 kB / 0.5352 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.5438, allocations: 9.753 MB / 0.5447 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-05/0.5439, allocations: 20.19 kB / 0.5447 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.5443, allocations: 115 kB / 0.5448 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.5482, allocations: 2.368 MB / 0.5471 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.5665, allocations: 8.955 MB / 0.5559 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05604/0.6226, allocations: 29.75 MB / 0.5849 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.6295, allocations: 3.489 MB / 0.5883 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.6313, allocations: 1.095 MB / 0.5894 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.643, allocations: 6.469 MB / 0.5957 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.6431, allocations: 41.84 kB / 0.5958 GB, free: 7.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.989e-06/0.6431, allocations: 0 / 0.5958 GB, free: 7.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.008477/0.6515, allocations: 3.138 MB / 0.5988 GB, free: 3.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.6517, allocations: 111.5 kB / 0.5989 GB, free: 3.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006396/0.6581, allocations: 2.733 MB / 0.6016 GB, free: 1.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.6583, allocations: 41.7 kB / 0.6016 GB, free: 1.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.6609, allocations: 2.727 MB / 0.6043 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008353/0.6618, allocations: 0.518 MB / 0.6048 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009388/0.6627, allocations: 410.6 kB / 0.6052 GB, free: 13.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6629, allocations: 301.1 kB / 0.6055 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.6656, allocations: 1.406 MB / 0.6069 GB, free: 11.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006775/0.6724, allocations: 4.229 MB / 0.611 GB, free: 6.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.6856, allocations: 6.153 MB / 0.617 GB, free: 14.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002461/0.686, allocations: 28 kB / 0.617 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01646/0.7025, allocations: 5.449 MB / 0.6224 GB, free: 9.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.7026, allocations: 59.88 kB / 0.6224 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.7029, allocations: 100 kB / 0.6225 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.7031, allocations: 132 kB / 0.6226 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004754/0.7079, allocations: 0.9944 MB / 0.6236 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002337/0.7081, allocations: 195.2 kB / 0.6238 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004982/0.7131, allocations: 0.6184 MB / 0.6244 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008727/0.714, allocations: 286.8 kB / 0.6247 GB, free: 7.16 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006007/0.72, allocations: 1.977 MB / 0.6266 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007096/0.7207, allocations: 228.9 kB / 0.6268 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.7218, allocations: 288.8 kB / 0.6271 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/0.7219, allocations: 19.83 kB / 0.6271 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.7219, allocations: 7.938 kB / 0.6271 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.7219, allocations: 3.984 kB / 0.6271 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.7389, allocations: 6.185 MB / 0.6332 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.739, allocations: 8.938 kB / 0.6332 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.7397, allocations: 163.7 kB / 0.6333 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.965e-05/0.7398, allocations: 12 kB / 0.6333 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.7399, allocations: 32 kB / 0.6334 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/0.7399, allocations: 19.92 kB / 0.6334 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/0.7399, allocations: 11.94 kB / 0.6334 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.7427, allocations: 1.999 MB / 0.6353 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.7435, allocations: 329.6 kB / 0.6357 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.744, allocations: 24 kB / 0.6357 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.745, allocations: 50.45 kB / 0.6357 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7452, allocations: 84.23 kB / 0.6358 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.7453, allocations: 48 kB / 0.6359 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004475/0.7498, allocations: 1.666 MB / 0.6375 GB, free: 9.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7498, allocations: 0 / 0.6375 GB, free: 9.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006706/0.7565, allocations: 1.025 MB / 0.6385 GB, free: 8.691 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005682/0.7571, allocations: 154.6 kB / 0.6386 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006105/0.7632, allocations: 3.255 MB / 0.6418 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7632, allocations: 384 / 0.6418 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.7644, allocations: 0.7939 MB / 0.6426 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/0.7687, allocations: 304 kB / 0.6429 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.7872, allocations: 9.789 MB / 0.6524 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00564/0.7929, allocations: 3.099 MB / 0.6555 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004505/0.7974, allocations: 1.552 MB / 0.657 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.798, allocations: 167.4 kB / 0.6571 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of SimCode: time 1.372e-06/0.798, allocations: 0 / 0.6571 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.0459/0.8439, allocations: 18.86 MB / 0.6756 GB, free: 2.75 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches