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.001332/0.001332, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001542/0.001542, allocations: 214 kB / 23 MB, free: 5.008 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.412/1.412, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2221/0.2221, allocations: 44.24 MB / 330.3 MB, free: 9.535 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.002163/0.002163, allocations: 70.88 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1079, allocations: 61.05 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01035/0.1183, allocations: 8.776 MB / 0.5247 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004489/0.1227, allocations: 2.282 MB / 0.527 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.1234, allocations: 43.88 kB / 0.527 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.1264, allocations: 1.538 MB / 0.5285 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.1273, allocations: 0.4973 MB / 0.529 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1276, allocations: 67.91 kB / 0.5291 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.1288, allocations: 0.9487 MB / 0.53 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.1302, allocations: 1.213 MB / 0.5312 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.1309, allocations: 0.5605 MB / 0.5317 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1319, allocations: 0.7161 MB / 0.5324 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.132, allocations: 120 kB / 0.5325 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.1323, allocations: 123.9 kB / 0.5327 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.133, allocations: 0.7556 MB / 0.5334 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008269/0.1338, allocations: 0.858 MB / 0.5342 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.1362, allocations: 2.345 MB / 0.5365 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1362, allocations: 0 / 0.5365 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1362, allocations: 7.938 kB / 0.5365 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.1363, allocations: 4 kB / 0.5365 GB, free: 2.34 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.00263/0.1389, allocations: 1.928 MB / 0.5384 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1389, allocations: 8.031 kB / 0.5384 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/0.1393, allocations: 338.5 kB / 0.5388 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2092/0.3484, allocations: 227.2 kB / 0.539 GB, free: 28.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.3504, allocations: 0.6628 MB / 0.5396 GB, free: 28.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3506, allocations: 114.3 kB / 0.5397 GB, free: 28.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003998/0.351, allocations: 150.7 kB / 0.5399 GB, free: 28.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006422/0.3574, allocations: 3.383 MB / 0.5432 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/0.3575, allocations: 16.06 kB / 0.5432 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.3577, allocations: 78.38 kB / 0.5433 GB, free: 26.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/0.3587, allocations: 0.6131 MB / 0.5439 GB, free: 26.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.3634, allocations: 1.857 MB / 0.5457 GB, free: 26.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.3779, allocations: 13.43 MB / 0.5588 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.378, allocations: 170.2 kB / 0.559 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.378, allocations: 85.11 kB / 0.559 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.378, allocations: 75.94 kB / 0.5591 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.378, allocations: 115.4 kB / 0.5592 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 3.266e-06/0.378, allocations: 1.688 kB / 0.5592 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003661/0.3784, allocations: 157.7 kB / 0.5594 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3784, allocations: 130.7 kB / 0.5595 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.3818, allocations: 1.662 MB / 0.5611 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.3818, allocations: 25.7 kB / 0.5611 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009969/0.3828, allocations: 1.417 MB / 0.5625 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.3829, allocations: 46.06 kB / 0.5626 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.3835, allocations: 424.3 kB / 0.563 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3836, allocations: 355 kB / 0.5633 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/0.3845, allocations: 376.2 kB / 0.5637 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.386, allocations: 1.934 MB / 0.5656 GB, free: 10.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.3886, allocations: 2.503 MB / 0.568 GB, free: 7.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.973e-05/0.3887, allocations: 20.88 kB / 0.568 GB, free: 7.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004905/0.3936, allocations: 2.116 MB / 0.5701 GB, free: 6.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.467e-05/0.3937, allocations: 35.48 kB / 0.5701 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.3938, allocations: 58.84 kB / 0.5702 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.394, allocations: 73.88 kB / 0.5703 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.3961, allocations: 490.7 kB / 0.5707 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/0.3962, allocations: 109 kB / 0.5708 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.3986, allocations: 327.3 kB / 0.5711 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003157/0.3989, allocations: 140.8 kB / 0.5713 GB, free: 6.328 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.001692/0.4006, allocations: 0.8657 MB / 0.5721 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.4009, allocations: 241.1 kB / 0.5723 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.4013, allocations: 220.9 kB / 0.5726 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.4013, allocations: 186.2 kB / 0.5727 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.4013, allocations: 183 kB / 0.5729 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.4013, allocations: 180.9 kB / 0.5731 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.4044, allocations: 1.449 MB / 0.5745 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.4045, allocations: 108.2 kB / 0.5746 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.4045, allocations: 109.8 kB / 0.5747 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.824e-05/0.4045, allocations: 188.2 kB / 0.5749 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.4045, allocations: 178.2 kB / 0.5751 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.093e-05/0.4046, allocations: 182.5 kB / 0.5752 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.87e-05/0.4046, allocations: 176.3 kB / 0.5754 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.4049, allocations: 438.7 kB / 0.5758 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.4054, allocations: 229.1 kB / 0.576 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.4056, allocations: 185.9 kB / 0.5762 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.4061, allocations: 104.4 kB / 0.5763 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4062, allocations: 182.2 kB / 0.5765 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.4062, allocations: 107.1 kB / 0.5766 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002049/0.4082, allocations: 1.019 MB / 0.5776 GB, free: 1.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 0 / 0.5776 GB, free: 1.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002927/0.4111, allocations: 432.3 kB / 0.578 GB, free: 1.594 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.0005236/0.4117, allocations: 0.9516 MB / 0.5789 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.4137, allocations: 0.8672 MB / 0.5798 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4137, allocations: 0 / 0.5798 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.4137, allocations: 3.312 kB / 0.5798 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4148, allocations: 0.5665 MB / 0.5803 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/0.4364, allocations: 13.63 MB / 0.5936 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.4382, allocations: 1.586 MB / 0.5952 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.4395, allocations: 487.4 kB / 0.5956 GB, free: 3.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008413/0.4403, allocations: 0.6672 MB / 0.5963 GB, free: 3.023 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4403, allocations: 4 kB / 0.5963 GB, free: 3.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06112/0.5014, allocations: 23.41 MB / 0.6192 GB, free: 11.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.22, allocations: 24.73 kB / 0.6192 GB, free: 11.61 MB / 462.1 MB " [Timeout remaining time 646] (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: 17.12845591599762] Failed to read output from testmodel.py, exit status != 0: 14.346259604993975 14.372445943 14.231258071 Calling exit ...