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.002038/0.002038, allocations: 108.3 kB / 19.7 MB, free: 1.918 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: 218.1 kB / 22.99 MB, free: 4.977 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.411/1.411, allocations: 207.7 MB / 233.8 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.2196/0.2196, allocations: 44.25 MB / 330.3 MB, free: 9.312 MB / 270.1 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: 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.00222/0.00222, allocations: 71.91 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1291, allocations: 61.05 MB / 0.5162 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01071/0.1398, allocations: 7.69 MB / 0.5237 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.1449, allocations: 2.154 MB / 0.5258 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.1459, allocations: 47.88 kB / 0.5258 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.149, allocations: 1.476 MB / 0.5273 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1504, allocations: 0.4934 MB / 0.5278 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1507, allocations: 71.84 kB / 0.5278 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.152, allocations: 0.9409 MB / 0.5288 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.1534, allocations: 1.213 MB / 0.5299 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.1542, allocations: 0.5488 MB / 0.5305 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1552, allocations: 0.6613 MB / 0.5311 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.1554, allocations: 116 kB / 0.5312 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1558, allocations: 116 kB / 0.5313 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007224/0.1565, allocations: 0.7517 MB / 0.5321 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.1571, allocations: 0.6483 MB / 0.5327 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.1596, allocations: 2.372 MB / 0.535 GB, free: 3.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.1596, allocations: 8 kB / 0.535 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1596, allocations: 3.938 kB / 0.535 GB, free: 3.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.904e-05/0.1596, allocations: 0 / 0.535 GB, free: 3.734 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.002725/0.1623, allocations: 1.935 MB / 0.5369 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1624, allocations: 12.03 kB / 0.5369 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/0.1627, allocations: 326.5 kB / 0.5372 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.1633, allocations: 223.4 kB / 0.5375 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.1646, allocations: 0.6703 MB / 0.5381 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.1647, allocations: 115.4 kB / 0.5382 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1649, allocations: 151.9 kB / 0.5384 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2169/0.3818, allocations: 3.376 MB / 0.5417 GB, free: 27.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.3818, allocations: 17.94 kB / 0.5417 GB, free: 27.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3819, allocations: 76.27 kB / 0.5418 GB, free: 27.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007299/0.3827, allocations: 0.6145 MB / 0.5424 GB, free: 27.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.3857, allocations: 1.856 MB / 0.5442 GB, free: 26.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009593/0.3952, allocations: 12.98 MB / 0.5568 GB, free: 16.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.3953, allocations: 171.2 kB / 0.557 GB, free: 16.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.3953, allocations: 85.48 kB / 0.5571 GB, free: 16.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3953, allocations: 77.81 kB / 0.5572 GB, free: 16.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3954, allocations: 108 kB / 0.5573 GB, free: 16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.3954, allocations: 0 / 0.5573 GB, free: 16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002194/0.3956, allocations: 153.3 kB / 0.5574 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3956, allocations: 127.3 kB / 0.5575 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3975, allocations: 1.754 MB / 0.5592 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.3976, allocations: 27.64 kB / 0.5593 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/0.3982, allocations: 1.419 MB / 0.5607 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3983, allocations: 51.12 kB / 0.5607 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.3987, allocations: 426 kB / 0.5611 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.3988, allocations: 356.8 kB / 0.5615 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.3993, allocations: 377.3 kB / 0.5618 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.4004, allocations: 1.929 MB / 0.5637 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.4021, allocations: 2.511 MB / 0.5661 GB, free: 8.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.4021, allocations: 16.38 kB / 0.5662 GB, free: 8.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003106/0.4052, allocations: 2.121 MB / 0.5682 GB, free: 7.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.4053, allocations: 30.09 kB / 0.5683 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.559e-05/0.4053, allocations: 64.31 kB / 0.5683 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.975e-05/0.4054, allocations: 73 kB / 0.5684 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4066, allocations: 492.1 kB / 0.5689 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.13e-05/0.4067, allocations: 109.2 kB / 0.569 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4082, allocations: 323.1 kB / 0.5693 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.4084, allocations: 138.5 kB / 0.5694 GB, free: 7.332 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.001116/0.4095, allocations: 0.8683 MB / 0.5703 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.4097, allocations: 236.4 kB / 0.5705 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.4099, allocations: 226.7 kB / 0.5707 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.4099, allocations: 184.8 kB / 0.5709 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.4099, allocations: 177 kB / 0.571 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.41, allocations: 177 kB / 0.5712 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.4116, allocations: 1.431 MB / 0.5726 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.4116, allocations: 104.4 kB / 0.5727 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.4117, allocations: 106.9 kB / 0.5728 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/0.4117, allocations: 182.2 kB / 0.573 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4117, allocations: 181 kB / 0.5732 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-05/0.4117, allocations: 183 kB / 0.5733 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/0.4118, allocations: 181.6 kB / 0.5735 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.4119, allocations: 438.8 kB / 0.5739 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.4122, allocations: 226 kB / 0.5741 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4123, allocations: 190.5 kB / 0.5743 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.4126, allocations: 103.5 kB / 0.5744 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.4126, allocations: 185.9 kB / 0.5746 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4126, allocations: 102.8 kB / 0.5747 GB, free: 3.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4139, allocations: 1.017 MB / 0.5757 GB, free: 2.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4139, allocations: 4 kB / 0.5757 GB, free: 2.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001692/0.4156, allocations: 436.5 kB / 0.5761 GB, free: 2.613 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.0003376/0.4159, allocations: 0.95 MB / 0.577 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.4172, allocations: 0.863 MB / 0.5779 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4172, allocations: 0 / 0.5779 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.4172, allocations: 1.031 kB / 0.5779 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.4179, allocations: 0.5671 MB / 0.5784 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.4387, allocations: 13.62 MB / 0.5917 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.4403, allocations: 1.001 MB / 0.5927 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.4415, allocations: 488.5 kB / 0.5932 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.4423, allocations: 0.6711 MB / 0.5938 GB, free: 5.113 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4423, allocations: 4 kB / 0.5938 GB, free: 5.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.5028, allocations: 22.35 MB / 0.6157 GB, free: 14.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.83, allocations: 0 / 0.6157 GB, free: 14.79 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.695969626307487] Failed to read output from testmodel.py, exit status != 0: 12.95648979069665 12.979188201 12.815218299 Calling exit ...