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.001067/0.001067, allocations: 96.28 kB / 15.69 MB, free: 480 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.001218/0.001218, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.678/1.678, allocations: 205.4 MB / 222.7 MB, free: 5.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.4208/0.4208, allocations: 43.55 MB / 314.5 MB, free: 8.84 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.0005558/0.0005559, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2673/0.4115, allocations: 17.99 MB / 460.8 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.4224, allocations: 4.281 MB / 465.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.4264, allocations: 76.72 kB / 465.2 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.4292, allocations: 0.8569 MB / 466 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009365/0.4386, allocations: 2.566 MB / 468.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.4396, allocations: 52.69 kB / 468.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.4405, allocations: 405.5 kB / 469.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.4417, allocations: 0.7858 MB / 469.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.442, allocations: 197.8 kB / 470 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.4424, allocations: 272.1 kB / 470.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.4425, allocations: 32.53 kB / 470.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.4427, allocations: 65.12 kB / 470.4 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.443, allocations: 309.6 kB / 470.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.4432, allocations: 196.1 kB / 470.9 MB, free: 34.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.444, allocations: 0.9568 MB / 471.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.444, allocations: 0 / 471.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.444, allocations: 0 / 471.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.444, allocations: 0 / 471.8 MB, free: 34.84 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.001554/0.4456, allocations: 1.046 MB / 472.9 MB, free: 34.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4457, allocations: 8.906 kB / 472.9 MB, free: 34.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.4458, allocations: 167.8 kB / 473.1 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.4467, allocations: 163.8 kB / 473.2 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.4474, allocations: 488.1 kB / 473.7 MB, free: 33.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.4474, allocations: 51.81 kB / 473.8 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4476, allocations: 61.53 kB / 473.8 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.4497, allocations: 1.737 MB / 475.6 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.4497, allocations: 10.66 kB / 475.6 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.4498, allocations: 30.12 kB / 475.6 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007023/0.4505, allocations: 402.9 kB / 476 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.4524, allocations: 1.19 MB / 477.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/0.4583, allocations: 6.609 MB / 483.8 MB, free: 28.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.4587, allocations: 183.3 kB / 484 MB, free: 27.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.4588, allocations: 6.578 kB / 484 MB, free: 27.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.4588, allocations: 30.56 kB / 484 MB, free: 27.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.4588, allocations: 3.312 kB / 484 MB, free: 27.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008172/0.4596, allocations: 379.8 kB / 484.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4597, allocations: 54.75 kB / 484.4 MB, free: 27.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4608, allocations: 0.9596 MB / 485.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4609, allocations: 25.7 kB / 485.4 MB, free: 27.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.4613, allocations: 0.6977 MB / 486.1 MB, free: 26.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.4613, allocations: 60.31 kB / 486.2 MB, free: 26.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.4613, allocations: 18.91 kB / 486.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4615, allocations: 389.2 kB / 486.6 MB, free: 26.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.4619, allocations: 260.8 kB / 486.8 MB, free: 26.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/0.4626, allocations: 0.9505 MB / 487.8 MB, free: 25.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.4632, allocations: 468 kB / 488.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4632, allocations: 13.72 kB / 488.2 MB, free: 25.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001549/0.4648, allocations: 1.168 MB / 489.4 MB, free: 24.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4648, allocations: 14.91 kB / 489.4 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.4648, allocations: 26.16 kB / 489.5 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.687e-05/0.4649, allocations: 35.88 kB / 489.5 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.4656, allocations: 251.5 kB / 489.7 MB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-05/0.4656, allocations: 51.89 kB / 489.8 MB, free: 24.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.4664, allocations: 166.1 kB / 489.9 MB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.4665, allocations: 62.62 kB / 490 MB, free: 24.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006183/0.4671, allocations: 481 kB / 490.5 MB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.4672, allocations: 69.03 kB / 490.5 MB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.4678, allocations: 327.7 kB / 490.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4678, allocations: 3.156 kB / 490.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4678, allocations: 4.5 kB / 490.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4679, allocations: 0.7031 kB / 490.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.4688, allocations: 0.7392 MB / 491.6 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4688, allocations: 6.078 kB / 491.6 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4689, allocations: 32.16 kB / 491.6 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.469, allocations: 7.875 kB / 491.7 MB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.469, allocations: 10.36 kB / 491.7 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.469, allocations: 0 / 491.7 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.469, allocations: 0 / 491.7 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.4696, allocations: 390 kB / 492 MB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4697, allocations: 161.6 kB / 492.2 MB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.4698, allocations: 1.031 kB / 492.2 MB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.4701, allocations: 17.2 kB / 492.2 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4702, allocations: 13.81 kB / 492.2 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4702, allocations: 6.312 kB / 492.2 MB, free: 23.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008607/0.471, allocations: 0.6143 MB / 492.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4711, allocations: 3.938 kB / 492.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4721, allocations: 219.9 kB / 493.1 MB, free: 22.92 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 (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.0009003/0.4731, allocations: 0.9376 MB / 494 MB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4747, allocations: 0.6071 MB / 494.6 MB, free: 21.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4747, allocations: 1.375 kB / 494.6 MB, free: 21.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.4751, allocations: 115.3 kB / 494.7 MB, free: 21.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.4756, allocations: 75.38 kB / 494.8 MB, free: 21.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.4917, allocations: 22.39 MB / 0.5051 GB, free: 17.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.4929, allocations: 1.171 MB / 0.5062 GB, free: 16.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009351/0.4939, allocations: 283.3 kB / 0.5065 GB, free: 16.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.4943, allocations: 354.7 kB / 0.5068 GB, free: 16.47 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4943, allocations: 0 / 0.5068 GB, free: 16.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.5318, allocations: 13.58 MB / 0.5201 GB, free: 12.48 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.532, allocations: 174.2 kB / 0.5203 GB, free: 12.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.545, allocations: 4 kB / 0.5203 GB, free: 12.23 MB / 398.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/linux/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) Environment - environmentSimulation: