Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002786/0.002791, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.42/2.42, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.00115/0.00115, allocations: 94.88 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2864/0.2864, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006842/0.0006847, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.176, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.04559/0.2217, allocations: 17.99 MB / 0.4963 GB, free: 7.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2383, allocations: 4.276 MB / 0.5005 GB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.2422, allocations: 79.81 kB / 0.5005 GB, free: 2.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.2464, allocations: 0.8477 MB / 0.5014 GB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.261, allocations: 2.575 MB / 0.5039 GB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2621, allocations: 51.94 kB / 0.5039 GB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2635, allocations: 399.1 kB / 0.5043 GB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.2658, allocations: 0.791 MB / 0.5051 GB, free: 14.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.2664, allocations: 211.1 kB / 0.5053 GB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.2672, allocations: 266.9 kB / 0.5055 GB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.2674, allocations: 28 kB / 0.5056 GB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.2678, allocations: 67.89 kB / 0.5056 GB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.2684, allocations: 315.2 kB / 0.5059 GB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.2688, allocations: 197.1 kB / 0.5061 GB, free: 13.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.2708, allocations: 0.9507 MB / 0.507 GB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2708, allocations: 4 kB / 0.5071 GB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2708, allocations: 0 / 0.5071 GB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.2708, allocations: 0 / 0.5071 GB, free: 12.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.0037/0.2746, allocations: 1.036 MB / 0.5081 GB, free: 11.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.2746, allocations: 16.03 kB / 0.5081 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.2767, allocations: 166.4 kB / 0.5082 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.2783, allocations: 484.3 kB / 0.5087 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.2784, allocations: 45.28 kB / 0.5087 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.2787, allocations: 63.91 kB / 0.5088 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/0.2838, allocations: 1.739 MB / 0.5105 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/0.2839, allocations: 7.938 kB / 0.5105 GB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.2841, allocations: 31.95 kB / 0.5105 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001787/0.2859, allocations: 405.2 kB / 0.5109 GB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/0.29, allocations: 1.196 MB / 0.5121 GB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3244/0.6144, allocations: 6.601 MB / 0.5185 GB, free: 45.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.6152, allocations: 174.9 kB / 0.5187 GB, free: 45.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.6153, allocations: 2.344 kB / 0.5187 GB, free: 45.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6153, allocations: 37.23 kB / 0.5187 GB, free: 45.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.095e-06/0.6154, allocations: 0.9688 kB / 0.5187 GB, free: 45.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001571/0.6169, allocations: 388.2 kB / 0.5191 GB, free: 45.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.617, allocations: 54.12 kB / 0.5192 GB, free: 45.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.619, allocations: 0.9618 MB / 0.5201 GB, free: 45.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.6191, allocations: 27.39 kB / 0.5201 GB, free: 45.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.6197, allocations: 0.7196 MB / 0.5208 GB, free: 44.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.6198, allocations: 55.42 kB / 0.5209 GB, free: 44.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.6199, allocations: 20.28 kB / 0.5209 GB, free: 44.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.62, allocations: 351.3 kB / 0.5212 GB, free: 44.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.6208, allocations: 268.8 kB / 0.5215 GB, free: 44.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.622, allocations: 0.9476 MB / 0.5224 GB, free: 43.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.6231, allocations: 470.5 kB / 0.5229 GB, free: 43.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.6232, allocations: 7.031 kB / 0.5229 GB, free: 43.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002938/0.6261, allocations: 1.137 MB / 0.524 GB, free: 42.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.6262, allocations: 16.5 kB / 0.524 GB, free: 42.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.6262, allocations: 28.88 kB / 0.524 GB, free: 42.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.327e-05/0.6263, allocations: 38.72 kB / 0.5241 GB, free: 42.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.6277, allocations: 250.8 kB / 0.5243 GB, free: 42.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.995e-05/0.6278, allocations: 48.33 kB / 0.5244 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.6289, allocations: 160.5 kB / 0.5245 GB, free: 42.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6291, allocations: 64.81 kB / 0.5246 GB, free: 42.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0008767/0.63, allocations: 472.2 kB / 0.525 GB, free: 42.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.6301, allocations: 72.8 kB / 0.5251 GB, free: 42.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.6313, allocations: 336.6 kB / 0.5254 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6313, allocations: 5.094 kB / 0.5254 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6314, allocations: 2.031 kB / 0.5254 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6314, allocations: 0.75 kB / 0.5254 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.6329, allocations: 0.7369 MB / 0.5261 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6329, allocations: 0.5625 kB / 0.5261 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.6333, allocations: 36.11 kB / 0.5262 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.6333, allocations: 1.219 kB / 0.5262 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.6334, allocations: 2.375 kB / 0.5262 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6334, allocations: 5.078 kB / 0.5262 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6334, allocations: 4 kB / 0.5262 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6344, allocations: 398.9 kB / 0.5266 GB, free: 41.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.6347, allocations: 150.3 kB / 0.5267 GB, free: 41.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6348, allocations: 6.672 kB / 0.5267 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.6353, allocations: 15.02 kB / 0.5267 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6354, allocations: 20.94 kB / 0.5268 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.6354, allocations: 4.188 kB / 0.5268 GB, free: 41.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.6367, allocations: 0.6166 MB / 0.5274 GB, free: 41.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6367, allocations: 0 / 0.5274 GB, free: 41.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001346/0.6381, allocations: 220.3 kB / 0.5276 GB, free: 41.28 MB / 362.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 (13): * Single equations (assignments): 13 * 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.0001684/0.6383, allocations: 99.88 kB / 0.5277 GB, free: 41.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.6402, allocations: 0.602 MB / 0.5283 GB, free: 41.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6402, allocations: 4 kB / 0.5283 GB, free: 41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.6407, allocations: 109.3 kB / 0.5284 GB, free: 40.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.6414, allocations: 84.5 kB / 0.5284 GB, free: 40.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.6458, allocations: 1.983 MB / 0.5304 GB, free: 39.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.6469, allocations: 1.174 MB / 0.5315 GB, free: 39.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.6473, allocations: 62.78 kB / 0.5316 GB, free: 39 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6473, allocations: 0 / 0.5316 GB, free: 39 MB / 362.7 MB Notification: Performance of Templates: time 0.02434/0.6716, allocations: 10.16 MB / 0.5415 GB, free: 35.06 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)