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.001383/0.001384, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 8.867 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 81.66 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 62.44 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02707/0.1483, allocations: 28.78 MB / 0.4968 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1627, allocations: 5.83 MB / 0.5025 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005991/0.1687, allocations: 123.8 kB / 0.5026 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.1724, allocations: 1.546 MB / 0.5041 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2473/0.4198, allocations: 1.468 MB / 0.5055 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.4206, allocations: 115.5 kB / 0.5057 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007113/0.4277, allocations: 4.847 MB / 0.5104 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/0.4315, allocations: 2.182 MB / 0.5125 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.4338, allocations: 1.01 MB / 0.5135 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005076/0.4388, allocations: 2.883 MB / 0.5163 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.4399, allocations: 169.3 kB / 0.5165 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.4419, allocations: 0.688 MB / 0.5172 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.444, allocations: 1.446 MB / 0.5186 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002934/0.447, allocations: 1.767 MB / 0.5203 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006154/0.4532, allocations: 4.606 MB / 0.5248 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4532, allocations: 1.406 kB / 0.5248 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4532, allocations: 0 / 0.5248 GB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002385/0.4534, allocations: 0 / 0.5248 GB, free: 8.211 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.01285/0.4663, allocations: 3.988 MB / 0.5287 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.4664, allocations: 9.969 kB / 0.5287 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009477/0.4759, allocations: 2.962 MB / 0.5316 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/0.4802, allocations: 1.814 MB / 0.5334 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4804, allocations: 189 kB / 0.5335 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.4816, allocations: 234.7 kB / 0.5338 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.4988, allocations: 9.762 MB / 0.5433 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.4989, allocations: 15.81 kB / 0.5433 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.4993, allocations: 117.3 kB / 0.5434 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003579/0.5029, allocations: 2.361 MB / 0.5457 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.521, allocations: 8.946 MB / 0.5545 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04915/0.5702, allocations: 29.73 MB / 0.5835 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008008/0.5782, allocations: 3.477 MB / 0.5869 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.5806, allocations: 1.109 MB / 0.588 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/0.5957, allocations: 6.462 MB / 0.5943 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.5958, allocations: 45.84 kB / 0.5943 GB, free: 7.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 8.646e-06/0.5958, allocations: 3.75 kB / 0.5943 GB, free: 7.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.01223/0.6081, allocations: 3.135 MB / 0.5974 GB, free: 4.074 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6082, allocations: 119.5 kB / 0.5975 GB, free: 3.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006009/0.6143, allocations: 2.725 MB / 0.6002 GB, free: 1.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.6145, allocations: 40.91 kB / 0.6002 GB, free: 1.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.6172, allocations: 2.736 MB / 0.6029 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.6181, allocations: 0.5164 MB / 0.6034 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/0.62, allocations: 0.9326 MB / 0.6043 GB, free: 12.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6201, allocations: 301.1 kB / 0.6046 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.6232, allocations: 1.406 MB / 0.606 GB, free: 11.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005658/0.6289, allocations: 4.231 MB / 0.6101 GB, free: 5.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009995/0.6389, allocations: 6.148 MB / 0.6161 GB, free: 14.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/0.6391, allocations: 28 kB / 0.6161 GB, free: 14.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.0123/0.6514, allocations: 5.446 MB / 0.6214 GB, free: 9.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.6516, allocations: 51.94 kB / 0.6215 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.6517, allocations: 104.1 kB / 0.6216 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.6519, allocations: 132 kB / 0.6217 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.6551, allocations: 0.9903 MB / 0.6227 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001743/0.6553, allocations: 195.2 kB / 0.6229 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.6587, allocations: 0.6206 MB / 0.6235 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007978/0.6595, allocations: 288 kB / 0.6237 GB, free: 6.773 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.004276/0.6638, allocations: 1.976 MB / 0.6257 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.6644, allocations: 232.9 kB / 0.6259 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.6653, allocations: 288.8 kB / 0.6262 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/0.6654, allocations: 16 kB / 0.6262 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6654, allocations: 0.5625 kB / 0.6262 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.6654, allocations: 3.984 kB / 0.6262 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.679, allocations: 6.196 MB / 0.6322 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.679, allocations: 8 kB / 0.6323 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.6797, allocations: 163.7 kB / 0.6324 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.6798, allocations: 12 kB / 0.6324 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.6799, allocations: 32.52 kB / 0.6324 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/0.6799, allocations: 24.17 kB / 0.6325 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.6799, allocations: 15.94 kB / 0.6325 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.6825, allocations: 2.002 MB / 0.6344 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.6832, allocations: 309.8 kB / 0.6347 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.6836, allocations: 20 kB / 0.6348 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/0.6845, allocations: 46.06 kB / 0.6348 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.6847, allocations: 80.3 kB / 0.6349 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6848, allocations: 58.98 kB / 0.6349 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003398/0.6882, allocations: 1.666 MB / 0.6366 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6882, allocations: 0 / 0.6366 GB, free: 9.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004719/0.6929, allocations: 1.019 MB / 0.6376 GB, free: 8.324 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.0004961/0.6934, allocations: 167.5 kB / 0.6377 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005592/0.699, allocations: 3.24 MB / 0.6409 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.6991, allocations: 0 / 0.6409 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.7002, allocations: 0.804 MB / 0.6417 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.7024, allocations: 294.5 kB / 0.6419 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.7221, allocations: 10.21 MB / 0.6519 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005617/0.7278, allocations: 3.111 MB / 0.6549 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.7286, allocations: 215.4 kB / 0.6552 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of SimCode: time 4.017e-06/0.7286, allocations: 0 / 0.6552 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.06845/0.797, allocations: 44.26 MB / 0.6984 GB, free: 10.05 MB / 0.545 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/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