Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00176/0.00176, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2462/0.2462, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3896, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01155/0.4012, allocations: 8.703 MB / 0.5391 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.4076, allocations: 2.284 MB / 0.5413 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.4094, allocations: 42.16 kB / 0.5414 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.4131, allocations: 1.537 MB / 0.5429 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.4149, allocations: 467.4 kB / 0.5433 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.4154, allocations: 71.69 kB / 0.5434 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4173, allocations: 0.9308 MB / 0.5443 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.4195, allocations: 1.497 MB / 0.5457 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4207, allocations: 0.5346 MB / 0.5463 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.422, allocations: 0.6772 MB / 0.5469 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.4224, allocations: 120 kB / 0.547 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.4229, allocations: 127.9 kB / 0.5472 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.4237, allocations: 0.7286 MB / 0.5479 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.4249, allocations: 0.8579 MB / 0.5487 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.4278, allocations: 2.322 MB / 0.551 GB, free: 12.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4279, allocations: 0 / 0.551 GB, free: 12.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4279, allocations: 0 / 0.551 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.275e-05/0.428, allocations: 8 kB / 0.551 GB, free: 12.7 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.003369/0.4314, allocations: 1.995 MB / 0.5529 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4314, allocations: 8.031 kB / 0.5529 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004535/0.4319, allocations: 334.5 kB / 0.5533 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.4326, allocations: 223.4 kB / 0.5535 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.4339, allocations: 0.719 MB / 0.5542 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.434, allocations: 115.4 kB / 0.5543 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.4342, allocations: 155.9 kB / 0.5544 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.4395, allocations: 3.383 MB / 0.5577 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.4397, allocations: 11.88 kB / 0.5578 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.4398, allocations: 75.94 kB / 0.5578 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008408/0.4407, allocations: 0.6188 MB / 0.5584 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.4452, allocations: 1.862 MB / 0.5603 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.4607, allocations: 13.52 MB / 0.5735 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4608, allocations: 169.1 kB / 0.5736 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.4609, allocations: 88.08 kB / 0.5737 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.461, allocations: 75.28 kB / 0.5738 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.461, allocations: 109.8 kB / 0.5739 GB, free: 4.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.461, allocations: 0 / 0.5739 GB, free: 4.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003051/0.4613, allocations: 152.9 kB / 0.574 GB, free: 4.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.4614, allocations: 126.7 kB / 0.5741 GB, free: 4.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.4637, allocations: 1.655 MB / 0.5758 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4637, allocations: 29.7 kB / 0.5758 GB, free: 2.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.4648, allocations: 1.412 MB / 0.5772 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.4648, allocations: 47.89 kB / 0.5772 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.4653, allocations: 435.1 kB / 0.5776 GB, free: 484 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4655, allocations: 353.9 kB / 0.578 GB, free: 124 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.466, allocations: 375.8 kB / 0.5783 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4678, allocations: 1.925 MB / 0.5802 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.4706, allocations: 2.515 MB / 0.5827 GB, free: 9.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.324e-05/0.4706, allocations: 16 kB / 0.5827 GB, free: 9.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003455/0.4741, allocations: 2.12 MB / 0.5847 GB, free: 7.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.4742, allocations: 32.25 kB / 0.5848 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.081e-05/0.4742, allocations: 56 kB / 0.5848 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.133e-05/0.4743, allocations: 76 kB / 0.5849 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4755, allocations: 487 kB / 0.5854 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.565e-05/0.4756, allocations: 107.6 kB / 0.5855 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4772, allocations: 333.5 kB / 0.5858 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.4773, allocations: 136 kB / 0.5859 GB, free: 6.348 MB / 446.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.001203/0.4785, allocations: 0.8627 MB / 0.5868 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.4788, allocations: 236.1 kB / 0.587 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.479, allocations: 228.2 kB / 0.5872 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.905e-05/0.4791, allocations: 188.3 kB / 0.5874 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/0.4792, allocations: 188.3 kB / 0.5876 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.4793, allocations: 180.2 kB / 0.5877 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4812, allocations: 1.477 MB / 0.5892 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/0.4813, allocations: 101 kB / 0.5893 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.4813, allocations: 108.9 kB / 0.5894 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.4814, allocations: 184.2 kB / 0.5895 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.4815, allocations: 192.1 kB / 0.5897 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.455e-05/0.4816, allocations: 176.3 kB / 0.5899 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.781e-05/0.4817, allocations: 176.3 kB / 0.5901 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.482, allocations: 437.9 kB / 0.5905 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.4823, allocations: 305.2 kB / 0.5908 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.4825, allocations: 180.3 kB / 0.5909 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.4828, allocations: 105 kB / 0.591 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.4829, allocations: 180.2 kB / 0.5912 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.483, allocations: 109 kB / 0.5913 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4844, allocations: 1.014 MB / 0.5923 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4844, allocations: 0 / 0.5923 GB, free: 15.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001751/0.4861, allocations: 438.7 kB / 0.5927 GB, free: 15.12 MB / 462.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.0006713/0.4868, allocations: 0.9445 MB / 0.5937 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.4885, allocations: 0.9036 MB / 0.5945 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4885, allocations: 0 / 0.5945 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.4885, allocations: 0 / 0.5945 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4895, allocations: 0.5745 MB / 0.5951 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.5093, allocations: 13.59 MB / 0.6084 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.511, allocations: 1.572 MB / 0.6099 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001209/0.5123, allocations: 0.4914 MB / 0.6104 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/0.5131, allocations: 0.6594 MB / 0.611 GB, free: 10.54 MB / 478.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5132, allocations: 0 / 0.611 GB, free: 10.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.57, allocations: 21.67 MB / 0.6322 GB, free: 5.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.72, allocations: 12.34 kB / 0.6322 GB, free: 5.012 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)