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.001342/0.001342, allocations: 102 kB / 16.27 MB, free: 5.969 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.001352/0.001352, allocations: 192 kB / 17.2 MB, free: 5.598 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.415/1.415, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.202/0.202, allocations: 43.53 MB / 313.9 MB, free: 0.5391 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.00164/0.00164, allocations: 69 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08841, allocations: 57.78 MB / 440.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00809/0.09654, allocations: 8.73 MB / 449.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.1017, allocations: 2.251 MB / 451.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.1025, allocations: 43.94 kB / 451.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.1055, allocations: 1.518 MB / 453.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1066, allocations: 477.3 kB / 453.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1068, allocations: 75.83 kB / 453.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009944/0.1078, allocations: 0.941 MB / 454.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.1094, allocations: 1.51 MB / 456.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.11, allocations: 0.541 MB / 456.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.1108, allocations: 0.681 MB / 457.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.111, allocations: 116 kB / 457.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.1113, allocations: 124 kB / 457.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000611/0.112, allocations: 0.7286 MB / 458.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.1127, allocations: 0.8658 MB / 459.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.1146, allocations: 2.23 MB / 461.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1146, allocations: 3.984 kB / 461.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1146, allocations: 0 / 461.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-05/0.1146, allocations: 4 kB / 461.4 MB, free: 1.914 MB / 334.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.002846/0.1175, allocations: 1.955 MB / 463.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.1176, allocations: 11.89 kB / 463.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003489/0.1179, allocations: 330.5 kB / 463.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005694/0.1185, allocations: 218.1 kB / 463.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1195, allocations: 0.7224 MB / 464.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1197, allocations: 119.4 kB / 464.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.1198, allocations: 151.9 kB / 464.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.1237, allocations: 3.387 MB / 468.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.1238, allocations: 15.81 kB / 468.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.1239, allocations: 71.95 kB / 468.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007369/0.1247, allocations: 0.6188 MB / 469 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.1276, allocations: 1.858 MB / 470.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.1408, allocations: 13.53 MB / 484.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.1409, allocations: 165.1 kB / 484.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.141, allocations: 88.08 kB / 484.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.141, allocations: 75.28 kB / 484.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.1411, allocations: 109.8 kB / 484.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.1411, allocations: 3.938 kB / 484.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002519/0.1413, allocations: 148.1 kB / 485 MB, free: 9.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.1414, allocations: 130.6 kB / 485.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.1433, allocations: 1.663 MB / 486.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1434, allocations: 25.7 kB / 486.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/0.1443, allocations: 1.359 MB / 488.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1443, allocations: 43.95 kB / 488.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.1448, allocations: 426.7 kB / 488.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.145, allocations: 357.9 kB / 489 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.1455, allocations: 367.8 kB / 489.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.1471, allocations: 1.937 MB / 491.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.1496, allocations: 2.504 MB / 493.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-05/0.1496, allocations: 20 kB / 493.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003131/0.1528, allocations: 2.119 MB / 495.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.1528, allocations: 28 kB / 495.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.1529, allocations: 63.94 kB / 496 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.6e-05/0.1529, allocations: 72 kB / 496.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.154, allocations: 483.1 kB / 496.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-05/0.1541, allocations: 115.5 kB / 496.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.1554, allocations: 312.6 kB / 497 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.1555, allocations: 140 kB / 497.1 MB, free: 11.66 MB / 382.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.0009757/0.1565, allocations: 0.8744 MB / 498 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.1567, allocations: 231.3 kB / 498.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1568, allocations: 228.5 kB / 498.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/0.1569, allocations: 176.3 kB / 498.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.83e-05/0.157, allocations: 184.3 kB / 498.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.1571, allocations: 184.3 kB / 498.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.1586, allocations: 1.485 MB / 0.4887 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/0.1587, allocations: 101 kB / 0.4888 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1587, allocations: 101 kB / 0.4889 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.235e-05/0.1588, allocations: 188.2 kB / 0.4891 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.1589, allocations: 184.2 kB / 0.4892 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.695e-05/0.1589, allocations: 180.2 kB / 0.4894 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.757e-05/0.159, allocations: 180.3 kB / 0.4896 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1592, allocations: 433.2 kB / 0.49 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.1595, allocations: 292.5 kB / 0.4903 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.1597, allocations: 184.2 kB / 0.4905 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.16, allocations: 105 kB / 0.4906 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.16, allocations: 180.3 kB / 0.4907 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.1601, allocations: 112.9 kB / 0.4908 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.1613, allocations: 1.01 MB / 0.4918 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1613, allocations: 4 kB / 0.4918 GB, free: 4.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001511/0.1628, allocations: 438 kB / 0.4922 GB, free: 4.445 MB / 382.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.0005224/0.1634, allocations: 0.936 MB / 0.4932 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1646, allocations: 0.907 MB / 0.494 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1646, allocations: 0 / 0.494 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.1646, allocations: 4 kB / 0.4941 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.1654, allocations: 0.5603 MB / 0.4946 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.1813, allocations: 14.41 MB / 0.5087 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.1827, allocations: 1.579 MB / 0.5102 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.1838, allocations: 499.4 kB / 0.5107 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.1845, allocations: 0.6633 MB / 0.5113 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1845, allocations: 0 / 0.5113 GB, free: 14.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2682/0.4527, allocations: 21.23 MB / 0.5321 GB, free: 91.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.263, allocations: 7.625 kB / 0.5321 GB, free: 91.06 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)