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.001383/0.001383, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.001401, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.238/0.238, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002273/0.002273, allocations: 81.02 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1278, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01132/0.1392, allocations: 8.702 MB / 488.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.1443, allocations: 2.285 MB / 491.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.1453, allocations: 43.94 kB / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.1485, allocations: 1.546 MB / 492.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.1496, allocations: 461.3 kB / 493.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1499, allocations: 75.84 kB / 493.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.151, allocations: 0.9294 MB / 494.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.1528, allocations: 1.495 MB / 495.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.1536, allocations: 0.5371 MB / 496.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1547, allocations: 0.6733 MB / 496.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.1549, allocations: 120 kB / 497.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.1553, allocations: 123.9 kB / 497.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006936/0.156, allocations: 0.7363 MB / 497.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.1568, allocations: 0.8541 MB / 498.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.1592, allocations: 2.203 MB / 0.4892 GB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1593, allocations: 0 / 0.4892 GB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1593, allocations: 0 / 0.4892 GB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.767e-05/0.1593, allocations: 0 / 0.4892 GB, free: 296 kB / 366.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.162, allocations: 1.951 MB / 0.4911 GB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1621, allocations: 12.03 kB / 0.4911 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003449/0.1625, allocations: 338.5 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.163, allocations: 214.1 kB / 0.4917 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.164, allocations: 0.7148 MB / 0.4924 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.1641, allocations: 119.4 kB / 0.4925 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.1643, allocations: 151.9 kB / 0.4926 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.1687, allocations: 3.379 MB / 0.4959 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.1687, allocations: 11.88 kB / 0.4959 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1689, allocations: 75.94 kB / 0.496 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008688/0.1697, allocations: 0.6149 MB / 0.4966 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.1728, allocations: 1.865 MB / 0.4984 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2568/0.4296, allocations: 13.51 MB / 0.5116 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.4297, allocations: 172.6 kB / 0.5118 GB, free: 30.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.4298, allocations: 85.94 kB / 0.5119 GB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4298, allocations: 78.7 kB / 0.512 GB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4298, allocations: 110.5 kB / 0.5121 GB, free: 30.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.4298, allocations: 0 / 0.5121 GB, free: 30.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002891/0.4301, allocations: 150.6 kB / 0.5122 GB, free: 30.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4302, allocations: 132.2 kB / 0.5123 GB, free: 30.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.4324, allocations: 1.652 MB / 0.5139 GB, free: 29.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.4325, allocations: 25.7 kB / 0.514 GB, free: 29.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000758/0.4332, allocations: 1.359 MB / 0.5153 GB, free: 28.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.4333, allocations: 45.38 kB / 0.5153 GB, free: 28.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/0.4338, allocations: 426.4 kB / 0.5157 GB, free: 28.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.434, allocations: 357.5 kB / 0.5161 GB, free: 28.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.4346, allocations: 372.3 kB / 0.5164 GB, free: 28.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4361, allocations: 1.931 MB / 0.5183 GB, free: 25.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.4383, allocations: 2.508 MB / 0.5208 GB, free: 23.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.4383, allocations: 17.31 kB / 0.5208 GB, free: 23.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003713/0.442, allocations: 2.105 MB / 0.5228 GB, free: 22.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/0.4421, allocations: 32.62 kB / 0.5229 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.4423, allocations: 61.55 kB / 0.5229 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.4424, allocations: 73.38 kB / 0.523 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.4436, allocations: 488.6 kB / 0.5235 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001212/0.4437, allocations: 109.2 kB / 0.5236 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.4455, allocations: 322.5 kB / 0.5239 GB, free: 22.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4457, allocations: 138.9 kB / 0.524 GB, free: 22.12 MB / 382.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.001085/0.4468, allocations: 0.8681 MB / 0.5249 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.447, allocations: 223.7 kB / 0.5251 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.4472, allocations: 226.4 kB / 0.5253 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.4472, allocations: 180.9 kB / 0.5255 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.4473, allocations: 182.4 kB / 0.5256 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.4473, allocations: 190.3 kB / 0.5258 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4491, allocations: 1.476 MB / 0.5273 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.4492, allocations: 103.8 kB / 0.5274 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/0.4492, allocations: 107 kB / 0.5275 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.64e-05/0.4492, allocations: 178 kB / 0.5276 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.4493, allocations: 180.8 kB / 0.5278 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-05/0.4493, allocations: 186.2 kB / 0.528 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.285e-05/0.4493, allocations: 186.2 kB / 0.5282 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4495, allocations: 428.7 kB / 0.5286 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4498, allocations: 297.3 kB / 0.5289 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4499, allocations: 182.6 kB / 0.529 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.4502, allocations: 103.8 kB / 0.5291 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4502, allocations: 184.8 kB / 0.5293 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.4503, allocations: 102.8 kB / 0.5294 GB, free: 17.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.4516, allocations: 1.012 MB / 0.5304 GB, free: 17.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4516, allocations: 3.938 kB / 0.5304 GB, free: 17.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001834/0.4534, allocations: 425.2 kB / 0.5308 GB, free: 17.28 MB / 382.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.0003736/0.4538, allocations: 0.944 MB / 0.5317 GB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.4553, allocations: 0.8991 MB / 0.5326 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4553, allocations: 4.062 kB / 0.5326 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.4553, allocations: 1.031 kB / 0.5326 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.4561, allocations: 0.5716 MB / 0.5332 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.4705, allocations: 14.38 MB / 0.5472 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.4716, allocations: 1.579 MB / 0.5487 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.4728, allocations: 499.2 kB / 0.5492 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.4733, allocations: 0.6594 MB / 0.5499 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4733, allocations: 8 kB / 0.5499 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05756/0.5309, allocations: 21.17 MB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/9.051, allocations: 7.094 kB / 0.5706 GB, free: 11.54 MB / 414.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)