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.001198/0.001198, allocations: 102.2 kB / 16.27 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 185.9 kB / 17.19 MB, free: 5.723 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.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2315/0.2315, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001661/0.001662, allocations: 68.05 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 57.78 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008343/0.146, allocations: 8.714 MB / 449.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.152, allocations: 2.251 MB / 451.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.1537, allocations: 43.94 kB / 451.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.1572, allocations: 1.522 MB / 453 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.1591, allocations: 481.3 kB / 453.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.1596, allocations: 71.84 kB / 453.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1615, allocations: 0.9449 MB / 454.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.1637, allocations: 1.506 MB / 456 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1648, allocations: 0.5371 MB / 456.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.1661, allocations: 0.6849 MB / 457.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.1665, allocations: 120 kB / 457.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.1671, allocations: 127.9 kB / 457.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009226/0.1681, allocations: 0.7325 MB / 458.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.1695, allocations: 0.8619 MB / 459.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.1722, allocations: 2.23 MB / 461.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1723, allocations: 4 kB / 461.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1723, allocations: 4 kB / 461.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1724, allocations: 0 / 461.3 MB, free: 1.984 MB / 334.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.004295/0.1767, allocations: 1.952 MB / 463.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.1768, allocations: 15.88 kB / 463.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.1775, allocations: 214.1 kB / 463.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1787, allocations: 0.7263 MB / 464.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.1788, allocations: 127.3 kB / 464.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.1789, allocations: 148.1 kB / 464.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.1832, allocations: 3.383 MB / 467.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.1832, allocations: 15.81 kB / 467.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.1834, allocations: 75.94 kB / 468 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007134/0.1841, allocations: 0.611 MB / 468.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.1872, allocations: 1.858 MB / 470.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.1999, allocations: 13.53 MB / 484 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2, allocations: 165.1 kB / 484.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.2001, allocations: 84.14 kB / 484.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.2001, allocations: 83.22 kB / 484.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/0.2002, allocations: 109.8 kB / 484.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.2002, allocations: 3.938 kB / 484.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003239/0.2005, allocations: 152.1 kB / 484.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.2006, allocations: 126.7 kB / 484.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.2029, allocations: 1.655 MB / 486.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.2029, allocations: 29.7 kB / 486.4 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.204, allocations: 1.355 MB / 487.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.2041, allocations: 47.89 kB / 487.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.2047, allocations: 426.7 kB / 488.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2049, allocations: 353.9 kB / 488.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.2054, allocations: 371.8 kB / 488.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.2074, allocations: 1.933 MB / 490.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.2103, allocations: 2.507 MB / 493.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.905e-05/0.2103, allocations: 16 kB / 493.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003632/0.214, allocations: 2.115 MB / 495.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.214, allocations: 28.19 kB / 495.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-05/0.2141, allocations: 67.94 kB / 495.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.673e-05/0.2142, allocations: 72 kB / 495.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.2154, allocations: 491 kB / 496.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.451e-05/0.2155, allocations: 111.6 kB / 496.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.217, allocations: 316.6 kB / 496.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.2171, allocations: 140 kB / 496.7 MB, free: 12.06 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.001118/0.2183, allocations: 0.8704 MB / 497.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.2185, allocations: 235.3 kB / 497.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.2187, allocations: 220.5 kB / 498 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.691e-05/0.2188, allocations: 180.3 kB / 498.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/0.2189, allocations: 180.3 kB / 498.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-05/0.2189, allocations: 192.3 kB / 498.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.2209, allocations: 1.474 MB / 500 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.221, allocations: 108.9 kB / 0.4884 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.221, allocations: 101 kB / 0.4885 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/0.2211, allocations: 188.2 kB / 0.4887 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.2212, allocations: 184.3 kB / 0.4888 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-05/0.2213, allocations: 180.2 kB / 0.489 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-05/0.2214, allocations: 176.3 kB / 0.4892 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.2217, allocations: 433.3 kB / 0.4896 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.222, allocations: 296.4 kB / 0.4899 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.2223, allocations: 192.2 kB / 0.49 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.2226, allocations: 101 kB / 0.4901 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.2227, allocations: 180.2 kB / 0.4903 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.2227, allocations: 105 kB / 0.4904 GB, free: 6.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.224, allocations: 1.018 MB / 0.4914 GB, free: 5.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2241, allocations: 0 / 0.4914 GB, free: 5.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00172/0.2258, allocations: 442 kB / 0.4918 GB, free: 4.848 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.0001984/0.226, allocations: 166.5 kB / 0.492 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2275, allocations: 0.9033 MB / 0.4929 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.2275, allocations: 0 / 0.4929 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.2275, allocations: 3.938 kB / 0.4929 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.2285, allocations: 0.5767 MB / 0.4934 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.2336, allocations: 2.807 MB / 0.4962 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.2354, allocations: 1.583 MB / 0.4977 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001311/0.2367, allocations: 491.4 kB / 0.4982 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2369, allocations: 75.44 kB / 0.4983 GB, free: 14.19 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2369, allocations: 0 / 0.4983 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02029/0.2572, allocations: 8.387 MB / 0.5065 GB, free: 5.82 MB / 398.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)