Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 103.9 kB / 15.98 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 191.2 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1997/0.1997, allocations: 43.52 MB / 313.6 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 60.36 kB / 382.3 MB, free: 56.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1081, allocations: 57.79 MB / 440.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03318/0.1413, allocations: 40.22 MB / 480.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.1585, allocations: 7.288 MB / 487.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007826/0.1664, allocations: 163.7 kB / 487.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.1696, allocations: 1.457 MB / 489.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1711, allocations: 429.8 kB / 489.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1715, allocations: 75.91 kB / 489.7 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.173, allocations: 0.9566 MB / 490.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.175, allocations: 1.611 MB / 492.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.1759, allocations: 0.541 MB / 492.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.1768, allocations: 0.7551 MB / 493.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.1769, allocations: 120 kB / 493.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.1772, allocations: 127.9 kB / 493.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.1778, allocations: 0.7519 MB / 494.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.1784, allocations: 0.862 MB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1801, allocations: 2.242 MB / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1801, allocations: 4 kB / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1801, allocations: 0 / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.1802, allocations: 0 / 497.7 MB, free: 13.43 MB / 382.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.002153/0.1823, allocations: 1.963 MB / 499.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1824, allocations: 15.88 kB / 499.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.1827, allocations: 330.5 kB / 500 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.1832, allocations: 214.1 kB / 0.4885 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.184, allocations: 0.7186 MB / 0.4892 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.1841, allocations: 119.4 kB / 0.4893 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1843, allocations: 155.9 kB / 0.4894 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.1876, allocations: 3.379 MB / 0.4927 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.1876, allocations: 11.88 kB / 0.4928 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.1877, allocations: 75.94 kB / 0.4928 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006191/0.1884, allocations: 0.6149 MB / 0.4934 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.1907, allocations: 1.866 MB / 0.4952 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009686/0.2004, allocations: 13.53 MB / 0.5085 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.2006, allocations: 165.1 kB / 0.5086 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.2006, allocations: 88.06 kB / 0.5087 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2006, allocations: 75.28 kB / 0.5088 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.2007, allocations: 113.8 kB / 0.5089 GB, free: 5.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/0.2007, allocations: 0 / 0.5089 GB, free: 5.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002522/0.2009, allocations: 148 kB / 0.509 GB, free: 4.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.201, allocations: 134.7 kB / 0.5091 GB, free: 4.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.2029, allocations: 1.643 MB / 0.5108 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2029, allocations: 29.7 kB / 0.5108 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.2037, allocations: 1.363 MB / 0.5121 GB, free: 1.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2037, allocations: 51.89 kB / 0.5122 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.2041, allocations: 414.8 kB / 0.5126 GB, free: 1.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2042, allocations: 361.9 kB / 0.5129 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.2047, allocations: 371.8 kB / 0.5133 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2061, allocations: 1.929 MB / 0.5151 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.2082, allocations: 2.511 MB / 0.5176 GB, free: 10.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.2082, allocations: 16 kB / 0.5176 GB, free: 10.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002742/0.211, allocations: 2.114 MB / 0.5197 GB, free: 8.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.211, allocations: 28.94 kB / 0.5197 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.2111, allocations: 60 kB / 0.5198 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-05/0.2112, allocations: 72 kB / 0.5198 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2123, allocations: 495 kB / 0.5203 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.321e-05/0.2123, allocations: 107.6 kB / 0.5204 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.2136, allocations: 316.5 kB / 0.5207 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.2137, allocations: 143.9 kB / 0.5208 GB, free: 7.172 MB / 414.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.0009917/0.2147, allocations: 0.8743 MB / 0.5217 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.2149, allocations: 227.3 kB / 0.5219 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.2151, allocations: 232.5 kB / 0.5221 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/0.2152, allocations: 180.2 kB / 0.5223 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-05/0.2152, allocations: 180.3 kB / 0.5225 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/0.2153, allocations: 188.3 kB / 0.5227 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2167, allocations: 1.481 MB / 0.5241 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/0.2168, allocations: 104.9 kB / 0.5242 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.2168, allocations: 101 kB / 0.5243 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.2169, allocations: 184.2 kB / 0.5245 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.2169, allocations: 176.3 kB / 0.5246 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.045e-05/0.217, allocations: 188.2 kB / 0.5248 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.168e-05/0.217, allocations: 180.2 kB / 0.525 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2173, allocations: 429.3 kB / 0.5254 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.2175, allocations: 296.5 kB / 0.5257 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.2177, allocations: 180.3 kB / 0.5259 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.2179, allocations: 112.9 kB / 0.526 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.218, allocations: 184.2 kB / 0.5261 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.218, allocations: 112.9 kB / 0.5263 GB, free: 1.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.2191, allocations: 1.018 MB / 0.5272 GB, free: 388 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2191, allocations: 0 / 0.5272 GB, free: 388 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.1959/0.415, allocations: 425.3 kB / 0.5277 GB, free: 93.62 MB / 414.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.000503/0.4156, allocations: 0.9334 MB / 0.5286 GB, free: 92.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.4171, allocations: 0.8993 MB / 0.5294 GB, free: 92.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4171, allocations: 3 kB / 0.5294 GB, free: 92.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.4171, allocations: 4.828 kB / 0.5294 GB, free: 92.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.4179, allocations: 0.5663 MB / 0.53 GB, free: 92.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.4361, allocations: 15.15 MB / 0.5448 GB, free: 81.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.4376, allocations: 1.575 MB / 0.5463 GB, free: 80.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001405/0.439, allocations: 494.9 kB / 0.5468 GB, free: 80.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.4396, allocations: 0.665 MB / 0.5475 GB, free: 80.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4396, allocations: 0.5 kB / 0.5475 GB, free: 80.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4718, allocations: 21.14 MB / 0.5681 GB, free: 63.64 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.472, allocations: 192.4 kB / 0.5683 GB, free: 63.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.661, allocations: 4 kB / 0.5683 GB, free: 63.39 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)