Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.2089, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 77.38 kB / 418.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1485, allocations: 62.45 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01098/0.1595, allocations: 8.688 MB / 489.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005746/0.1653, allocations: 2.289 MB / 491.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.1669, allocations: 39.94 kB / 491.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.1703, allocations: 1.55 MB / 493.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1719, allocations: 473.3 kB / 493.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1724, allocations: 63.84 kB / 493.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1741, allocations: 0.9294 MB / 494.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.1762, allocations: 1.502 MB / 496.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1772, allocations: 0.5332 MB / 496.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1784, allocations: 0.6772 MB / 497.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.1788, allocations: 120 kB / 497.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.1793, allocations: 127.9 kB / 497.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.1801, allocations: 0.7324 MB / 498.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1813, allocations: 0.858 MB / 499.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.1834, allocations: 2.207 MB / 0.4897 GB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1834, allocations: 0 / 0.4897 GB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1835, allocations: 0 / 0.4897 GB, free: 444 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.445e-05/0.1836, allocations: 0 / 0.4897 GB, free: 444 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.00332/0.1869, allocations: 1.944 MB / 0.4916 GB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1869, allocations: 12.03 kB / 0.4916 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.1876, allocations: 214.1 kB / 0.4918 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1887, allocations: 0.7186 MB / 0.4925 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.1888, allocations: 115.4 kB / 0.4926 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.189, allocations: 152.1 kB / 0.4928 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.1931, allocations: 3.375 MB / 0.4961 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.1931, allocations: 15.81 kB / 0.4961 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1933, allocations: 75.94 kB / 0.4962 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006736/0.194, allocations: 0.6149 MB / 0.4968 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.197, allocations: 1.862 MB / 0.4986 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2036/0.4006, allocations: 13.52 MB / 0.5118 GB, free: 31.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.4007, allocations: 172.2 kB / 0.512 GB, free: 30.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.4008, allocations: 85.95 kB / 0.512 GB, free: 30.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4008, allocations: 76.67 kB / 0.5121 GB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4008, allocations: 109.7 kB / 0.5122 GB, free: 30.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.123e-06/0.4008, allocations: 1.219 kB / 0.5122 GB, free: 30.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002628/0.4011, allocations: 151.5 kB / 0.5124 GB, free: 30.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.4011, allocations: 127.2 kB / 0.5125 GB, free: 30.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.4034, allocations: 1.65 MB / 0.5141 GB, free: 30.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.4034, allocations: 28.58 kB / 0.5141 GB, free: 30.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.4041, allocations: 1.356 MB / 0.5154 GB, free: 28.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.4041, allocations: 48.83 kB / 0.5155 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.4046, allocations: 425.3 kB / 0.5159 GB, free: 28.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4047, allocations: 358.8 kB / 0.5162 GB, free: 28.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.4052, allocations: 370.1 kB / 0.5166 GB, free: 28.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.4062, allocations: 1.929 MB / 0.5185 GB, free: 26.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4079, allocations: 2.511 MB / 0.5209 GB, free: 23.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/0.4079, allocations: 15.91 kB / 0.5209 GB, free: 23.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00335/0.4113, allocations: 2.115 MB / 0.523 GB, free: 22.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.4114, allocations: 31.05 kB / 0.523 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.4115, allocations: 60.06 kB / 0.5231 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.4116, allocations: 74.25 kB / 0.5232 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4128, allocations: 486.9 kB / 0.5236 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.867e-05/0.4129, allocations: 113.6 kB / 0.5237 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4143, allocations: 322.3 kB / 0.524 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.4144, allocations: 139.1 kB / 0.5242 GB, free: 22.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001018/0.4154, allocations: 0.8619 MB / 0.525 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.4156, allocations: 229.3 kB / 0.5252 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.4157, allocations: 233.9 kB / 0.5255 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.4158, allocations: 178.4 kB / 0.5256 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/0.4158, allocations: 177.1 kB / 0.5258 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.4158, allocations: 182.6 kB / 0.526 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.4177, allocations: 1.475 MB / 0.5274 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.4177, allocations: 110.9 kB / 0.5275 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.4177, allocations: 102.8 kB / 0.5276 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-05/0.4177, allocations: 178.1 kB / 0.5278 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.4178, allocations: 184.7 kB / 0.528 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-05/0.4178, allocations: 186.2 kB / 0.5281 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-05/0.4178, allocations: 188.5 kB / 0.5283 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.418, allocations: 420.9 kB / 0.5287 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.4183, allocations: 298 kB / 0.529 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4184, allocations: 182.8 kB / 0.5292 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4187, allocations: 107 kB / 0.5293 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.4187, allocations: 181.1 kB / 0.5295 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4187, allocations: 102.7 kB / 0.5296 GB, free: 17.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.42, allocations: 1.021 MB / 0.5306 GB, free: 17.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.42, allocations: 0 / 0.5306 GB, free: 17.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001754/0.4218, allocations: 428.1 kB / 0.531 GB, free: 17.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000131/0.4219, allocations: 180.4 kB / 0.5311 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4232, allocations: 0.8991 MB / 0.532 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4233, allocations: 0 / 0.532 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.4233, allocations: 1.094 kB / 0.532 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.424, allocations: 0.5756 MB / 0.5326 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.4289, allocations: 2.976 MB / 0.5355 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.4301, allocations: 1.575 MB / 0.537 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4302, allocations: 90.12 kB / 0.5371 GB, free: 14 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4303, allocations: 3.938 kB / 0.5371 GB, free: 14 MB / 382.1 MB Notification: Performance of Templates: time 0.02466/0.4549, allocations: 17.68 MB / 0.5544 GB, free: 14.53 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches