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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.574/1.574, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4032/0.4032, allocations: 43.58 MB / 315 MB, free: 8.75 MB / 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.000608/0.000608, allocations: 16 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1496, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2954/0.4451, allocations: 39.11 MB / 482.6 MB, free: 25.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.4644, allocations: 7.28 MB / 489.8 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009112/0.4736, allocations: 160.8 kB / 490 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.4745, allocations: 184.9 kB / 490.2 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.4758, allocations: 448.9 kB / 490.6 MB, free: 21.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.476, allocations: 68.92 kB / 490.7 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4773, allocations: 1.622 MB / 492.3 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.4794, allocations: 1.873 MB / 494.2 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.4799, allocations: 367.5 kB / 494.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.4806, allocations: 0.5659 MB / 495.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.4807, allocations: 44.59 kB / 495.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.4809, allocations: 63.89 kB / 495.2 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.4815, allocations: 0.6321 MB / 495.8 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.4821, allocations: 0.7711 MB / 496.6 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.4836, allocations: 2.134 MB / 498.7 MB, free: 18.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4836, allocations: 1.781 kB / 498.7 MB, free: 18.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4836, allocations: 8.594 kB / 498.8 MB, free: 18.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.4836, allocations: 0 / 498.8 MB, free: 18.35 MB / 382.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.002176/0.4858, allocations: 1.606 MB / 0.4886 GB, free: 17.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4859, allocations: 9.031 kB / 0.4886 GB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.4865, allocations: 219.3 kB / 0.4888 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.4875, allocations: 0.7179 MB / 0.4895 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.4876, allocations: 116.3 kB / 0.4897 GB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4878, allocations: 161.2 kB / 0.4898 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.4919, allocations: 3.378 MB / 0.4931 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.4919, allocations: 18.66 kB / 0.4931 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.4921, allocations: 73.34 kB / 0.4932 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008967/0.493, allocations: 0.6147 MB / 0.4938 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/0.497, allocations: 1.859 MB / 0.4956 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.5094, allocations: 13.53 MB / 0.5088 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.5095, allocations: 166.6 kB / 0.509 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.5095, allocations: 88.14 kB / 0.5091 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5095, allocations: 75.98 kB / 0.5091 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5096, allocations: 114.9 kB / 0.5093 GB, free: 2.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.5096, allocations: 0 / 0.5093 GB, free: 2.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000282/0.5099, allocations: 149.3 kB / 0.5094 GB, free: 2.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5099, allocations: 126.7 kB / 0.5095 GB, free: 2.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.5121, allocations: 1.661 MB / 0.5111 GB, free: 1.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.5121, allocations: 25.7 kB / 0.5112 GB, free: 1.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/0.5129, allocations: 1.357 MB / 0.5125 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.5129, allocations: 43.56 kB / 0.5125 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.5132, allocations: 185.6 kB / 0.5127 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5133, allocations: 354.9 kB / 0.513 GB, free: 244 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.5139, allocations: 373.3 kB / 0.5134 GB, free: 140 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.5158, allocations: 1.936 MB / 0.5153 GB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.5186, allocations: 2.505 MB / 0.5177 GB, free: 11.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.5187, allocations: 15.56 kB / 0.5178 GB, free: 11.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003878/0.5226, allocations: 2.118 MB / 0.5198 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.5226, allocations: 33.03 kB / 0.5199 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.853e-05/0.5227, allocations: 60.75 kB / 0.5199 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.752e-05/0.5228, allocations: 73.22 kB / 0.52 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.524, allocations: 490.2 kB / 0.5204 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.5241, allocations: 110.1 kB / 0.5206 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5259, allocations: 325.7 kB / 0.5209 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.5261, allocations: 138.6 kB / 0.521 GB, free: 9.938 MB / 398.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.001375/0.5275, allocations: 0.8665 MB / 0.5218 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.5277, allocations: 239.3 kB / 0.5221 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.528, allocations: 225.9 kB / 0.5223 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.5281, allocations: 178 kB / 0.5225 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-05/0.5282, allocations: 190.4 kB / 0.5226 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-05/0.5282, allocations: 177.1 kB / 0.5228 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.5304, allocations: 1.478 MB / 0.5242 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/0.5305, allocations: 101.7 kB / 0.5243 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.5305, allocations: 106.9 kB / 0.5244 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-05/0.5306, allocations: 186.2 kB / 0.5246 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.5307, allocations: 186.1 kB / 0.5248 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.253e-05/0.5308, allocations: 182.3 kB / 0.525 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.249e-05/0.5308, allocations: 177.5 kB / 0.5251 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.5312, allocations: 429.8 kB / 0.5256 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5315, allocations: 309 kB / 0.5258 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.5317, allocations: 180.9 kB / 0.526 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.532, allocations: 104.1 kB / 0.5261 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5322, allocations: 184.1 kB / 0.5263 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.5322, allocations: 101.6 kB / 0.5264 GB, free: 5.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.5338, allocations: 1.021 MB / 0.5274 GB, free: 5.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5338, allocations: 0 / 0.5274 GB, free: 5.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002137/0.5359, allocations: 431 kB / 0.5278 GB, free: 5.086 MB / 398.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.0001913/0.5361, allocations: 177.4 kB / 0.528 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.5377, allocations: 0.8984 MB / 0.5288 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5377, allocations: 0 / 0.5288 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-06/0.5377, allocations: 4.75 kB / 0.5289 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.5387, allocations: 0.6411 MB / 0.5295 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.5438, allocations: 3.609 MB / 0.533 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.5451, allocations: 1.587 MB / 0.5346 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.5464, allocations: 491.4 kB / 0.535 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.5466, allocations: 75.44 kB / 0.5351 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.224e-06/0.5466, allocations: 0 / 0.5351 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.01962/0.5662, allocations: 8.055 MB / 0.543 GB, free: 7.145 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)