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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 215.5 kB / 23.78 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 63.91 kB / 468.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1359, allocations: 61.06 MB / 0.5169 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01111/0.147, allocations: 7.639 MB / 0.5244 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.1525, allocations: 2.138 MB / 0.5265 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.1539, allocations: 43.88 kB / 0.5265 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.1574, allocations: 1.491 MB / 0.528 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.159, allocations: 497.3 kB / 0.5285 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1594, allocations: 79.83 kB / 0.5285 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.1611, allocations: 0.9371 MB / 0.5295 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.163, allocations: 1.217 MB / 0.5306 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.164, allocations: 0.5488 MB / 0.5312 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.1655, allocations: 0.72 MB / 0.5319 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.1658, allocations: 120 kB / 0.532 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.1664, allocations: 127.9 kB / 0.5321 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.1674, allocations: 0.7517 MB / 0.5329 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.1686, allocations: 0.6483 MB / 0.5335 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.1719, allocations: 2.376 MB / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1719, allocations: 0 / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1719, allocations: 0 / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.172, allocations: 0 / 0.5358 GB, free: 3.727 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.003962/0.1759, allocations: 1.932 MB / 0.5377 GB, free: 1.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.176, allocations: 8.031 kB / 0.5377 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.186e-05/0.1761, allocations: 51.23 kB / 0.5378 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005959/0.1767, allocations: 326.5 kB / 0.5381 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/0.1774, allocations: 227.4 kB / 0.5383 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.1787, allocations: 0.6703 MB / 0.5389 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.1788, allocations: 119.1 kB / 0.539 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.179, allocations: 147.9 kB / 0.5392 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2412/0.4202, allocations: 3.377 MB / 0.5425 GB, free: 27.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.4202, allocations: 13.69 kB / 0.5425 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.4204, allocations: 71.5 kB / 0.5426 GB, free: 27.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007745/0.4211, allocations: 0.6203 MB / 0.5432 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/0.4247, allocations: 1.859 MB / 0.545 GB, free: 26.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009891/0.4346, allocations: 12.97 MB / 0.5577 GB, free: 16.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.4346, allocations: 175.9 kB / 0.5578 GB, free: 16.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.4346, allocations: 80.14 kB / 0.5579 GB, free: 16.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.4347, allocations: 82.08 kB / 0.558 GB, free: 16.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4347, allocations: 107.5 kB / 0.5581 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.073e-06/0.4347, allocations: 0.7812 kB / 0.5581 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002512/0.4349, allocations: 153.7 kB / 0.5582 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.435, allocations: 135.7 kB / 0.5584 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.437, allocations: 1.659 MB / 0.56 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.437, allocations: 25.7 kB / 0.56 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/0.4378, allocations: 1.425 MB / 0.5614 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.4378, allocations: 44.39 kB / 0.5614 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.4382, allocations: 422.8 kB / 0.5618 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.4383, allocations: 360.6 kB / 0.5622 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.4388, allocations: 368 kB / 0.5625 GB, free: 13.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4398, allocations: 1.929 MB / 0.5644 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4417, allocations: 2.513 MB / 0.5669 GB, free: 8.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.4417, allocations: 26.5 kB / 0.5669 GB, free: 8.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003125/0.4448, allocations: 2.119 MB / 0.569 GB, free: 7.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.4449, allocations: 29.89 kB / 0.569 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.889e-05/0.445, allocations: 57.48 kB / 0.5691 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.595e-05/0.445, allocations: 73.72 kB / 0.5691 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4462, allocations: 486.9 kB / 0.5696 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.55e-05/0.4463, allocations: 109.4 kB / 0.5697 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4479, allocations: 326.2 kB / 0.57 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.4481, allocations: 138.7 kB / 0.5701 GB, free: 7.387 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.001156/0.4493, allocations: 0.8713 MB / 0.571 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.4495, allocations: 231.8 kB / 0.5712 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.4497, allocations: 231 kB / 0.5714 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.4497, allocations: 178.4 kB / 0.5716 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/0.4498, allocations: 178.6 kB / 0.5718 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.4498, allocations: 181.3 kB / 0.5719 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4515, allocations: 1.433 MB / 0.5733 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.4515, allocations: 105.6 kB / 0.5734 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.4516, allocations: 104.2 kB / 0.5735 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-05/0.4516, allocations: 186.6 kB / 0.5737 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.4516, allocations: 186 kB / 0.5739 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-05/0.4516, allocations: 178.1 kB / 0.5741 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/0.4516, allocations: 183.2 kB / 0.5742 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4518, allocations: 436 kB / 0.5747 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4521, allocations: 221.5 kB / 0.5749 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.4522, allocations: 182.3 kB / 0.575 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4524, allocations: 111.2 kB / 0.5751 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.4525, allocations: 178.6 kB / 0.5753 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.4525, allocations: 103.6 kB / 0.5754 GB, free: 3.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.4537, allocations: 1.02 MB / 0.5764 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4537, allocations: 0 / 0.5764 GB, free: 2.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001774/0.4555, allocations: 440.2 kB / 0.5768 GB, free: 2.664 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.0003438/0.4558, allocations: 0.9413 MB / 0.5777 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.4572, allocations: 0.8681 MB / 0.5786 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4572, allocations: 4.062 kB / 0.5786 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/0.4572, allocations: 5.031 kB / 0.5786 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.458, allocations: 0.5745 MB / 0.5792 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.4775, allocations: 13.62 MB / 0.5925 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.4788, allocations: 0.9937 MB / 0.5934 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.48, allocations: 491.4 kB / 0.5939 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007782/0.4807, allocations: 0.6711 MB / 0.5946 GB, free: 5.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4807, allocations: 0 / 0.5946 GB, free: 5.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05398/0.5347, allocations: 22.77 MB / 0.6168 GB, free: 14.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.53, allocations: 11.92 kB / 0.6168 GB, free: 14.36 MB / 462.1 MB " [Timeout remaining time 645] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.53263060399331] Failed to read output from testmodel.py, exit status != 0: 14.713294539018534 14.738482393 14.561654083 Calling exit ...