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.001328/0.001328, allocations: 108 kB / 16.41 MB, free: 6.512 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.00149/0.00149, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.246/1.246, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.19/0.19, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001322/0.001322, allocations: 65.47 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.0951, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008816/0.104, allocations: 8.726 MB / 0.4959 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.108, allocations: 2.255 MB / 0.4981 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.1087, allocations: 43.94 kB / 0.4982 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.1114, allocations: 1.522 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.1124, allocations: 0.4934 MB / 0.5001 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1126, allocations: 67.91 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.1135, allocations: 0.9409 MB / 0.5011 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.115, allocations: 1.514 MB / 0.5026 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.1155, allocations: 0.5372 MB / 0.5031 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.1163, allocations: 0.6849 MB / 0.5038 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.1164, allocations: 116 kB / 0.5039 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.1167, allocations: 131.9 kB / 0.504 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005528/0.1173, allocations: 0.7324 MB / 0.5047 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.118, allocations: 0.858 MB / 0.5056 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.1199, allocations: 2.349 MB / 0.5079 GB, free: 7.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.12, allocations: 0 / 0.5079 GB, free: 7.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.12, allocations: 0 / 0.5079 GB, free: 7.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.565e-05/0.12, allocations: 3.938 kB / 0.5079 GB, free: 7.223 MB / 398.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.002356/0.1224, allocations: 2.015 MB / 0.5098 GB, free: 5.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1224, allocations: 11.89 kB / 0.5098 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003037/0.1227, allocations: 330.5 kB / 0.5102 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.1233, allocations: 227.4 kB / 0.5104 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1243, allocations: 0.7229 MB / 0.5111 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.1244, allocations: 119.4 kB / 0.5112 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.1246, allocations: 151.9 kB / 0.5113 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.1283, allocations: 3.387 MB / 0.5146 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.1284, allocations: 11.88 kB / 0.5147 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.1285, allocations: 75.94 kB / 0.5147 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006657/0.1292, allocations: 0.6148 MB / 0.5153 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.1319, allocations: 1.858 MB / 0.5171 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/0.343, allocations: 13.51 MB / 0.5303 GB, free: 36.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.3432, allocations: 170.8 kB / 0.5305 GB, free: 36.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.3432, allocations: 83.89 kB / 0.5306 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3432, allocations: 77 kB / 0.5307 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3433, allocations: 111.4 kB / 0.5308 GB, free: 36.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.3433, allocations: 1.156 kB / 0.5308 GB, free: 36.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003185/0.3436, allocations: 156.7 kB / 0.5309 GB, free: 36.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.3436, allocations: 129.9 kB / 0.531 GB, free: 36.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.3462, allocations: 1.659 MB / 0.5327 GB, free: 36.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.3462, allocations: 30.78 kB / 0.5327 GB, free: 36.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008375/0.3471, allocations: 1.412 MB / 0.5341 GB, free: 35.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.3472, allocations: 44.8 kB / 0.5341 GB, free: 35.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.3477, allocations: 431.9 kB / 0.5345 GB, free: 35.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3478, allocations: 359.3 kB / 0.5349 GB, free: 35.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.3484, allocations: 370.5 kB / 0.5352 GB, free: 35.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3496, allocations: 1.932 MB / 0.5371 GB, free: 33.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.3516, allocations: 2.512 MB / 0.5395 GB, free: 30.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.55e-05/0.3517, allocations: 16.19 kB / 0.5396 GB, free: 30.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003345/0.3551, allocations: 2.118 MB / 0.5416 GB, free: 30.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.3551, allocations: 30.31 kB / 0.5417 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.059e-05/0.3552, allocations: 57.09 kB / 0.5417 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.742e-05/0.3553, allocations: 75.72 kB / 0.5418 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3564, allocations: 496.6 kB / 0.5423 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-05/0.3564, allocations: 109 kB / 0.5424 GB, free: 30.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3578, allocations: 329.1 kB / 0.5427 GB, free: 29.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.3579, allocations: 138.4 kB / 0.5428 GB, free: 29.97 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.000918/0.3589, allocations: 0.8752 MB / 0.5437 GB, free: 29.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.359, allocations: 233.9 kB / 0.5439 GB, free: 29.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.3592, allocations: 234.4 kB / 0.5441 GB, free: 29.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.3592, allocations: 177 kB / 0.5443 GB, free: 28.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.3592, allocations: 176.9 kB / 0.5445 GB, free: 28.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.3592, allocations: 187.3 kB / 0.5446 GB, free: 28.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3609, allocations: 1.476 MB / 0.5461 GB, free: 27.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.361, allocations: 111.2 kB / 0.5462 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.361, allocations: 101.8 kB / 0.5463 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.361, allocations: 178.4 kB / 0.5464 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.361, allocations: 182.6 kB / 0.5466 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.3611, allocations: 176.9 kB / 0.5468 GB, free: 27.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/0.3611, allocations: 188.1 kB / 0.547 GB, free: 26.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.3613, allocations: 439.2 kB / 0.5474 GB, free: 26.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.3615, allocations: 301.6 kB / 0.5477 GB, free: 26.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3617, allocations: 178.1 kB / 0.5478 GB, free: 26.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3619, allocations: 113 kB / 0.548 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.362, allocations: 186.1 kB / 0.5481 GB, free: 25.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.362, allocations: 105.6 kB / 0.5482 GB, free: 25.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.3632, allocations: 1.02 MB / 0.5492 GB, free: 25.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.3632, allocations: 0 / 0.5492 GB, free: 25.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001916/0.3651, allocations: 441 kB / 0.5496 GB, free: 25.1 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.0004156/0.3655, allocations: 0.9401 MB / 0.5506 GB, free: 24.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3671, allocations: 0.8983 MB / 0.5514 GB, free: 23.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3671, allocations: 1 kB / 0.5514 GB, free: 23.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.3671, allocations: 3.938 kB / 0.5514 GB, free: 23.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.368, allocations: 0.5836 MB / 0.552 GB, free: 23.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.3833, allocations: 13.61 MB / 0.5653 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.3844, allocations: 1.575 MB / 0.5668 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009673/0.3854, allocations: 499.5 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.3859, allocations: 0.6659 MB / 0.568 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.386, allocations: 0 / 0.568 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.4235, allocations: 21.72 MB / 0.5892 GB, free: 9.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.43/9.854, allocations: 7.281 kB / 0.5892 GB, free: 9.605 MB / 430.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 & 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)