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.001122/0.001122, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 201.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3869, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009988/0.3969, allocations: 8.701 MB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.4029, allocations: 2.293 MB / 0.5417 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.4045, allocations: 41.84 kB / 0.5417 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.4078, allocations: 1.544 MB / 0.5433 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.4093, allocations: 463.9 kB / 0.5437 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.4097, allocations: 68.28 kB / 0.5438 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.4114, allocations: 0.9303 MB / 0.5447 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.4137, allocations: 1.494 MB / 0.5461 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.4146, allocations: 0.541 MB / 0.5467 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.4156, allocations: 0.6811 MB / 0.5473 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.4159, allocations: 116 kB / 0.5474 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.4162, allocations: 123.9 kB / 0.5476 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.417, allocations: 0.7403 MB / 0.5483 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.4177, allocations: 0.8463 MB / 0.5491 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.4204, allocations: 2.329 MB / 0.5514 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4204, allocations: 0 / 0.5514 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4204, allocations: 0 / 0.5514 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.4204, allocations: 0 / 0.5514 GB, free: 12.77 MB / 414.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.003079/0.4235, allocations: 1.995 MB / 0.5533 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4236, allocations: 12.03 kB / 0.5533 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006662/0.4242, allocations: 223.4 kB / 0.5535 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.4254, allocations: 0.7268 MB / 0.5543 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.4255, allocations: 115.4 kB / 0.5544 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4257, allocations: 156 kB / 0.5545 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.4302, allocations: 3.375 MB / 0.5578 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.4303, allocations: 15.88 kB / 0.5578 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.4304, allocations: 71.94 kB / 0.5579 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007438/0.4312, allocations: 0.6149 MB / 0.5585 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/0.4343, allocations: 1.862 MB / 0.5603 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.4492, allocations: 13.52 MB / 0.5735 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.4494, allocations: 173.1 kB / 0.5737 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.4494, allocations: 80.14 kB / 0.5738 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.4495, allocations: 83.22 kB / 0.5738 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.4495, allocations: 109.8 kB / 0.5739 GB, free: 4.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.4495, allocations: 0 / 0.5739 GB, free: 4.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003791/0.4499, allocations: 152.9 kB / 0.5741 GB, free: 4.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.45, allocations: 134.6 kB / 0.5742 GB, free: 4.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.4526, allocations: 1.651 MB / 0.5758 GB, free: 2.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4526, allocations: 25.7 kB / 0.5759 GB, free: 2.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.4539, allocations: 1.416 MB / 0.5772 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.4539, allocations: 43.95 kB / 0.5773 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.4544, allocations: 431.1 kB / 0.5777 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4546, allocations: 357.9 kB / 0.578 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.4552, allocations: 371.8 kB / 0.5784 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.4574, allocations: 1.933 MB / 0.5803 GB, free: 13.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.4607, allocations: 2.507 MB / 0.5827 GB, free: 10.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.913e-05/0.4608, allocations: 16 kB / 0.5827 GB, free: 10.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003819/0.4646, allocations: 2.123 MB / 0.5848 GB, free: 7.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.4647, allocations: 32 kB / 0.5848 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.676e-05/0.4647, allocations: 56 kB / 0.5849 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.469e-05/0.4648, allocations: 72 kB / 0.585 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4661, allocations: 491 kB / 0.5854 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/0.4663, allocations: 107.6 kB / 0.5855 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4679, allocations: 329.5 kB / 0.5858 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.468, allocations: 140 kB / 0.586 GB, free: 6.75 MB / 446.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.001176/0.4692, allocations: 0.8708 MB / 0.5868 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.4695, allocations: 232.1 kB / 0.5871 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.4697, allocations: 228.2 kB / 0.5873 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.4698, allocations: 188.3 kB / 0.5874 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001782/0.47, allocations: 180.3 kB / 0.5876 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.4701, allocations: 192.2 kB / 0.5878 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.4724, allocations: 1.466 MB / 0.5892 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/0.4724, allocations: 108.9 kB / 0.5893 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.4725, allocations: 112.9 kB / 0.5894 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/0.4726, allocations: 176.3 kB / 0.5896 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.4726, allocations: 180.2 kB / 0.5898 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-05/0.4727, allocations: 184.2 kB / 0.59 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.4728, allocations: 184.2 kB / 0.5901 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.4731, allocations: 430 kB / 0.5905 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.4735, allocations: 305.1 kB / 0.5908 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.4737, allocations: 180.2 kB / 0.591 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.4741, allocations: 108.9 kB / 0.5911 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4742, allocations: 184.2 kB / 0.5913 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.4743, allocations: 109 kB / 0.5914 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00156/0.4758, allocations: 1.01 MB / 0.5924 GB, free: 15.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4759, allocations: 0 / 0.5924 GB, free: 15.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001718/0.4776, allocations: 438.6 kB / 0.5928 GB, free: 15.53 MB / 462.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.000172/0.4778, allocations: 170.5 kB / 0.593 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.4794, allocations: 0.9037 MB / 0.5938 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4794, allocations: 4.125 kB / 0.5938 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.4794, allocations: 0 / 0.5938 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.4803, allocations: 0.5713 MB / 0.5944 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.486, allocations: 2.811 MB / 0.5971 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.4881, allocations: 1.583 MB / 0.5987 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.4892, allocations: 495.2 kB / 0.5992 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4894, allocations: 79.42 kB / 0.5992 GB, free: 8.848 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4894, allocations: 0 / 0.5992 GB, free: 8.848 MB / 462.1 MB Notification: Performance of Templates: time 0.01861/0.508, allocations: 8.784 MB / 0.6078 GB, free: 104 kB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches