Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 195.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008373/0.0008373, allocations: 91.94 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3107/0.3107, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002654, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3255, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.02462/0.3502, allocations: 36.42 MB / 0.5514 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.3653, allocations: 7.038 MB / 0.5583 GB, free: 6.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00675/0.372, allocations: 159.9 kB / 0.5585 GB, free: 6.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00564/0.3777, allocations: 1.766 MB / 0.5602 GB, free: 5.773 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.3915, allocations: 4.88 MB / 0.565 GB, free: 3.703 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3932, allocations: 99.34 kB / 0.5651 GB, free: 3.652 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.3954, allocations: 1.318 MB / 0.5663 GB, free: 3.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.398, allocations: 1.849 MB / 0.5681 GB, free: 2.203 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.3988, allocations: 390.3 kB / 0.5685 GB, free: 2.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.3997, allocations: 0.5378 MB / 0.569 GB, free: 1.723 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.3999, allocations: 45.5 kB / 0.5691 GB, free: 1.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.4003, allocations: 57.11 kB / 0.5691 GB, free: 1.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.4009, allocations: 0.6232 MB / 0.5697 GB, free: 1.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008912/0.4018, allocations: 0.7215 MB / 0.5705 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.4035, allocations: 1.777 MB / 0.5722 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4036, allocations: 0 / 0.5722 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4036, allocations: 0 / 0.5722 GB, free: 15.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001113/0.4037, allocations: 0 / 0.5722 GB, free: 15.6 MB / 394.7 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.002845/0.4065, allocations: 1.62 MB / 0.5738 GB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4066, allocations: 12.03 kB / 0.5738 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.4072, allocations: 214.2 kB / 0.574 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4083, allocations: 0.7147 MB / 0.5747 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.4084, allocations: 115.4 kB / 0.5748 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.4085, allocations: 156.1 kB / 0.5749 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.4125, allocations: 3.367 MB / 0.5782 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.4126, allocations: 15.88 kB / 0.5782 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.4127, allocations: 71.94 kB / 0.5783 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007419/0.4135, allocations: 0.6149 MB / 0.5789 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.4166, allocations: 1.846 MB / 0.5807 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.4294, allocations: 13.53 MB / 0.5939 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.4295, allocations: 177.1 kB / 0.5941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.4296, allocations: 80.14 kB / 0.5942 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4296, allocations: 79.22 kB / 0.5943 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4297, allocations: 109.8 kB / 0.5944 GB, free: 8.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/0.4297, allocations: 0 / 0.5944 GB, free: 8.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002684/0.4299, allocations: 152 kB / 0.5945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.43, allocations: 130.7 kB / 0.5946 GB, free: 7.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.4324, allocations: 1.639 MB / 0.5962 GB, free: 6.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4325, allocations: 25.7 kB / 0.5963 GB, free: 6.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.4335, allocations: 1.363 MB / 0.5976 GB, free: 4.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.4336, allocations: 43.95 kB / 0.5976 GB, free: 4.613 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.4336, allocations: 44 kB / 0.5977 GB, free: 4.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.4339, allocations: 438.7 kB / 0.5981 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.4345, allocations: 367.8 kB / 0.5984 GB, free: 3.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4363, allocations: 1.917 MB / 0.6003 GB, free: 1.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.4388, allocations: 2.503 MB / 0.6028 GB, free: 13.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.294e-05/0.4389, allocations: 16 kB / 0.6028 GB, free: 13.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003424/0.4423, allocations: 2.103 MB / 0.6048 GB, free: 11.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.4424, allocations: 28 kB / 0.6048 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.706e-05/0.4425, allocations: 60 kB / 0.6049 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-05/0.4425, allocations: 72 kB / 0.605 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.4437, allocations: 483.1 kB / 0.6054 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.02e-05/0.4438, allocations: 115.6 kB / 0.6055 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4452, allocations: 320.4 kB / 0.6059 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.4454, allocations: 147.9 kB / 0.606 GB, free: 10.4 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001206/0.4466, allocations: 0.8591 MB / 0.6068 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.4468, allocations: 231.3 kB / 0.6071 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.447, allocations: 224.5 kB / 0.6073 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/0.4471, allocations: 188.3 kB / 0.6074 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-05/0.4471, allocations: 184.2 kB / 0.6076 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.4472, allocations: 180.3 kB / 0.6078 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.4489, allocations: 1.474 MB / 0.6092 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/0.4489, allocations: 108.9 kB / 0.6093 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.4489, allocations: 105 kB / 0.6094 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.247e-05/0.449, allocations: 196.1 kB / 0.6096 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.4491, allocations: 180.3 kB / 0.6098 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.723e-05/0.4491, allocations: 176.3 kB / 0.61 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.986e-05/0.4492, allocations: 184.1 kB / 0.6101 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.4494, allocations: 437.3 kB / 0.6106 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.4497, allocations: 300.4 kB / 0.6108 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4498, allocations: 176.3 kB / 0.611 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.4501, allocations: 104.9 kB / 0.6111 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.4502, allocations: 180.3 kB / 0.6113 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.4502, allocations: 104.9 kB / 0.6114 GB, free: 4.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.4514, allocations: 1.01 MB / 0.6124 GB, free: 3.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4514, allocations: 0 / 0.6124 GB, free: 3.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001452/0.4529, allocations: 434.1 kB / 0.6128 GB, free: 3.211 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.4531, allocations: 170.5 kB / 0.6129 GB, free: 3.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4543, allocations: 0.8919 MB / 0.6138 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4543, allocations: 4.25 kB / 0.6138 GB, free: 2.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.4543, allocations: 4 kB / 0.6138 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.4551, allocations: 0.6506 MB / 0.6145 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.4597, allocations: 3.588 MB / 0.618 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.461, allocations: 1.58 MB / 0.6195 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4611, allocations: 95.38 kB / 0.6196 GB, free: 12.16 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4611, allocations: 0 / 0.6196 GB, free: 12.16 MB / 442.7 MB Notification: Performance of Templates: time 0.02639/0.4875, allocations: 17.46 MB / 0.6366 GB, free: 10.7 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches