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.0009215/0.0009216, 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.164/1.164, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000754/0.000754, allocations: 92.72 kB / 271.2 MB, free: 8.246 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.2836/0.2836, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08963, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1973/0.287, allocations: 18.98 MB / 0.4979 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.2962, allocations: 4.103 MB / 0.502 GB, free: 33.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.3001, allocations: 76.69 kB / 0.502 GB, free: 33.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.3028, allocations: 0.813 MB / 0.5028 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006675/0.3095, allocations: 2.286 MB / 0.5051 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.3102, allocations: 59.66 kB / 0.5051 GB, free: 32.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.311, allocations: 0.7736 MB / 0.5059 GB, free: 32.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.3121, allocations: 0.8441 MB / 0.5067 GB, free: 32.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.3124, allocations: 242.3 kB / 0.5069 GB, free: 31.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.3129, allocations: 375.7 kB / 0.5073 GB, free: 31.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.3129, allocations: 27.59 kB / 0.5073 GB, free: 31.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.3132, allocations: 84.09 kB / 0.5074 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.3135, allocations: 337.7 kB / 0.5077 GB, free: 31.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.3138, allocations: 421.6 kB / 0.5081 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.3146, allocations: 0.9592 MB / 0.509 GB, free: 31.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3146, allocations: 0 / 0.509 GB, free: 31.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3146, allocations: 0 / 0.509 GB, free: 31.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3147, allocations: 1.094 kB / 0.509 GB, free: 31.29 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.001532/0.3162, allocations: 1.028 MB / 0.5101 GB, free: 30.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3163, allocations: 10.53 kB / 0.5101 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.3165, allocations: 165.8 kB / 0.5102 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.3172, allocations: 157.6 kB / 0.5104 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.3178, allocations: 0.4932 MB / 0.5109 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.3179, allocations: 46.05 kB / 0.5109 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.318, allocations: 62.94 kB / 0.511 GB, free: 29.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3198, allocations: 1.745 MB / 0.5127 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3199, allocations: 8 kB / 0.5127 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.3199, allocations: 32.56 kB / 0.5127 GB, free: 29.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006244/0.3206, allocations: 411.4 kB / 0.5131 GB, free: 29.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.3222, allocations: 1.183 MB / 0.5142 GB, free: 28.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/0.3277, allocations: 6.612 MB / 0.5207 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.3282, allocations: 175.1 kB / 0.5209 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.3284, allocations: 100.7 kB / 0.521 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3285, allocations: 7.188 kB / 0.521 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3285, allocations: 30.56 kB / 0.521 GB, free: 23.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.997e-06/0.3285, allocations: 7.938 kB / 0.521 GB, free: 23.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008477/0.3294, allocations: 388.3 kB / 0.5214 GB, free: 23.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3294, allocations: 57.91 kB / 0.5214 GB, free: 23.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3306, allocations: 0.9532 MB / 0.5224 GB, free: 22.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3306, allocations: 25.7 kB / 0.5224 GB, free: 22.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.331, allocations: 0.6898 MB / 0.5231 GB, free: 22.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.331, allocations: 62.61 kB / 0.5231 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3311, allocations: 22.31 kB / 0.5231 GB, free: 22.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3312, allocations: 388.2 kB / 0.5235 GB, free: 21.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3316, allocations: 263.3 kB / 0.5238 GB, free: 21.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.3323, allocations: 0.9507 MB / 0.5247 GB, free: 20.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.3335, allocations: 1.302 MB / 0.526 GB, free: 19.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/0.3335, allocations: 6.125 kB / 0.526 GB, free: 19.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00174/0.3353, allocations: 1.181 MB / 0.5271 GB, free: 19.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3353, allocations: 16.12 kB / 0.5271 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.3354, allocations: 25.84 kB / 0.5272 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.195e-05/0.3354, allocations: 31.47 kB / 0.5272 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.3361, allocations: 250.4 kB / 0.5274 GB, free: 19.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-05/0.3362, allocations: 52.95 kB / 0.5275 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.3369, allocations: 157.7 kB / 0.5276 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.337, allocations: 64.53 kB / 0.5277 GB, free: 18.95 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.0005958/0.3376, allocations: 472.6 kB / 0.5281 GB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3378, allocations: 78.41 kB / 0.5282 GB, free: 18.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.3384, allocations: 331.6 kB / 0.5285 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3384, allocations: 3.25 kB / 0.5285 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3384, allocations: 0 / 0.5285 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3385, allocations: 3.938 kB / 0.5285 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.3394, allocations: 0.735 MB / 0.5293 GB, free: 18.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3394, allocations: 3.938 kB / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3396, allocations: 36.72 kB / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3396, allocations: 0 / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3397, allocations: 6.641 kB / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3397, allocations: 4 kB / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3397, allocations: 0 / 0.5293 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.3402, allocations: 398.7 kB / 0.5297 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3404, allocations: 152.2 kB / 0.5298 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.3405, allocations: 6.188 kB / 0.5298 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.3408, allocations: 19.16 kB / 0.5299 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.3409, allocations: 13.48 kB / 0.5299 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3409, allocations: 10.72 kB / 0.5299 GB, free: 17.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000671/0.3416, allocations: 0.6131 MB / 0.5305 GB, free: 17.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 0.5305 GB, free: 17.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008922/0.3425, allocations: 225.4 kB / 0.5307 GB, free: 17.44 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.0007471/0.3432, allocations: 0.9346 MB / 0.5316 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3443, allocations: 0.6034 MB / 0.5322 GB, free: 16.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3443, allocations: 4 kB / 0.5322 GB, free: 16.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.3445, allocations: 108 kB / 0.5323 GB, free: 16.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.3451, allocations: 78.92 kB / 0.5324 GB, free: 16.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.353, allocations: 5.509 MB / 0.5378 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.3537, allocations: 1.156 MB / 0.5389 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.3541, allocations: 360.2 kB / 0.5392 GB, free: 12.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3541, allocations: 0 / 0.5392 GB, free: 12.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.089/3.443, allocations: 13.84 MB / 0.5527 GB, free: 7.336 MB / 378.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)