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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 92.03 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.675e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1352, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5964, allocations: 94.45 MB / 0.5583 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5967, allocations: 77.25 kB / 0.5583 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04267/0.6394, allocations: 16.7 MB / 0.5746 GB, free: 2.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6395, allocations: 0 / 0.5746 GB, free: 2.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-05/0.6395, allocations: 16 kB / 0.5747 GB, free: 2.52 MB / 378.7 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.001713/0.6413, allocations: 0.9958 MB / 0.5756 GB, free: 1.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.6413, allocations: 8.031 kB / 0.5756 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.6427, allocations: 230.3 kB / 0.5759 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.644, allocations: 0.5769 MB / 0.5764 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.644, allocations: 28 kB / 0.5764 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6441, allocations: 52 kB / 0.5765 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001502/0.6456, allocations: 0.9682 MB / 0.5774 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.6478, allocations: 1.573 MB / 0.579 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.6478, allocations: 7.938 kB / 0.579 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.6479, allocations: 4 kB / 0.579 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003795/0.6483, allocations: 177.4 kB / 0.5792 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007472/0.6558, allocations: 7.045 MB / 0.586 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.6562, allocations: 143.1 kB / 0.5862 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.6563, allocations: 78 kB / 0.5862 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.6564, allocations: 0 / 0.5862 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6564, allocations: 33 kB / 0.5863 GB, free: 7.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.6564, allocations: 0 / 0.5863 GB, free: 7.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.000527/0.657, allocations: 230.1 kB / 0.5865 GB, free: 7.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.657, allocations: 59.41 kB / 0.5866 GB, free: 7.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.6579, allocations: 0.7111 MB / 0.5872 GB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.6579, allocations: 25.7 kB / 0.5873 GB, free: 6.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.6584, allocations: 0.7077 MB / 0.588 GB, free: 6.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.6585, allocations: 57.56 kB / 0.588 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.6585, allocations: 0 / 0.588 GB, free: 6.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.6587, allocations: 378.3 kB / 0.5884 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.659, allocations: 225.1 kB / 0.5886 GB, free: 5.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.6599, allocations: 0.9394 MB / 0.5895 GB, free: 4.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.6604, allocations: 447.9 kB / 0.5899 GB, free: 4.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.6604, allocations: 11.95 kB / 0.59 GB, free: 4.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001405/0.6619, allocations: 0.9993 MB / 0.5909 GB, free: 3.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.6619, allocations: 16 kB / 0.5909 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.6619, allocations: 28 kB / 0.591 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/0.662, allocations: 36 kB / 0.591 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.6628, allocations: 257.1 kB / 0.5912 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.121e-05/0.6628, allocations: 55.78 kB / 0.5913 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.6636, allocations: 134.5 kB / 0.5914 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.6636, allocations: 65.72 kB / 0.5915 GB, free: 2.871 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0001845/0.6638, allocations: 184.4 kB / 0.5917 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003289/0.6642, allocations: 234.3 kB / 0.5919 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.6643, allocations: 63.16 kB / 0.592 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.6647, allocations: 253.7 kB / 0.5922 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6647, allocations: 4 kB / 0.5922 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6647, allocations: 7.875 kB / 0.5922 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6647, allocations: 0 / 0.5922 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.6655, allocations: 0.528 MB / 0.5927 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6655, allocations: 0 / 0.5927 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.6657, allocations: 35.47 kB / 0.5928 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6657, allocations: 0 / 0.5928 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6657, allocations: 4 kB / 0.5928 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6657, allocations: 8 kB / 0.5928 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6657, allocations: 0 / 0.5928 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.6661, allocations: 336.8 kB / 0.5931 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6662, allocations: 144.1 kB / 0.5932 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.6663, allocations: 0 / 0.5932 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.6665, allocations: 15.92 kB / 0.5932 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.6666, allocations: 19.05 kB / 0.5933 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.6666, allocations: 7.984 kB / 0.5933 GB, free: 1.219 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005177/0.6672, allocations: 496.5 kB / 0.5937 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6672, allocations: 0 / 0.5937 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008721/0.6681, allocations: 211 kB / 0.5939 GB, free: 0.6602 MB / 394.7 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 () * 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.0006762/0.6687, allocations: 0.8707 MB / 0.5948 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.6695, allocations: 0.5168 MB / 0.5953 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6695, allocations: 0 / 0.5953 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.6696, allocations: 90.88 kB / 0.5954 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.67, allocations: 60.06 kB / 0.5954 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.6727, allocations: 1.351 MB / 0.5968 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.6736, allocations: 1.181 MB / 0.5979 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000727/0.6743, allocations: 269.4 kB / 0.5982 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.6747, allocations: 344.7 kB / 0.5985 GB, free: 12.61 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.6747, allocations: 0 / 0.5985 GB, free: 12.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.7122, allocations: 11.67 MB / 0.6099 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.7125, allocations: 138.1 kB / 0.61 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.881, allocations: 0 / 0.61 GB, free: 0.7617 MB / 410.7 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)