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.001205/0.001206, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 83.86 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1308, allocations: 62.44 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01175/0.1426, allocations: 11.51 MB / 493 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.149, allocations: 3.06 MB / 496 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.1508, allocations: 59.88 kB / 496.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.1538, allocations: 1.576 MB / 497.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.1576, allocations: 1.557 MB / 499.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.158, allocations: 123.8 kB / 499.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.1623, allocations: 3.297 MB / 0.4908 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.165, allocations: 2.191 MB / 0.493 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1666, allocations: 1.148 MB / 0.4941 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.1699, allocations: 2.427 MB / 0.4965 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006329/0.1705, allocations: 228 kB / 0.4967 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.172, allocations: 0.7059 MB / 0.4974 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.1733, allocations: 1.496 MB / 0.4988 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.1748, allocations: 1.816 MB / 0.5006 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.252/0.4268, allocations: 5.907 MB / 0.5064 GB, free: 20.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4269, allocations: 0 / 0.5064 GB, free: 20.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4269, allocations: 0.6562 kB / 0.5064 GB, free: 20.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.4271, allocations: 0 / 0.5064 GB, free: 20.06 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.009439/0.4365, allocations: 3.981 MB / 0.5103 GB, free: 18.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4366, allocations: 12.2 kB / 0.5103 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.4471, allocations: 2.962 MB / 0.5132 GB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.4539, allocations: 1.836 MB / 0.515 GB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.4542, allocations: 185 kB / 0.5151 GB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.4554, allocations: 238.7 kB / 0.5154 GB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.4741, allocations: 9.76 MB / 0.5249 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.4743, allocations: 19.94 kB / 0.5249 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009972/0.4753, allocations: 112.4 kB / 0.525 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/0.4792, allocations: 2.372 MB / 0.5273 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.495, allocations: 8.945 MB / 0.5361 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04079/0.5358, allocations: 29.48 MB / 0.5649 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/0.5425, allocations: 3.481 MB / 0.5683 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5439, allocations: 1.107 MB / 0.5694 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009937/0.5539, allocations: 6.458 MB / 0.5757 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5539, allocations: 44.5 kB / 0.5757 GB, free: 1.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.446e-06/0.5539, allocations: 7.75 kB / 0.5757 GB, free: 1.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.007207/0.5612, allocations: 3.135 MB / 0.5788 GB, free: 14.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.5613, allocations: 115.5 kB / 0.5789 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.5648, allocations: 2.723 MB / 0.5815 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.5649, allocations: 44.12 kB / 0.5816 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.5665, allocations: 2.733 MB / 0.5843 GB, free: 9.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.567, allocations: 0.5129 MB / 0.5848 GB, free: 8.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.5681, allocations: 0.9375 MB / 0.5857 GB, free: 7.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5682, allocations: 305.1 kB / 0.586 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.57, allocations: 1.402 MB / 0.5873 GB, free: 5.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.574, allocations: 4.226 MB / 0.5915 GB, free: 348 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/0.5806, allocations: 6.152 MB / 0.5975 GB, free: 9.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.101e-05/0.5807, allocations: 28 kB / 0.5975 GB, free: 9.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008572/0.5892, allocations: 5.443 MB / 0.6028 GB, free: 4.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.5893, allocations: 55.88 kB / 0.6029 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-05/0.5894, allocations: 100 kB / 0.603 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.5896, allocations: 132 kB / 0.6031 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.5921, allocations: 0.9942 MB / 0.6041 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001709/0.5923, allocations: 201.1 kB / 0.6042 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.5951, allocations: 0.616 MB / 0.6048 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.5954, allocations: 288 kB / 0.6051 GB, free: 1.684 MB / 446.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.002707/0.5981, allocations: 1.975 MB / 0.6071 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.5985, allocations: 228.9 kB / 0.6073 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.599, allocations: 290.5 kB / 0.6075 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/0.599, allocations: 26.33 kB / 0.6076 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.599, allocations: 1.781 kB / 0.6076 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.599, allocations: 3.984 kB / 0.6076 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008848/0.6079, allocations: 6.194 MB / 0.6136 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6079, allocations: 8 kB / 0.6136 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.6085, allocations: 167.7 kB / 0.6138 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.6086, allocations: 16.06 kB / 0.6138 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.6086, allocations: 30.48 kB / 0.6138 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.6086, allocations: 15.94 kB / 0.6139 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.6087, allocations: 11.94 kB / 0.6139 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.6109, allocations: 2.002 MB / 0.6158 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.6114, allocations: 305.8 kB / 0.6161 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.6116, allocations: 30.33 kB / 0.6161 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.6123, allocations: 35.97 kB / 0.6162 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.6124, allocations: 89.7 kB / 0.6163 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.6125, allocations: 46.42 kB / 0.6163 GB, free: 5.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002243/0.6147, allocations: 1.678 MB / 0.6179 GB, free: 4.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6148, allocations: 0 / 0.6179 GB, free: 4.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003586/0.6183, allocations: 1.013 MB / 0.6189 GB, free: 3.238 MB / 462.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.0003474/0.6187, allocations: 165.8 kB / 0.6191 GB, free: 3.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004475/0.6232, allocations: 3.275 MB / 0.6223 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6232, allocations: 8.25 kB / 0.6223 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.6241, allocations: 0.7975 MB / 0.6231 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6256, allocations: 293.7 kB / 0.6234 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6375, allocations: 7.678 MB / 0.6309 GB, free: 6.945 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/0.6407, allocations: 3.107 MB / 0.6339 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003112/0.6439, allocations: 1.548 MB / 0.6354 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.6442, allocations: 167.4 kB / 0.6356 GB, free: 2.094 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6442, allocations: 0 / 0.6356 GB, free: 2.094 MB / 478.1 MB Notification: Performance of Templates: time 0.03602/0.6803, allocations: 16.05 MB / 0.6512 GB, free: 2.258 MB / 494.1 MB 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches