Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.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.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001538, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.966/1.966, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001117/0.001117, allocations: 94.77 kB / 270.9 MB, free: 8.379 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.5366/0.5366, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 15.98 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.3433/0.4748, allocations: 24.53 MB / 0.5027 GB, free: 32.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.49, allocations: 5.563 MB / 0.5081 GB, free: 29.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005586/0.4956, allocations: 114.2 kB / 0.5082 GB, free: 29.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004439/0.5001, allocations: 1.269 MB / 0.5095 GB, free: 28.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01378/0.5139, allocations: 3.619 MB / 0.513 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.5154, allocations: 82.27 kB / 0.5131 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.5188, allocations: 1.5 MB / 0.5145 GB, free: 26.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.5228, allocations: 2.129 MB / 0.5166 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.5246, allocations: 0.7451 MB / 0.5173 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.5265, allocations: 0.9751 MB / 0.5183 GB, free: 25.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005771/0.5271, allocations: 121 kB / 0.5184 GB, free: 25.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.5283, allocations: 369.2 kB / 0.5188 GB, free: 25.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.5297, allocations: 1.187 MB / 0.5199 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.5305, allocations: 0.687 MB / 0.5206 GB, free: 24.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006294/0.5368, allocations: 4.155 MB / 0.5246 GB, free: 23.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5369, allocations: 0 / 0.5246 GB, free: 23.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.5369, allocations: 0 / 0.5246 GB, free: 23.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002264/0.5372, allocations: 0 / 0.5246 GB, free: 23.31 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01052/0.5477, allocations: 2.98 MB / 0.5276 GB, free: 21.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.5478, allocations: 13.36 kB / 0.5276 GB, free: 21.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.5711, allocations: 3.573 MB / 0.5311 GB, free: 21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/0.576, allocations: 1.505 MB / 0.5325 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.5762, allocations: 176.6 kB / 0.5327 GB, free: 20.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.5776, allocations: 223.1 kB / 0.5329 GB, free: 19.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.6007, allocations: 9.491 MB / 0.5422 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.623e-05/0.6008, allocations: 19.44 kB / 0.5422 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006595/0.6015, allocations: 108.9 kB / 0.5423 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006694/0.6082, allocations: 2.378 MB / 0.5446 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.6334, allocations: 8.687 MB / 0.5531 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06277/0.6962, allocations: 29.35 MB / 0.5818 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00865/0.7049, allocations: 3.058 MB / 0.5848 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.7204, allocations: 4.87 MB / 0.5895 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.7205, allocations: 43.22 kB / 0.5895 GB, free: 3.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 6.262e-06/0.7205, allocations: 4 kB / 0.5896 GB, free: 3.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01159/0.7321, allocations: 3.244 MB / 0.5927 GB, free: 15.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.7322, allocations: 64.06 kB / 0.5928 GB, free: 15.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005875/0.7381, allocations: 2.557 MB / 0.5953 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.7384, allocations: 37.7 kB / 0.5953 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002596/0.741, allocations: 2.659 MB / 0.5979 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008377/0.7419, allocations: 0.4898 MB / 0.5984 GB, free: 9.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.7422, allocations: 84 kB / 0.5985 GB, free: 9.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/0.7427, allocations: 0.5008 MB / 0.599 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/0.7462, allocations: 1.34 MB / 0.6003 GB, free: 7.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006402/0.7526, allocations: 4.079 MB / 0.6043 GB, free: 2.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006008/0.7587, allocations: 2.355 MB / 0.6066 GB, free: 76 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.37e-05/0.7588, allocations: 28 kB / 0.6066 GB, free: 48 kB / 426.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01479/0.7736, allocations: 5.205 MB / 0.6117 GB, free: 10.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.7738, allocations: 46.81 kB / 0.6117 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.7739, allocations: 100 kB / 0.6118 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.7742, allocations: 140 kB / 0.6119 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005813/0.78, allocations: 0.9747 MB / 0.6129 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002226/0.7802, allocations: 195.2 kB / 0.6131 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/0.7846, allocations: 0.6068 MB / 0.6137 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008645/0.7855, allocations: 272 kB / 0.6139 GB, free: 8.504 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.004978/0.7905, allocations: 1.899 MB / 0.6158 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.7911, allocations: 225.1 kB / 0.616 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.7919, allocations: 271.4 kB / 0.6163 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-05/0.7919, allocations: 16 kB / 0.6163 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.792, allocations: 0 / 0.6163 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.792, allocations: 3.984 kB / 0.6163 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.8071, allocations: 5.595 MB / 0.6217 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.8072, allocations: 4 kB / 0.6217 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8083, allocations: 143.8 kB / 0.6219 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/0.8083, allocations: 11.95 kB / 0.6219 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.8084, allocations: 24.56 kB / 0.6219 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.8085, allocations: 12 kB / 0.6219 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.8085, allocations: 7.938 kB / 0.6219 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.8124, allocations: 2.114 MB / 0.624 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.8131, allocations: 305.9 kB / 0.6243 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.8135, allocations: 16 kB / 0.6243 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.8146, allocations: 43.89 kB / 0.6243 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.8148, allocations: 60.39 kB / 0.6244 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.815, allocations: 43.98 kB / 0.6244 GB, free: 13.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003678/0.8187, allocations: 1.549 MB / 0.626 GB, free: 11.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.8187, allocations: 0 / 0.626 GB, free: 11.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005154/0.8239, allocations: 1.003 MB / 0.6269 GB, free: 10.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0004916/0.8244, allocations: 143 kB / 0.6271 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007719/0.8322, allocations: 3.117 MB / 0.6301 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8322, allocations: 0 / 0.6301 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.8339, allocations: 0.7374 MB / 0.6308 GB, free: 6.816 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.8355, allocations: 232.6 kB / 0.6311 GB, free: 6.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.8573, allocations: 9.211 MB / 0.6401 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006586/0.8639, allocations: 3.042 MB / 0.643 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.8651, allocations: 199.4 kB / 0.6432 GB, free: 10.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.183e-06/0.8651, allocations: 0 / 0.6432 GB, free: 10.04 MB / 474.7 MB Notification: Performance of Templates: time 0.1316/0.9967, allocations: 40.8 MB / 0.6831 GB, free: 1.289 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)