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.000831/0.0008311, allocations: 88.19 kB / 15.7 MB, free: 460 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.001022/0.001022, allocations: 175.2 kB / 16.58 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.408/1.408, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3452/0.3452, allocations: 43.55 MB / 314.6 MB, free: 8.766 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.0005204/0.0005205, allocations: 14.97 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 58.87 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2274/0.3357, allocations: 18.96 MB / 461.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3464, allocations: 4.109 MB / 466 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/0.3503, allocations: 74 kB / 466 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.3524, allocations: 0.8159 MB / 466.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005098/0.3575, allocations: 2.281 MB / 469.1 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3578, allocations: 48.5 kB / 469.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.3584, allocations: 0.7482 MB / 469.9 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009758/0.3594, allocations: 0.7968 MB / 470.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.3597, allocations: 249.8 kB / 471 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.3601, allocations: 370.3 kB / 471.3 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.3602, allocations: 25.69 kB / 471.3 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3604, allocations: 71.88 kB / 471.4 MB, free: 34.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3606, allocations: 338.3 kB / 471.7 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3607, allocations: 197 kB / 471.9 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.3614, allocations: 0.955 MB / 472.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3614, allocations: 6.969 kB / 472.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3614, allocations: 3.047 kB / 472.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3614, allocations: 0.75 kB / 472.9 MB, free: 34.39 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.001259/0.3627, allocations: 1.034 MB / 473.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3627, allocations: 10.53 kB / 473.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.3629, allocations: 165.4 kB / 474.1 MB, free: 33.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006555/0.3635, allocations: 155.3 kB / 474.3 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.364, allocations: 486.9 kB / 474.7 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.3641, allocations: 46.55 kB / 474.8 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.3641, allocations: 60.17 kB / 474.8 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3657, allocations: 1.748 MB / 476.6 MB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3658, allocations: 7.094 kB / 476.6 MB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.3658, allocations: 36.19 kB / 476.6 MB, free: 32.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005348/0.3664, allocations: 400.5 kB / 477 MB, free: 32.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3679, allocations: 1.195 MB / 478.2 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.3724, allocations: 6.61 MB / 484.8 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3728, allocations: 175.4 kB / 485 MB, free: 27.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.373, allocations: 101.6 kB / 485.1 MB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.373, allocations: 14.03 kB / 485.1 MB, free: 27.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.373, allocations: 31.25 kB / 485.1 MB, free: 27.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.373, allocations: 0 / 485.1 MB, free: 27.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007119/0.3738, allocations: 380.7 kB / 485.5 MB, free: 27.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3738, allocations: 59.28 kB / 485.6 MB, free: 27.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/0.3747, allocations: 0.9582 MB / 486.5 MB, free: 27.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3747, allocations: 29.7 kB / 486.6 MB, free: 26.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.375, allocations: 0.69 MB / 487.2 MB, free: 26.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3751, allocations: 61.33 kB / 487.3 MB, free: 26.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.3751, allocations: 22.72 kB / 487.3 MB, free: 26.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3752, allocations: 390.2 kB / 487.7 MB, free: 26.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3756, allocations: 260.4 kB / 488 MB, free: 25.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.3761, allocations: 0.9501 MB / 488.9 MB, free: 24.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.3767, allocations: 470.1 kB / 489.4 MB, free: 24.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.3767, allocations: 8.562 kB / 489.4 MB, free: 24.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001396/0.3781, allocations: 1.172 MB / 490.6 MB, free: 24.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3781, allocations: 14.84 kB / 490.6 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.3782, allocations: 24.22 kB / 490.6 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.3782, allocations: 36.38 kB / 490.6 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.3788, allocations: 253.6 kB / 490.9 MB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/0.3789, allocations: 48.22 kB / 490.9 MB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.3794, allocations: 168.2 kB / 491.1 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.3795, allocations: 62.59 kB / 491.1 MB, free: 24.12 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.0004274/0.3799, allocations: 479.7 kB / 491.6 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.38, allocations: 72.22 kB / 491.7 MB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.3806, allocations: 330.2 kB / 492 MB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3806, allocations: 0.75 kB / 492 MB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3806, allocations: 2.969 kB / 492 MB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3806, allocations: 4.562 kB / 492 MB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.3816, allocations: 0.7409 MB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3816, allocations: 0 / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3818, allocations: 34.62 kB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3818, allocations: 1.344 kB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3819, allocations: 2.469 kB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3819, allocations: 5.281 kB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3819, allocations: 0.6562 kB / 492.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.3824, allocations: 396.4 kB / 493.2 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3826, allocations: 154.9 kB / 493.3 MB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.3826, allocations: 9.812 kB / 493.4 MB, free: 22.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3829, allocations: 17.77 kB / 493.4 MB, free: 22.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.383, allocations: 14.06 kB / 493.4 MB, free: 22.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.383, allocations: 8.625 kB / 493.4 MB, free: 22.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000751/0.3837, allocations: 0.6172 MB / 494 MB, free: 22.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3837, allocations: 0 / 494 MB, free: 22.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008107/0.3846, allocations: 219.1 kB / 494.2 MB, free: 22.61 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.0007228/0.3853, allocations: 0.9443 MB / 495.2 MB, free: 21.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.3863, allocations: 0.6008 MB / 495.8 MB, free: 21.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3863, allocations: 0 / 495.8 MB, free: 21.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3865, allocations: 116.6 kB / 495.9 MB, free: 21.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.387, allocations: 82.75 kB / 496 MB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.3942, allocations: 5.383 MB / 0.4896 GB, free: 18.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.3949, allocations: 1.155 MB / 0.4907 GB, free: 17.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007448/0.3957, allocations: 274.1 kB / 0.491 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.3961, allocations: 351.8 kB / 0.4913 GB, free: 17.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3961, allocations: 0 / 0.4913 GB, free: 17.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.4269, allocations: 13.61 MB / 0.5046 GB, free: 12.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.4271, allocations: 184.4 kB / 0.5048 GB, free: 12.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.393, allocations: 0 / 0.5048 GB, free: 12.72 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/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: