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.001206/0.001206, allocations: 108 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001558, allocations: 209.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 73.39 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02822/0.1599, allocations: 28.79 MB / 0.4964 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.173, allocations: 5.787 MB / 0.502 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.1783, allocations: 123.7 kB / 0.5021 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.1815, allocations: 1.496 MB / 0.5036 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2329/0.4144, allocations: 1.461 MB / 0.505 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.415, allocations: 114.7 kB / 0.5051 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00436/0.4194, allocations: 3.499 MB / 0.5085 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.4222, allocations: 2.304 MB / 0.5108 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.4246, allocations: 1.158 MB / 0.5119 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.4287, allocations: 2.95 MB / 0.5148 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007179/0.4294, allocations: 229.1 kB / 0.515 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.4312, allocations: 0.7155 MB / 0.5157 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.4326, allocations: 1.513 MB / 0.5172 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4341, allocations: 1.829 MB / 0.519 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00552/0.4396, allocations: 5.659 MB / 0.5245 GB, free: 7.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4397, allocations: 0 / 0.5245 GB, free: 7.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4397, allocations: 0 / 0.5245 GB, free: 7.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.4398, allocations: 0 / 0.5245 GB, free: 7.789 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.006604/0.4464, allocations: 3.992 MB / 0.5284 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4465, allocations: 8.938 kB / 0.5284 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008908/0.4554, allocations: 2.972 MB / 0.5313 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.4587, allocations: 1.812 MB / 0.5331 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.4588, allocations: 182.8 kB / 0.5333 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.4594, allocations: 234.9 kB / 0.5335 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.476, allocations: 9.77 MB / 0.543 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.982e-05/0.4761, allocations: 14.59 kB / 0.543 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008745/0.477, allocations: 119.8 kB / 0.5432 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.481, allocations: 2.356 MB / 0.5455 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.4989, allocations: 8.951 MB / 0.5542 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04751/0.5465, allocations: 29.72 MB / 0.5832 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/0.5533, allocations: 3.489 MB / 0.5866 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.5549, allocations: 1.099 MB / 0.5877 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.5652, allocations: 6.474 MB / 0.594 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.5653, allocations: 42.22 kB / 0.5941 GB, free: 6.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 5.27e-06/0.5653, allocations: 0 / 0.5941 GB, free: 6.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.007826/0.5731, allocations: 3.14 MB / 0.5971 GB, free: 3.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.5732, allocations: 113.8 kB / 0.5972 GB, free: 3.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/0.5786, allocations: 2.729 MB / 0.5999 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5788, allocations: 41.7 kB / 0.5999 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.5808, allocations: 2.733 MB / 0.6026 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/0.5814, allocations: 0.5076 MB / 0.6031 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.5829, allocations: 0.9315 MB / 0.604 GB, free: 12.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.583, allocations: 309.1 kB / 0.6043 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.5851, allocations: 1.406 MB / 0.6057 GB, free: 11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/0.5891, allocations: 4.225 MB / 0.6098 GB, free: 5.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006554/0.5956, allocations: 6.152 MB / 0.6158 GB, free: 14.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-05/0.5957, allocations: 28 kB / 0.6158 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00858/0.6043, allocations: 5.451 MB / 0.6212 GB, free: 8.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.6044, allocations: 51.94 kB / 0.6212 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.6046, allocations: 100 kB / 0.6213 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.6047, allocations: 128 kB / 0.6214 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/0.6076, allocations: 0.9981 MB / 0.6224 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.6078, allocations: 203.2 kB / 0.6226 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.6109, allocations: 0.6251 MB / 0.6232 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/0.6113, allocations: 284 kB / 0.6235 GB, free: 6.523 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.003291/0.6146, allocations: 1.976 MB / 0.6254 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.6151, allocations: 230 kB / 0.6256 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.6157, allocations: 288.8 kB / 0.6259 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.6157, allocations: 16 kB / 0.6259 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6157, allocations: 0 / 0.6259 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.6157, allocations: 3.984 kB / 0.6259 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.6258, allocations: 6.199 MB / 0.632 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.6258, allocations: 8 kB / 0.632 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.6265, allocations: 163.7 kB / 0.6321 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.6265, allocations: 16.06 kB / 0.6322 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.6266, allocations: 34.27 kB / 0.6322 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.6266, allocations: 19.94 kB / 0.6322 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6266, allocations: 11.84 kB / 0.6322 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.6289, allocations: 2.002 MB / 0.6342 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.6294, allocations: 305.8 kB / 0.6345 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.6298, allocations: 27.98 kB / 0.6345 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.6306, allocations: 43.95 kB / 0.6345 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6307, allocations: 84.23 kB / 0.6346 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.6308, allocations: 51.05 kB / 0.6347 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003027/0.6338, allocations: 1.67 MB / 0.6363 GB, free: 9.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6339, allocations: 0 / 0.6363 GB, free: 9.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004301/0.6382, allocations: 1.015 MB / 0.6373 GB, free: 8.082 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.0004672/0.6386, allocations: 160.5 kB / 0.6374 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.6453, allocations: 4.08 MB / 0.6414 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.6454, allocations: 8.188 kB / 0.6414 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6464, allocations: 0.7975 MB / 0.6422 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.6483, allocations: 299.5 kB / 0.6425 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.6647, allocations: 9.768 MB / 0.652 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/0.6696, allocations: 3.099 MB / 0.6551 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004184/0.6738, allocations: 1.556 MB / 0.6566 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.6744, allocations: 171.4 kB / 0.6567 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.6744, allocations: 0 / 0.6567 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.04184/0.7162, allocations: 19.59 MB / 0.6759 GB, free: 0.6055 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