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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.6 kB / 16.4 MB, free: 5.754 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.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001437/0.001437, allocations: 99.33 kB / 270.9 MB, free: 8.359 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.5503/0.5503, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 19.98 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.4368/0.5819, allocations: 17.99 MB / 0.4964 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.594, allocations: 4.278 MB / 0.5006 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004497/0.5986, allocations: 80.56 kB / 0.5006 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.6021, allocations: 0.853 MB / 0.5015 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.6134, allocations: 2.567 MB / 0.504 GB, free: 32.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.6145, allocations: 49.12 kB / 0.504 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.6155, allocations: 402.8 kB / 0.5044 GB, free: 32.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.617, allocations: 0.7878 MB / 0.5052 GB, free: 32.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.6175, allocations: 208 kB / 0.5054 GB, free: 32.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.6179, allocations: 263.3 kB / 0.5056 GB, free: 32.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.6181, allocations: 29.09 kB / 0.5057 GB, free: 32.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.6183, allocations: 66.34 kB / 0.5057 GB, free: 32.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.6187, allocations: 311.2 kB / 0.506 GB, free: 32.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.619, allocations: 196.9 kB / 0.5062 GB, free: 31.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.6203, allocations: 0.9579 MB / 0.5071 GB, free: 31.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6204, allocations: 0 / 0.5071 GB, free: 31.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.6204, allocations: 0 / 0.5071 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.6204, allocations: 0 / 0.5071 GB, free: 31.74 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.002215/0.6226, allocations: 1.048 MB / 0.5082 GB, free: 30.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6227, allocations: 9.031 kB / 0.5082 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.623, allocations: 160.7 kB / 0.5083 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.6242, allocations: 167.3 kB / 0.5085 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.6253, allocations: 494.7 kB / 0.509 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.6254, allocations: 45.61 kB / 0.509 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.6255, allocations: 57.98 kB / 0.5091 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.6287, allocations: 1.746 MB / 0.5108 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.6288, allocations: 7.188 kB / 0.5108 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.6289, allocations: 30.11 kB / 0.5108 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.6301, allocations: 403.6 kB / 0.5112 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.6332, allocations: 1.188 MB / 0.5123 GB, free: 29.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009277/0.6425, allocations: 6.614 MB / 0.5188 GB, free: 24.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.6433, allocations: 178.5 kB / 0.519 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.6433, allocations: 5.25 kB / 0.519 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.6434, allocations: 44.31 kB / 0.519 GB, free: 24.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.6434, allocations: 0 / 0.519 GB, free: 24.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001385/0.6448, allocations: 378.7 kB / 0.5194 GB, free: 23.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.6448, allocations: 51.41 kB / 0.5194 GB, free: 23.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.6465, allocations: 0.9577 MB / 0.5204 GB, free: 23.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.6465, allocations: 29.7 kB / 0.5204 GB, free: 23.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.647, allocations: 0.718 MB / 0.5211 GB, free: 22.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.6471, allocations: 58.06 kB / 0.5211 GB, free: 22.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.6471, allocations: 19.25 kB / 0.5212 GB, free: 22.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6473, allocations: 358.1 kB / 0.5215 GB, free: 22.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.648, allocations: 260.4 kB / 0.5218 GB, free: 22.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.6491, allocations: 0.9519 MB / 0.5227 GB, free: 21.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6502, allocations: 473.8 kB / 0.5231 GB, free: 21.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.6502, allocations: 5.906 kB / 0.5231 GB, free: 21.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002874/0.6531, allocations: 1.139 MB / 0.5243 GB, free: 20.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.6532, allocations: 17.69 kB / 0.5243 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/0.6532, allocations: 26.34 kB / 0.5243 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-05/0.6533, allocations: 36.91 kB / 0.5243 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6547, allocations: 250.3 kB / 0.5246 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-05/0.6548, allocations: 47.08 kB / 0.5246 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.6562, allocations: 154.9 kB / 0.5248 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.6564, allocations: 68.61 kB / 0.5248 GB, free: 20.57 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.000897/0.6573, allocations: 491.7 kB / 0.5253 GB, free: 20.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.6575, allocations: 70.03 kB / 0.5254 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.6586, allocations: 326.7 kB / 0.5257 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6586, allocations: 3.188 kB / 0.5257 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6586, allocations: 0 / 0.5257 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6586, allocations: 3.281 kB / 0.5257 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.66, allocations: 0.741 MB / 0.5264 GB, free: 19.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6601, allocations: 11.38 kB / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.6605, allocations: 32.11 kB / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.6605, allocations: 3.031 kB / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.6605, allocations: 0 / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6605, allocations: 0 / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6605, allocations: 0 / 0.5264 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.6615, allocations: 398.2 kB / 0.5268 GB, free: 19.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.6618, allocations: 156 kB / 0.527 GB, free: 19.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6619, allocations: 4 kB / 0.527 GB, free: 19.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.6624, allocations: 19.56 kB / 0.527 GB, free: 19.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.6625, allocations: 13.44 kB / 0.527 GB, free: 19.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6626, allocations: 7.125 kB / 0.527 GB, free: 19.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.6637, allocations: 0.6163 MB / 0.5276 GB, free: 19.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6638, allocations: 0 / 0.5276 GB, free: 19.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001361/0.6651, allocations: 224.9 kB / 0.5278 GB, free: 19.05 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.001241/0.6664, allocations: 0.9397 MB / 0.5288 GB, free: 18.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.6681, allocations: 0.5973 MB / 0.5293 GB, free: 18.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6682, allocations: 4 kB / 0.5293 GB, free: 18.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.6686, allocations: 118.1 kB / 0.5295 GB, free: 18.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.6693, allocations: 84.09 kB / 0.5295 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.6872, allocations: 22.49 MB / 0.5515 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.6884, allocations: 1.179 MB / 0.5526 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/0.6891, allocations: 355.1 kB / 0.553 GB, free: 12.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.532e-06/0.6892, allocations: 0 / 0.553 GB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.673/3.362, allocations: 15.21 MB / 0.5678 GB, free: 7.504 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)