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.0009545/0.0009546, allocations: 177 kB / 16.72 MB, free: 4.957 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.353/1.353, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007139/0.0007138, allocations: 98.27 kB / 271.2 MB, free: 8.23 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.3101/0.3101, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2309/0.3409, allocations: 18.97 MB / 0.4978 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.3506, allocations: 4.109 MB / 0.5019 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.3548, allocations: 76.91 kB / 0.5019 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.3574, allocations: 0.812 MB / 0.5027 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.3638, allocations: 2.287 MB / 0.505 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.3643, allocations: 50.02 kB / 0.505 GB, free: 32.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.3651, allocations: 0.7758 MB / 0.5058 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.3663, allocations: 0.8496 MB / 0.5066 GB, free: 32.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.3665, allocations: 240.3 kB / 0.5068 GB, free: 32.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.367, allocations: 362.3 kB / 0.5072 GB, free: 31.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.367, allocations: 30.69 kB / 0.5072 GB, free: 31.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.3673, allocations: 92 kB / 0.5073 GB, free: 31.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.3676, allocations: 340.2 kB / 0.5076 GB, free: 31.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.3679, allocations: 420.1 kB / 0.508 GB, free: 31.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.3688, allocations: 0.9629 MB / 0.5089 GB, free: 31.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3688, allocations: 3.938 kB / 0.5089 GB, free: 31.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.3688, allocations: 1.094 kB / 0.509 GB, free: 31.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3688, allocations: 0.6562 kB / 0.509 GB, free: 31.33 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.001551/0.3704, allocations: 1.026 MB / 0.51 GB, free: 30.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3704, allocations: 9.312 kB / 0.51 GB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.3712, allocations: 156.7 kB / 0.5101 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.3718, allocations: 0.4896 MB / 0.5106 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.3718, allocations: 45.5 kB / 0.5106 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.3719, allocations: 66.75 kB / 0.5107 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.3738, allocations: 1.752 MB / 0.5124 GB, free: 29.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3738, allocations: 11.03 kB / 0.5124 GB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.3739, allocations: 26.34 kB / 0.5124 GB, free: 29.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/0.3745, allocations: 406.9 kB / 0.5128 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.3761, allocations: 1.19 MB / 0.514 GB, free: 28.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.3814, allocations: 6.604 MB / 0.5204 GB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.3818, allocations: 173 kB / 0.5206 GB, free: 23.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.382, allocations: 105.2 kB / 0.5207 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3821, allocations: 3.938 kB / 0.5207 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3821, allocations: 41.84 kB / 0.5208 GB, free: 23.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.477e-06/0.3821, allocations: 3.938 kB / 0.5208 GB, free: 23.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007937/0.3829, allocations: 382.6 kB / 0.5211 GB, free: 23.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3829, allocations: 51.41 kB / 0.5212 GB, free: 23.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/0.3839, allocations: 0.9608 MB / 0.5221 GB, free: 23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3839, allocations: 29.7 kB / 0.5221 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.3842, allocations: 0.6816 MB / 0.5228 GB, free: 22.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3843, allocations: 58.64 kB / 0.5229 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3843, allocations: 22.25 kB / 0.5229 GB, free: 22.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3844, allocations: 388.4 kB / 0.5232 GB, free: 22.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3848, allocations: 266.6 kB / 0.5235 GB, free: 21.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.3854, allocations: 0.9522 MB / 0.5244 GB, free: 20.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3865, allocations: 1.308 MB / 0.5257 GB, free: 19.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.3865, allocations: 6.875 kB / 0.5257 GB, free: 19.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001444/0.388, allocations: 1.177 MB / 0.5269 GB, free: 19.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.388, allocations: 15.94 kB / 0.5269 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.388, allocations: 25.91 kB / 0.5269 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.3881, allocations: 32.34 kB / 0.5269 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.3887, allocations: 250 kB / 0.5272 GB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.3887, allocations: 49.03 kB / 0.5272 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.3894, allocations: 163.7 kB / 0.5274 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.3894, allocations: 66.16 kB / 0.5274 GB, free: 19.04 MB / 378.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.0004898/0.3899, allocations: 470.2 kB / 0.5279 GB, free: 18.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.39, allocations: 75.19 kB / 0.528 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3906, allocations: 332.7 kB / 0.5283 GB, free: 18.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3906, allocations: 0 / 0.5283 GB, free: 18.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3906, allocations: 2.188 kB / 0.5283 GB, free: 18.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3906, allocations: 0 / 0.5283 GB, free: 18.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.3913, allocations: 0.7391 MB / 0.529 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3913, allocations: 0 / 0.529 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3915, allocations: 39.17 kB / 0.529 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3915, allocations: 0 / 0.529 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3916, allocations: 4 kB / 0.529 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3916, allocations: 3.25 kB / 0.529 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3916, allocations: 3.656 kB / 0.529 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.3921, allocations: 399 kB / 0.5294 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3922, allocations: 159.8 kB / 0.5296 GB, free: 17.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.3922, allocations: 0 / 0.5296 GB, free: 17.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3925, allocations: 16.95 kB / 0.5296 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.3926, allocations: 17.3 kB / 0.5296 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3926, allocations: 6.562 kB / 0.5296 GB, free: 17.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005877/0.3932, allocations: 0.6169 MB / 0.5302 GB, free: 17.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3932, allocations: 0 / 0.5302 GB, free: 17.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007701/0.394, allocations: 222.9 kB / 0.5304 GB, free: 17.54 MB / 378.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.00013/0.3941, allocations: 105.8 kB / 0.5305 GB, free: 17.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008797/0.395, allocations: 0.6007 MB / 0.5311 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.395, allocations: 0 / 0.5311 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3952, allocations: 119.4 kB / 0.5312 GB, free: 17.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.3958, allocations: 87.45 kB / 0.5313 GB, free: 17.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.398, allocations: 1.993 MB / 0.5333 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3985, allocations: 1.153 MB / 0.5344 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3987, allocations: 59.92 kB / 0.5345 GB, free: 15.24 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3987, allocations: 0 / 0.5345 GB, free: 15.24 MB / 378.7 MB Notification: Performance of Templates: time 0.01827/0.417, allocations: 10.26 MB / 0.5445 GB, free: 12.84 MB / 378.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)