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.0008107/0.0008106, allocations: 97.48 kB / 16.02 MB, free: 84 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.0008781/0.0008784, allocations: 185.9 kB / 16.92 MB, free: 6.891 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.284/1.284, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.3238/0.3238, allocations: 43.57 MB / 315 MB, free: 9.074 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.0005379/0.000538, allocations: 12 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 58.85 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2029/0.3136, allocations: 20.34 MB / 463.9 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008007/0.3216, allocations: 4.297 MB / 468.2 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3243, allocations: 80.09 kB / 468.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.3249, allocations: 107.1 kB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008878/0.3258, allocations: 289.6 kB / 468.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.326, allocations: 44.33 kB / 468.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.3269, allocations: 0.9258 MB / 469.6 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.3282, allocations: 0.8883 MB / 470.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.3285, allocations: 233.4 kB / 470.7 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.329, allocations: 374 kB / 471.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.3291, allocations: 28.97 kB / 471.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3293, allocations: 90.7 kB / 471.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.3295, allocations: 346.2 kB / 471.5 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.3298, allocations: 441.5 kB / 472 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.3306, allocations: 1.177 MB / 473.1 MB, free: 34.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3306, allocations: 0 / 473.1 MB, free: 34.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3306, allocations: 0 / 473.1 MB, free: 34.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3306, allocations: 0 / 473.1 MB, free: 34.43 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.001458/0.3321, allocations: 1.03 MB / 474.2 MB, free: 33.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3321, allocations: 13.06 kB / 474.2 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.3323, allocations: 163.6 kB / 474.4 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.3331, allocations: 153.9 kB / 474.5 MB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.3336, allocations: 0.4925 MB / 475 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.3336, allocations: 46 kB / 475 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.3337, allocations: 67.31 kB / 475.1 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.3355, allocations: 1.75 MB / 476.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.3356, allocations: 6.812 kB / 476.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.3356, allocations: 31.84 kB / 476.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006088/0.3363, allocations: 403.2 kB / 477.3 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.3379, allocations: 1.197 MB / 478.5 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.3433, allocations: 6.614 MB / 485.1 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.3437, allocations: 175.4 kB / 485.3 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3439, allocations: 108.2 kB / 485.4 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.344, allocations: 6.203 kB / 485.4 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.344, allocations: 37.84 kB / 485.4 MB, free: 27.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/0.344, allocations: 0 / 485.4 MB, free: 27.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007425/0.3447, allocations: 375.9 kB / 485.8 MB, free: 27.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.3448, allocations: 58.88 kB / 485.8 MB, free: 27.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.3456, allocations: 0.9669 MB / 486.8 MB, free: 26.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3457, allocations: 29.64 kB / 486.8 MB, free: 26.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.346, allocations: 0.691 MB / 487.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.346, allocations: 57.55 kB / 487.6 MB, free: 26.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.3461, allocations: 99.98 kB / 487.7 MB, free: 26.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.3462, allocations: 390.7 kB / 488.1 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.3466, allocations: 268.2 kB / 488.3 MB, free: 25.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.3472, allocations: 0.9564 MB / 489.3 MB, free: 24.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3483, allocations: 1.308 MB / 490.6 MB, free: 23.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.3483, allocations: 9.031 kB / 490.6 MB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001524/0.3498, allocations: 1.181 MB / 491.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.3499, allocations: 15.59 kB / 491.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.3499, allocations: 28.03 kB / 491.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.3499, allocations: 31.34 kB / 491.9 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.3506, allocations: 246.1 kB / 492.1 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.344e-05/0.3506, allocations: 54.23 kB / 492.1 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.3513, allocations: 160 kB / 492.3 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.3514, allocations: 68.41 kB / 492.4 MB, free: 22.76 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.0005212/0.3519, allocations: 471.9 kB / 492.8 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.352, allocations: 80.31 kB / 492.9 MB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.3526, allocations: 323.3 kB / 493.2 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3526, allocations: 6.938 kB / 493.2 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3526, allocations: 0 / 493.2 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3526, allocations: 0 / 493.2 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.3534, allocations: 0.7352 MB / 494 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3535, allocations: 3.938 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3536, allocations: 36.66 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3537, allocations: 1.031 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3537, allocations: 4.109 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3537, allocations: 1.125 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3537, allocations: 3.938 kB / 494 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.3542, allocations: 404.5 kB / 494.4 MB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3544, allocations: 155.4 kB / 494.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.3545, allocations: 6 kB / 494.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3547, allocations: 18.55 kB / 494.6 MB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.3548, allocations: 14.95 kB / 494.6 MB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3548, allocations: 7.125 kB / 494.6 MB, free: 21.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006934/0.3555, allocations: 0.6251 MB / 495.2 MB, free: 21.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3555, allocations: 0 / 495.2 MB, free: 21.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.3564, allocations: 213.5 kB / 495.4 MB, free: 21.27 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.0008001/0.3572, allocations: 0.9447 MB / 496.4 MB, free: 20.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3583, allocations: 0.603 MB / 497 MB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3583, allocations: 0 / 497 MB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.3585, allocations: 116.9 kB / 497.1 MB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.359, allocations: 83.2 kB / 497.2 MB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/0.3685, allocations: 8.481 MB / 0.4938 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.3693, allocations: 1.148 MB / 0.4949 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008075/0.3701, allocations: 278.8 kB / 0.4952 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.3705, allocations: 351 kB / 0.4955 GB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3705, allocations: 0 / 0.4955 GB, free: 13.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3986, allocations: 12.58 MB / 0.5078 GB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.3987, allocations: 194.3 kB / 0.508 GB, free: 9.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.342, allocations: 2.188 kB / 0.508 GB, free: 9.859 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)