Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 202.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 222.6 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2879/0.2879, allocations: 43.51 MB / 313.5 MB, free: 8.613 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 74.55 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.09009, allocations: 57.78 MB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1831/0.2732, allocations: 21.04 MB / 461 MB, free: 37.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006893/0.2801, allocations: 4.332 MB / 465.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.2822, allocations: 85.5 kB / 465.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.2833, allocations: 0.6232 MB / 466 MB, free: 36.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.2838, allocations: 279.9 kB / 466.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.284, allocations: 46.72 kB / 466.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.2845, allocations: 0.9277 MB / 467.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.2851, allocations: 0.5818 MB / 467.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2853, allocations: 265.1 kB / 468.1 MB, free: 36.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.2857, allocations: 427.7 kB / 468.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.2858, allocations: 45.22 kB / 468.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2861, allocations: 97.11 kB / 468.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2863, allocations: 371.2 kB / 469 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.2866, allocations: 442.8 kB / 469.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.2873, allocations: 1.213 MB / 470.6 MB, free: 35.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2873, allocations: 5.312 kB / 470.6 MB, free: 35.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2873, allocations: 0 / 470.6 MB, free: 35.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2873, allocations: 0 / 470.6 MB, free: 35.46 MB / 382.1 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.001414/0.2887, allocations: 1.192 MB / 471.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2888, allocations: 9.594 kB / 471.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.2889, allocations: 160.3 kB / 472 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.2896, allocations: 157.1 kB / 472.2 MB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.29, allocations: 0.494 MB / 472.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2901, allocations: 47.98 kB / 472.7 MB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.2901, allocations: 60.27 kB / 472.8 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2916, allocations: 1.754 MB / 474.5 MB, free: 33.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2916, allocations: 7 kB / 474.5 MB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.2917, allocations: 25.3 kB / 474.5 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.2922, allocations: 414.5 kB / 474.9 MB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.2936, allocations: 1.185 MB / 476.1 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.2978, allocations: 6.596 MB / 482.7 MB, free: 27.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.2982, allocations: 175.6 kB / 482.9 MB, free: 27.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.2983, allocations: 93.52 kB / 483 MB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2984, allocations: 13.14 kB / 483 MB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.2984, allocations: 37.91 kB / 483 MB, free: 27.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.2984, allocations: 4 kB / 483 MB, free: 27.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00067/0.2991, allocations: 355.4 kB / 483.4 MB, free: 27.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2991, allocations: 52.59 kB / 483.4 MB, free: 27.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.2999, allocations: 0.9666 MB / 484.4 MB, free: 27.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2999, allocations: 28.98 kB / 484.4 MB, free: 27.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3002, allocations: 0.6957 MB / 485.1 MB, free: 26.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3002, allocations: 59.16 kB / 485.2 MB, free: 26.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.3004, allocations: 219.4 kB / 485.4 MB, free: 26.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.3005, allocations: 390.6 kB / 485.8 MB, free: 25.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.3009, allocations: 259.9 kB / 486 MB, free: 25.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.3014, allocations: 0.9475 MB / 487 MB, free: 24.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.3023, allocations: 1.297 MB / 488.3 MB, free: 23.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3023, allocations: 8.844 kB / 488.3 MB, free: 23.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001327/0.3036, allocations: 1.164 MB / 489.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3037, allocations: 16.73 kB / 489.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.3037, allocations: 27.06 kB / 489.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.3037, allocations: 35.59 kB / 489.5 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.3043, allocations: 247.3 kB / 489.8 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.007e-05/0.3044, allocations: 49.77 kB / 489.8 MB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.305, allocations: 157.1 kB / 490 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.305, allocations: 67.09 kB / 490 MB, free: 23.03 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003841/0.3054, allocations: 475.2 kB / 490.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.3055, allocations: 80.31 kB / 490.6 MB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.3061, allocations: 304.9 kB / 490.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3061, allocations: 2.625 kB / 490.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3061, allocations: 0 / 490.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3061, allocations: 4 kB / 490.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.3069, allocations: 0.7409 MB / 491.6 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3069, allocations: 3.938 kB / 491.6 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3071, allocations: 29.56 kB / 491.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3071, allocations: 1.219 kB / 491.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3071, allocations: 8.078 kB / 491.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3071, allocations: 1.094 kB / 491.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3072, allocations: 3.938 kB / 491.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.3077, allocations: 389.9 kB / 492.1 MB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3078, allocations: 151.5 kB / 492.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.3079, allocations: 4.828 kB / 492.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.3081, allocations: 14.06 kB / 492.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3082, allocations: 13.95 kB / 492.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3082, allocations: 7.906 kB / 492.2 MB, free: 21.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007671/0.309, allocations: 0.6274 MB / 492.9 MB, free: 21.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.309, allocations: 0 / 492.9 MB, free: 21.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008169/0.3098, allocations: 216.9 kB / 493.1 MB, free: 21.53 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006796/0.3105, allocations: 0.9275 MB / 494 MB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009535/0.3115, allocations: 0.5935 MB / 494.6 MB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3115, allocations: 0 / 494.6 MB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3117, allocations: 105.6 kB / 494.7 MB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3122, allocations: 83.28 kB / 494.8 MB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/0.3212, allocations: 8.412 MB / 0.4914 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.3219, allocations: 1.149 MB / 0.4925 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007286/0.3226, allocations: 279.2 kB / 0.4928 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.323, allocations: 354.5 kB / 0.4931 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.323, allocations: 0 / 0.4931 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/0.4563, allocations: 12.73 MB / 0.5056 GB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/0.4564, allocations: 194.9 kB / 0.5058 GB, free: 10.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.342, allocations: 0 / 0.5058 GB, free: 10.03 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)