Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 180.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007924, allocations: 82.36 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3551/0.3551, allocations: 43.56 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 15.98 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.276/0.4046, allocations: 36.4 MB / 0.5143 GB, free: 24.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.424, allocations: 7.003 MB / 0.5211 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009384/0.4334, allocations: 160.4 kB / 0.5213 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006521/0.44, allocations: 1.758 MB / 0.523 GB, free: 19.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01717/0.4572, allocations: 4.865 MB / 0.5277 GB, free: 17.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.4593, allocations: 101.3 kB / 0.5278 GB, free: 17.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.4616, allocations: 1.286 MB / 0.5291 GB, free: 16.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.4644, allocations: 1.724 MB / 0.5308 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008724/0.4653, allocations: 385.1 kB / 0.5312 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009756/0.4662, allocations: 0.5421 MB / 0.5317 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.4665, allocations: 48.31 kB / 0.5317 GB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.467, allocations: 38.89 kB / 0.5318 GB, free: 15.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000731/0.4678, allocations: 0.6234 MB / 0.5324 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.4683, allocations: 338.4 kB / 0.5327 GB, free: 15.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.4702, allocations: 1.779 MB / 0.5344 GB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4702, allocations: 0 / 0.5344 GB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4702, allocations: 0 / 0.5344 GB, free: 14.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.4704, allocations: 3.938 kB / 0.5344 GB, free: 14.77 MB / 378.7 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.003056/0.4734, allocations: 1.633 MB / 0.536 GB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4735, allocations: 13.39 kB / 0.536 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.4743, allocations: 222.9 kB / 0.5363 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4755, allocations: 0.6963 MB / 0.5369 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.4756, allocations: 121.2 kB / 0.5371 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4758, allocations: 148.1 kB / 0.5372 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.4794, allocations: 3.368 MB / 0.5405 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.4795, allocations: 14.12 kB / 0.5405 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4796, allocations: 78.19 kB / 0.5406 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006925/0.4803, allocations: 0.6232 MB / 0.5412 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.4833, allocations: 1.835 MB / 0.543 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.4963, allocations: 13.53 MB / 0.5562 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4965, allocations: 166.1 kB / 0.5563 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.4966, allocations: 80.66 kB / 0.5564 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.4966, allocations: 76.31 kB / 0.5565 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/0.4967, allocations: 113.6 kB / 0.5566 GB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.965e-06/0.4967, allocations: 0 / 0.5566 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005073/0.4972, allocations: 155.5 kB / 0.5567 GB, free: 14.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/0.4973, allocations: 131.5 kB / 0.5569 GB, free: 14.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.5008, allocations: 1.637 MB / 0.5585 GB, free: 14.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5008, allocations: 26.92 kB / 0.5585 GB, free: 14.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.5023, allocations: 1.361 MB / 0.5598 GB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.5024, allocations: 47.53 kB / 0.5599 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.5025, allocations: 40.31 kB / 0.5599 GB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003059/0.5028, allocations: 444.1 kB / 0.5603 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.5035, allocations: 364.5 kB / 0.5607 GB, free: 12.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.5056, allocations: 1.919 MB / 0.5626 GB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.5068, allocations: 0.7772 MB / 0.5633 GB, free: 9.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/0.5069, allocations: 24.08 kB / 0.5633 GB, free: 9.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003582/0.5105, allocations: 2.093 MB / 0.5654 GB, free: 8.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.5105, allocations: 32.81 kB / 0.5654 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.487e-05/0.5106, allocations: 57.38 kB / 0.5655 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.5107, allocations: 81.12 kB / 0.5655 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.5119, allocations: 489.5 kB / 0.566 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001013/0.512, allocations: 109.1 kB / 0.5661 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5137, allocations: 324.6 kB / 0.5664 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.5139, allocations: 138.8 kB / 0.5666 GB, free: 8.309 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.5153, allocations: 0.8676 MB / 0.5674 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5155, allocations: 226.1 kB / 0.5676 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5157, allocations: 229.7 kB / 0.5678 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.821e-05/0.5158, allocations: 189.6 kB / 0.568 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-05/0.5159, allocations: 177.7 kB / 0.5682 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.398e-05/0.516, allocations: 184.2 kB / 0.5684 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.5179, allocations: 1.478 MB / 0.5698 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.518, allocations: 107 kB / 0.5699 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.518, allocations: 112.9 kB / 0.57 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-05/0.5181, allocations: 176.3 kB / 0.5702 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.5182, allocations: 182.7 kB / 0.5704 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.5183, allocations: 184.2 kB / 0.5705 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.046e-05/0.5184, allocations: 183 kB / 0.5707 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.5186, allocations: 423 kB / 0.5711 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.519, allocations: 298.1 kB / 0.5714 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5191, allocations: 186 kB / 0.5716 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.5194, allocations: 107.9 kB / 0.5717 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.5195, allocations: 184.2 kB / 0.5719 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.5196, allocations: 105 kB / 0.572 GB, free: 3.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.5209, allocations: 1.009 MB / 0.5729 GB, free: 3.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5209, allocations: 0 / 0.5729 GB, free: 3.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001985/0.5229, allocations: 432.7 kB / 0.5734 GB, free: 2.926 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.5231, allocations: 167.3 kB / 0.5735 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.5246, allocations: 0.9022 MB / 0.5744 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5246, allocations: 0 / 0.5744 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.5246, allocations: 0 / 0.5744 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.5255, allocations: 0.6442 MB / 0.575 GB, free: 1.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.5306, allocations: 3.598 MB / 0.5785 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.5319, allocations: 1.576 MB / 0.5801 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5321, allocations: 91.44 kB / 0.5802 GB, free: 12.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5321, allocations: 0 / 0.5802 GB, free: 12.44 MB / 410.7 MB Notification: Performance of Templates: time 0.02978/0.5619, allocations: 17.53 MB / 0.5973 GB, free: 10.94 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)