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.001209/0.00121, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, 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.2573/0.2573, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4205, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01159/0.4321, allocations: 8.696 MB / 0.5395 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00744/0.4396, allocations: 2.288 MB / 0.5417 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.4416, allocations: 41.88 kB / 0.5417 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.4451, allocations: 1.542 MB / 0.5433 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.447, allocations: 463.2 kB / 0.5437 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.4474, allocations: 79.56 kB / 0.5438 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.4492, allocations: 0.9273 MB / 0.5447 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.4516, allocations: 1.492 MB / 0.5461 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.4528, allocations: 0.541 MB / 0.5467 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.4542, allocations: 0.6772 MB / 0.5473 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003905/0.4546, allocations: 124 kB / 0.5474 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.4552, allocations: 123.9 kB / 0.5476 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009512/0.4562, allocations: 0.7324 MB / 0.5483 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.4577, allocations: 0.8464 MB / 0.5491 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.4602, allocations: 2.329 MB / 0.5514 GB, free: 12.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4602, allocations: 3.938 kB / 0.5514 GB, free: 12.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4602, allocations: 4 kB / 0.5514 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.4603, allocations: 0 / 0.5514 GB, free: 12.75 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.002534/0.4628, allocations: 1.999 MB / 0.5533 GB, free: 10.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4629, allocations: 8.031 kB / 0.5533 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.4634, allocations: 223.4 kB / 0.5536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.4644, allocations: 0.7229 MB / 0.5543 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.4645, allocations: 119.4 kB / 0.5544 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.4646, allocations: 152.1 kB / 0.5545 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.4684, allocations: 3.371 MB / 0.5578 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.4684, allocations: 15.81 kB / 0.5578 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.4686, allocations: 75.94 kB / 0.5579 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006748/0.4692, allocations: 0.6227 MB / 0.5585 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.472, allocations: 1.858 MB / 0.5603 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.4829, allocations: 13.52 MB / 0.5735 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.483, allocations: 165.1 kB / 0.5737 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.483, allocations: 80.14 kB / 0.5738 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.4831, allocations: 79.22 kB / 0.5738 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4831, allocations: 109.8 kB / 0.5739 GB, free: 4.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.4831, allocations: 4 kB / 0.5739 GB, free: 4.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002274/0.4834, allocations: 152.9 kB / 0.5741 GB, free: 4.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.4834, allocations: 130.7 kB / 0.5742 GB, free: 4.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.4853, allocations: 1.651 MB / 0.5758 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4853, allocations: 25.7 kB / 0.5759 GB, free: 2.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/0.4862, allocations: 1.419 MB / 0.5772 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4862, allocations: 47.95 kB / 0.5773 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.4866, allocations: 423.1 kB / 0.5777 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4868, allocations: 361.9 kB / 0.578 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.4873, allocations: 367.8 kB / 0.5784 GB, free: 144 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.489, allocations: 1.937 MB / 0.5803 GB, free: 13.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.4914, allocations: 2.504 MB / 0.5827 GB, free: 10.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.4914, allocations: 16 kB / 0.5827 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003002/0.4944, allocations: 2.123 MB / 0.5848 GB, free: 7.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.4945, allocations: 28 kB / 0.5848 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/0.4945, allocations: 59.98 kB / 0.5849 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-05/0.4946, allocations: 76 kB / 0.585 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4957, allocations: 487.7 kB / 0.5854 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.01e-05/0.4958, allocations: 115.5 kB / 0.5855 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4973, allocations: 333.5 kB / 0.5859 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.4974, allocations: 136 kB / 0.586 GB, free: 6.727 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.001292/0.4987, allocations: 0.8627 MB / 0.5868 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.499, allocations: 240 kB / 0.5871 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.4992, allocations: 228.2 kB / 0.5873 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-05/0.4993, allocations: 184.3 kB / 0.5875 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.736e-05/0.4994, allocations: 188.2 kB / 0.5876 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-05/0.4995, allocations: 176.3 kB / 0.5878 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.5015, allocations: 1.481 MB / 0.5892 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/0.5015, allocations: 104.9 kB / 0.5893 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.5016, allocations: 105 kB / 0.5894 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.5017, allocations: 184.2 kB / 0.5896 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.5018, allocations: 176.3 kB / 0.5898 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.091e-05/0.5019, allocations: 180.2 kB / 0.59 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-05/0.502, allocations: 188.2 kB / 0.5901 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.5023, allocations: 434 kB / 0.5906 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.5025, allocations: 301.2 kB / 0.5908 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.5027, allocations: 184.2 kB / 0.591 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.503, allocations: 105 kB / 0.5911 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.5031, allocations: 180.3 kB / 0.5913 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.5031, allocations: 112.9 kB / 0.5914 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.5044, allocations: 1.018 MB / 0.5924 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5044, allocations: 0 / 0.5924 GB, free: 15.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0019/0.5063, allocations: 434.7 kB / 0.5928 GB, free: 15.5 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.0002195/0.5065, allocations: 174.4 kB / 0.593 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.5079, allocations: 0.899 MB / 0.5939 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5079, allocations: 0 / 0.5939 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.5079, allocations: 7.875 kB / 0.5939 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.5087, allocations: 0.5754 MB / 0.5944 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.513, allocations: 2.811 MB / 0.5972 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.5143, allocations: 1.575 MB / 0.5987 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001268/0.5156, allocations: 499.2 kB / 0.5992 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.5157, allocations: 75.44 kB / 0.5993 GB, free: 8.828 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5157, allocations: 0 / 0.5993 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Templates: time 0.01892/0.5347, allocations: 8.786 MB / 0.6078 GB, free: 80 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