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.0008269/0.0008269, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.000867/0.000867, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9013/0.9013, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1347/0.1347, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.2e-05, allocations: 10.08 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006829/0.006861, allocations: 7.69 MB / 414.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.0108, allocations: 2.146 MB / 416.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008549/0.01166, allocations: 47.88 kB / 416.7 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.01337, allocations: 1.569 MB / 418.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.01413, allocations: 0.5045 MB / 418.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.01435, allocations: 67.83 kB / 418.9 MB, free: 6.172 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00073/0.01508, allocations: 0.9794 MB / 419.8 MB, free: 5.188 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.01626, allocations: 1.224 MB / 421.1 MB, free: 3.938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.01691, allocations: 0.8222 MB / 421.9 MB, free: 3.113 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.01749, allocations: 0.6076 MB / 422.5 MB, free: 2.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01759, allocations: 120 kB / 422.6 MB, free: 2.387 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.0178, allocations: 143.9 kB / 422.8 MB, free: 2.246 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.01819, allocations: 0.7829 MB / 423.5 MB, free: 1.461 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.01851, allocations: 0.4984 MB / 424 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.01994, allocations: 2.277 MB / 426.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01995, allocations: 0 / 426.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01995, allocations: 3.938 kB / 426.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.01998, allocations: 0 / 426.3 MB, free: 14.67 MB / 410.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.002084/0.02206, allocations: 1.912 MB / 428.2 MB, free: 12.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.02211, allocations: 8.031 kB / 428.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.02236, allocations: 330.5 kB / 428.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.02276, allocations: 227.4 kB / 428.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.02347, allocations: 0.6618 MB / 429.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.02353, allocations: 115.4 kB / 429.6 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.02363, allocations: 152.2 kB / 429.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.02644, allocations: 3.387 MB / 433.1 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.02647, allocations: 15.81 kB / 433.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.02655, allocations: 75.94 kB / 433.2 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004484/0.027, allocations: 0.615 MB / 433.8 MB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.02907, allocations: 1.866 MB / 435.7 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/0.03737, allocations: 12.94 MB / 448.6 MB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.03745, allocations: 169.1 kB / 448.8 MB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.03748, allocations: 84.14 kB / 448.8 MB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.0375, allocations: 79.31 kB / 448.9 MB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.03754, allocations: 113.8 kB / 449 MB, free: 7.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.03754, allocations: 0 / 449 MB, free: 7.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002245/0.03777, allocations: 156.8 kB / 449.2 MB, free: 6.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.03783, allocations: 130.7 kB / 449.3 MB, free: 6.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.03953, allocations: 1.756 MB / 451.1 MB, free: 5.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.03954, allocations: 25.7 kB / 451.1 MB, free: 4.973 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.04013, allocations: 1.412 MB / 452.5 MB, free: 3.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.04015, allocations: 43.95 kB / 452.6 MB, free: 3.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.04042, allocations: 419.2 kB / 453 MB, free: 3.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.04052, allocations: 353.9 kB / 453.3 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.04085, allocations: 375.8 kB / 453.7 MB, free: 2.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.04178, allocations: 1.925 MB / 455.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.04345, allocations: 2.507 MB / 458.1 MB, free: 12.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/0.04347, allocations: 19.98 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001934/0.04541, allocations: 2.123 MB / 460.2 MB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.04544, allocations: 31.94 kB / 460.3 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.04548, allocations: 56 kB / 460.3 MB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-05/0.04553, allocations: 76.72 kB / 460.4 MB, free: 10 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.04615, allocations: 483.1 kB / 460.9 MB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.925e-05/0.0462, allocations: 115.5 kB / 461 MB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.04705, allocations: 325.6 kB / 461.3 MB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.04713, allocations: 140 kB / 461.4 MB, free: 8.957 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00078/0.04791, allocations: 0.8549 MB / 462.3 MB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.04815, allocations: 240 kB / 462.5 MB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.04826, allocations: 240.1 kB / 462.8 MB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/0.0483, allocations: 188.2 kB / 463 MB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.04834, allocations: 180.2 kB / 463.1 MB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/0.04837, allocations: 180.3 kB / 463.3 MB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.04938, allocations: 1.418 MB / 464.7 MB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/0.0494, allocations: 101 kB / 464.8 MB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.04942, allocations: 116.9 kB / 464.9 MB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-05/0.04946, allocations: 180.2 kB / 465.1 MB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.0495, allocations: 180.2 kB / 465.3 MB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.672e-05/0.04954, allocations: 184.2 kB / 465.5 MB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.728e-05/0.04958, allocations: 184.3 kB / 465.7 MB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.04972, allocations: 442.1 kB / 466.1 MB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.04987, allocations: 216.1 kB / 466.3 MB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.04995, allocations: 192.1 kB / 466.5 MB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.0501, allocations: 105 kB / 466.6 MB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.05015, allocations: 176.3 kB / 466.8 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.05017, allocations: 104.9 kB / 466.9 MB, free: 3.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007799/0.05095, allocations: 1.022 MB / 467.9 MB, free: 2.312 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05095, allocations: 0 / 467.9 MB, free: 2.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009968/0.05195, allocations: 438.7 kB / 468.3 MB, free: 1.883 MB / 442.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 (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.0003645/0.05231, allocations: 0.9446 MB / 469.3 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.05359, allocations: 0.8636 MB / 470.1 MB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.05359, allocations: 0 / 470.1 MB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.05359, allocations: 4 kB / 470.1 MB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1531/0.2067, allocations: 0.5637 MB / 470.7 MB, free: 99.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.2173, allocations: 13.5 MB / 484.2 MB, free: 91.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.218, allocations: 0.9926 MB / 485.2 MB, free: 90.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007208/0.2187, allocations: 495.3 kB / 485.7 MB, free: 90.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.2191, allocations: 0.6694 MB / 486.3 MB, free: 90.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2191, allocations: 0 / 486.3 MB, free: 90.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.2579, allocations: 22.42 MB / 0.4968 GB, free: 85.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.797, allocations: 5.219 kB / 0.4968 GB, free: 85.67 MB / 442.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.867578906007111] Failed to read output from testmodel.py, exit status != 0: 7.88870367500931 7.899477575 7.877517871 Calling exit ...