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.001454/0.001454, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247 MB, free: 10.39 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.2191/0.2191, allocations: 46.13 MB / 344.3 MB, free: 11.43 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.00227/0.00227, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009998/0.3352, allocations: 8.7 MB / 0.5391 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.3408, allocations: 2.284 MB / 0.5413 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3422, allocations: 40.84 kB / 0.5414 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.3454, allocations: 1.541 MB / 0.5429 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.347, allocations: 475.7 kB / 0.5433 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3474, allocations: 67.75 kB / 0.5434 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3488, allocations: 0.9341 MB / 0.5443 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.3507, allocations: 1.495 MB / 0.5457 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.3516, allocations: 0.5368 MB / 0.5463 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.3526, allocations: 0.6772 MB / 0.5469 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.3529, allocations: 119.9 kB / 0.547 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.3532, allocations: 131.9 kB / 0.5472 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.354, allocations: 0.7247 MB / 0.5479 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.3548, allocations: 0.8463 MB / 0.5487 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.3575, allocations: 2.336 MB / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3575, allocations: 4 kB / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3575, allocations: 0 / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.976e-05/0.3576, allocations: 0 / 0.551 GB, free: 12.75 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.00295/0.3605, allocations: 1.995 MB / 0.5529 GB, free: 10.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3606, allocations: 12.03 kB / 0.553 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/0.361, allocations: 330.5 kB / 0.5533 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006031/0.3616, allocations: 223.4 kB / 0.5535 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3627, allocations: 0.7307 MB / 0.5542 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.3628, allocations: 115.4 kB / 0.5543 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.363, allocations: 151.9 kB / 0.5545 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.3675, allocations: 3.379 MB / 0.5578 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.3675, allocations: 15.88 kB / 0.5578 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.3677, allocations: 71.94 kB / 0.5578 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007678/0.3684, allocations: 0.611 MB / 0.5584 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.3719, allocations: 1.869 MB / 0.5603 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.386, allocations: 13.52 MB / 0.5735 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3862, allocations: 169.1 kB / 0.5736 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3862, allocations: 92.08 kB / 0.5737 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3863, allocations: 75.28 kB / 0.5738 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.3863, allocations: 105.8 kB / 0.5739 GB, free: 4.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.325e-06/0.3863, allocations: 0 / 0.5739 GB, free: 4.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000301/0.3866, allocations: 152.9 kB / 0.574 GB, free: 4.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.3867, allocations: 134.6 kB / 0.5742 GB, free: 4.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.3889, allocations: 1.651 MB / 0.5758 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3889, allocations: 25.7 kB / 0.5758 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.3899, allocations: 1.423 MB / 0.5772 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.39, allocations: 43.95 kB / 0.5772 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/0.3905, allocations: 423.1 kB / 0.5776 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3907, allocations: 361.9 kB / 0.578 GB, free: 160 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.3912, allocations: 367.8 kB / 0.5783 GB, free: 15.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.393, allocations: 1.933 MB / 0.5802 GB, free: 13.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.3959, allocations: 2.507 MB / 0.5827 GB, free: 9.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.3959, allocations: 16 kB / 0.5827 GB, free: 9.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00356/0.3995, allocations: 2.12 MB / 0.5847 GB, free: 7.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.3996, allocations: 35.94 kB / 0.5848 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-05/0.3996, allocations: 56 kB / 0.5848 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.399e-05/0.3997, allocations: 72 kB / 0.5849 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.401, allocations: 491 kB / 0.5854 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.4011, allocations: 107.6 kB / 0.5855 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4028, allocations: 325.5 kB / 0.5858 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.4029, allocations: 143.9 kB / 0.5859 GB, free: 6.387 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.001171/0.4041, allocations: 0.8667 MB / 0.5868 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.4043, allocations: 232.1 kB / 0.587 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.4046, allocations: 228.2 kB / 0.5872 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.47e-05/0.4047, allocations: 188.3 kB / 0.5874 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.4047, allocations: 188.3 kB / 0.5876 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.167e-05/0.4048, allocations: 184.2 kB / 0.5877 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.4066, allocations: 1.469 MB / 0.5892 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/0.4067, allocations: 113 kB / 0.5893 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.4068, allocations: 112.9 kB / 0.5894 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.667e-05/0.4068, allocations: 180.3 kB / 0.5896 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.4069, allocations: 180.2 kB / 0.5897 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.355e-05/0.407, allocations: 180.3 kB / 0.5899 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.349e-05/0.4071, allocations: 184.2 kB / 0.5901 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.4074, allocations: 434 kB / 0.5905 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.4078, allocations: 305.2 kB / 0.5908 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.4079, allocations: 176.3 kB / 0.591 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.4082, allocations: 105 kB / 0.5911 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.4083, allocations: 180.2 kB / 0.5912 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.4084, allocations: 105 kB / 0.5913 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.4098, allocations: 1.022 MB / 0.5923 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4098, allocations: 0 / 0.5923 GB, free: 15.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001739/0.4115, allocations: 434.7 kB / 0.5927 GB, free: 15.17 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.0006812/0.4122, allocations: 0.9445 MB / 0.5937 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.4139, allocations: 0.8991 MB / 0.5945 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4139, allocations: 0 / 0.5945 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.4139, allocations: 0 / 0.5945 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.4148, allocations: 0.5783 MB / 0.5951 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.4357, allocations: 13.58 MB / 0.6084 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/0.4382, allocations: 1.579 MB / 0.6099 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0014/0.4396, allocations: 499.2 kB / 0.6104 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/0.4406, allocations: 0.6672 MB / 0.611 GB, free: 10.58 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4406, allocations: 0 / 0.611 GB, free: 10.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05978/0.5004, allocations: 21.67 MB / 0.6322 GB, free: 5.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.75, allocations: 12.84 kB / 0.6322 GB, free: 5.059 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)