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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 192.5 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007524, allocations: 95.86 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2838/0.2838, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002719, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 62.96 MB / 0.516 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.02285/0.2904, allocations: 36.42 MB / 0.5515 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.3034, allocations: 7.042 MB / 0.5584 GB, free: 6.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.3088, allocations: 165 kB / 0.5586 GB, free: 6.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.3138, allocations: 1.757 MB / 0.5603 GB, free: 5.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.327, allocations: 4.879 MB / 0.565 GB, free: 3.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3285, allocations: 95.69 kB / 0.5651 GB, free: 3.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.3305, allocations: 1.317 MB / 0.5664 GB, free: 3.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.3331, allocations: 1.856 MB / 0.5682 GB, free: 2.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.3339, allocations: 383.6 kB / 0.5686 GB, free: 1.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.3347, allocations: 0.5457 MB / 0.5691 GB, free: 1.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.3349, allocations: 45.25 kB / 0.5692 GB, free: 1.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.3353, allocations: 60.45 kB / 0.5692 GB, free: 1.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005577/0.3358, allocations: 0.6196 MB / 0.5698 GB, free: 1.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007696/0.3366, allocations: 0.7258 MB / 0.5705 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.3382, allocations: 1.767 MB / 0.5723 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3382, allocations: 0 / 0.5723 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3383, allocations: 0 / 0.5723 GB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.3384, allocations: 1.094 kB / 0.5723 GB, free: 15.55 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.002839/0.3412, allocations: 1.624 MB / 0.5739 GB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3412, allocations: 8.031 kB / 0.5739 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005789/0.3418, allocations: 330.5 kB / 0.5742 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.3423, allocations: 210.2 kB / 0.5744 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/0.3433, allocations: 0.7225 MB / 0.5751 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.3434, allocations: 111.4 kB / 0.5752 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.3435, allocations: 159.8 kB / 0.5753 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.3474, allocations: 3.371 MB / 0.5786 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.3475, allocations: 23.81 kB / 0.5787 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.3476, allocations: 71.94 kB / 0.5787 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006943/0.3483, allocations: 0.611 MB / 0.5793 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.3512, allocations: 1.834 MB / 0.5811 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.3632, allocations: 13.53 MB / 0.5943 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.3633, allocations: 173.1 kB / 0.5945 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.3634, allocations: 88.06 kB / 0.5946 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3634, allocations: 83.28 kB / 0.5947 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.3635, allocations: 109.8 kB / 0.5948 GB, free: 7.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.3635, allocations: 0 / 0.5948 GB, free: 7.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.000259/0.3637, allocations: 148.1 kB / 0.5949 GB, free: 7.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3638, allocations: 126.7 kB / 0.595 GB, free: 7.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.366, allocations: 1.647 MB / 0.5966 GB, free: 5.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.366, allocations: 25.7 kB / 0.5967 GB, free: 5.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009687/0.367, allocations: 1.367 MB / 0.598 GB, free: 4.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3671, allocations: 43.95 kB / 0.598 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.3672, allocations: 40 kB / 0.5981 GB, free: 4.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.3674, allocations: 442.7 kB / 0.5985 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.368, allocations: 359.8 kB / 0.5988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3695, allocations: 1.929 MB / 0.6007 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3719, allocations: 2.496 MB / 0.6032 GB, free: 13.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-05/0.3719, allocations: 20 kB / 0.6032 GB, free: 13.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003149/0.3751, allocations: 2.099 MB / 0.6052 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3751, allocations: 28.97 kB / 0.6053 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.3752, allocations: 60 kB / 0.6053 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.525e-05/0.3753, allocations: 76 kB / 0.6054 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3763, allocations: 491 kB / 0.6058 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.165e-05/0.3764, allocations: 111.6 kB / 0.606 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3776, allocations: 320.4 kB / 0.6063 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.3778, allocations: 136 kB / 0.6064 GB, free: 10.07 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.001093/0.3789, allocations: 0.8667 MB / 0.6072 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.3791, allocations: 231.3 kB / 0.6075 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3793, allocations: 224.5 kB / 0.6077 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-05/0.3793, allocations: 176.3 kB / 0.6078 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.543e-05/0.3794, allocations: 188.2 kB / 0.608 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/0.3794, allocations: 176.3 kB / 0.6082 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.3809, allocations: 1.489 MB / 0.6096 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/0.3809, allocations: 108.9 kB / 0.6097 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.3809, allocations: 101 kB / 0.6098 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-05/0.381, allocations: 180.2 kB / 0.61 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/0.381, allocations: 180.3 kB / 0.6102 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.556e-05/0.3811, allocations: 184.2 kB / 0.6104 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.287e-05/0.3812, allocations: 184.2 kB / 0.6105 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3814, allocations: 433.5 kB / 0.611 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.3816, allocations: 300.5 kB / 0.6112 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3818, allocations: 184.2 kB / 0.6114 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.382, allocations: 105 kB / 0.6115 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3821, allocations: 188.2 kB / 0.6117 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.3821, allocations: 101 kB / 0.6118 GB, free: 4.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.3833, allocations: 1.003 MB / 0.6128 GB, free: 3.309 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3833, allocations: 0 / 0.6128 GB, free: 3.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001436/0.3847, allocations: 434.1 kB / 0.6132 GB, free: 2.883 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.0004988/0.3852, allocations: 0.9399 MB / 0.6141 GB, free: 1.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3864, allocations: 0.8917 MB / 0.615 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3865, allocations: 384 / 0.615 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3865, allocations: 4 kB / 0.615 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.3873, allocations: 0.6371 MB / 0.6156 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.4015, allocations: 9.716 MB / 0.6251 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4028, allocations: 1.572 MB / 0.6266 GB, free: 3.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.4036, allocations: 0.6789 MB / 0.6273 GB, free: 3.266 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4036, allocations: 0 / 0.6273 GB, free: 3.266 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.559/3.962, allocations: 24.46 MB / 0.6512 GB, free: 10.77 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches