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.00111/0.001109, allocations: 106 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 194.7 kB / 16.9 MB, free: 6.184 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.434/1.434, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.3323/0.3323, allocations: 43.49 MB / 313.6 MB, free: 8.285 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.001553/0.001553, allocations: 67.89 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1098, allocations: 57.79 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2363/0.3462, allocations: 21.04 MB / 461.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009326/0.3555, allocations: 4.305 MB / 465.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.3599, allocations: 79.62 kB / 465.5 MB, free: 37.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3613, allocations: 0.6024 MB / 466.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.3621, allocations: 284.5 kB / 466.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3623, allocations: 45.94 kB / 466.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.3628, allocations: 0.6156 MB / 467.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.3635, allocations: 0.6105 MB / 467.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.3638, allocations: 299.8 kB / 468 MB, free: 36.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.3643, allocations: 434.5 kB / 468.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.3644, allocations: 63.16 kB / 468.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.3646, allocations: 114.4 kB / 468.6 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.3649, allocations: 387.9 kB / 468.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3652, allocations: 461.3 kB / 469.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.366, allocations: 1.235 MB / 470.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.366, allocations: 0 / 470.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.366, allocations: 0 / 470.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.366, allocations: 3.938 kB / 470.6 MB, free: 35.3 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.001378/0.3674, allocations: 1.19 MB / 471.8 MB, free: 34.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3674, allocations: 13.42 kB / 471.8 MB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.3676, allocations: 160.3 kB / 472 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.3683, allocations: 155.9 kB / 472.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.3688, allocations: 0.4973 MB / 472.6 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3688, allocations: 45.47 kB / 472.7 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3689, allocations: 61.34 kB / 472.8 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.3705, allocations: 1.737 MB / 474.5 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3705, allocations: 10.34 kB / 474.5 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.3706, allocations: 33.06 kB / 474.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005805/0.3712, allocations: 406 kB / 474.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.3726, allocations: 1.194 MB / 476.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.3771, allocations: 6.597 MB / 482.7 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.3775, allocations: 180.3 kB / 482.9 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3777, allocations: 94.09 kB / 483 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3777, allocations: 11.36 kB / 483 MB, free: 27.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3777, allocations: 37.81 kB / 483 MB, free: 27.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.3778, allocations: 0 / 483 MB, free: 27.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007138/0.3785, allocations: 354.5 kB / 483.4 MB, free: 27.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3785, allocations: 58.81 kB / 483.4 MB, free: 27.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.3793, allocations: 0.9666 MB / 484.4 MB, free: 26.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3794, allocations: 25.7 kB / 484.4 MB, free: 26.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3796, allocations: 0.6937 MB / 485.1 MB, free: 26.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3797, allocations: 58.92 kB / 485.2 MB, free: 26.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3799, allocations: 220.1 kB / 485.4 MB, free: 26.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.38, allocations: 389.1 kB / 485.8 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.3803, allocations: 264.4 kB / 486 MB, free: 25.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.3809, allocations: 0.9456 MB / 487 MB, free: 24.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.3819, allocations: 1.297 MB / 488.3 MB, free: 23.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3819, allocations: 9.031 kB / 488.3 MB, free: 23.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001463/0.3834, allocations: 1.169 MB / 489.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3834, allocations: 15.16 kB / 489.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.3834, allocations: 28.78 kB / 489.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/0.3835, allocations: 33.16 kB / 489.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.3841, allocations: 245.7 kB / 489.8 MB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/0.3841, allocations: 53.52 kB / 489.8 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.3848, allocations: 155.8 kB / 490 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.3849, allocations: 65 kB / 490 MB, free: 22.74 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.0004567/0.3853, allocations: 482.4 kB / 490.5 MB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.3854, allocations: 76.22 kB / 490.6 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.386, allocations: 315.6 kB / 490.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.386, allocations: 3.125 kB / 490.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3861, allocations: 0 / 490.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3861, allocations: 0 / 490.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.3869, allocations: 0.7301 MB / 491.6 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3869, allocations: 3.938 kB / 491.6 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.3871, allocations: 36.67 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3871, allocations: 1.094 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3871, allocations: 8.109 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3871, allocations: 0.5938 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.3871, allocations: 1.25 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.3877, allocations: 389.1 kB / 492.1 MB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3879, allocations: 151.9 kB / 492.2 MB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.3879, allocations: 5.625 kB / 492.2 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3882, allocations: 17.88 kB / 492.2 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3883, allocations: 12.56 kB / 492.2 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3883, allocations: 7.359 kB / 492.2 MB, free: 21.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008033/0.3891, allocations: 0.6209 MB / 492.9 MB, free: 21.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3891, allocations: 0 / 492.9 MB, free: 21.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3901, allocations: 217.2 kB / 493.1 MB, free: 21.23 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.0008687/0.391, allocations: 0.9313 MB / 494 MB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3922, allocations: 0.6037 MB / 494.6 MB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3923, allocations: 4.062 kB / 494.6 MB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3925, allocations: 110.5 kB / 494.7 MB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.3931, allocations: 82.27 kB / 494.8 MB, free: 20.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.4045, allocations: 8.406 MB / 0.4914 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/0.4054, allocations: 1.156 MB / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009435/0.4063, allocations: 274.9 kB / 0.4928 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.4067, allocations: 350.1 kB / 0.4931 GB, free: 13.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4067, allocations: 0 / 0.4931 GB, free: 13.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.4421, allocations: 12.95 MB / 0.5058 GB, free: 10.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.4423, allocations: 197.6 kB / 0.506 GB, free: 9.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.482, allocations: 0 / 0.506 GB, free: 9.965 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)