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.001769/0.001769, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 92.41 kB / 267.1 MB, free: 9.281 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.4389/0.4389, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.459e-05, allocations: 0 / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 58.85 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5791, allocations: 95.1 MB / 0.5658 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5795, allocations: 81.89 kB / 0.5658 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04164/0.6211, allocations: 17.03 MB / 0.5825 GB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6212, allocations: 4 kB / 0.5825 GB, free: 11.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.6213, allocations: 16 kB / 0.5825 GB, free: 11.83 MB / 410.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.002278/0.6235, allocations: 0.9995 MB / 0.5835 GB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.6236, allocations: 8.031 kB / 0.5835 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005436/0.6242, allocations: 180.2 kB / 0.5837 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.6259, allocations: 230.3 kB / 0.5839 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6274, allocations: 0.5688 MB / 0.5844 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.6275, allocations: 69.09 kB / 0.5845 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.6277, allocations: 83.36 kB / 0.5846 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.6305, allocations: 1.699 MB / 0.5862 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.6305, allocations: 9.25 kB / 0.5862 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6307, allocations: 44.34 kB / 0.5863 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000399/0.6311, allocations: 178.4 kB / 0.5865 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.633, allocations: 1.126 MB / 0.5876 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008434/0.6414, allocations: 7.535 MB / 0.5949 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.6418, allocations: 147.1 kB / 0.5951 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.6419, allocations: 84.03 kB / 0.5951 GB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.642, allocations: 3.984 kB / 0.5951 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.642, allocations: 37.06 kB / 0.5952 GB, free: 328 kB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.346e-06/0.642, allocations: 3.984 kB / 0.5952 GB, free: 324 kB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005276/0.6426, allocations: 246.8 kB / 0.5954 GB, free: 112 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6426, allocations: 59.34 kB / 0.5955 GB, free: 40 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.6438, allocations: 0.8492 MB / 0.5963 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.6439, allocations: 29.58 kB / 0.5963 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/0.6444, allocations: 0.6863 MB / 0.597 GB, free: 14.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.6445, allocations: 55.94 kB / 0.5971 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.6445, allocations: 22.25 kB / 0.5971 GB, free: 14.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6447, allocations: 394.1 kB / 0.5974 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.6451, allocations: 235.4 kB / 0.5977 GB, free: 14.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.6458, allocations: 0.9178 MB / 0.5986 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.6464, allocations: 444.6 kB / 0.599 GB, free: 12.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.6465, allocations: 8 kB / 0.599 GB, free: 12.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001735/0.6482, allocations: 1.111 MB / 0.6001 GB, free: 11.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.6483, allocations: 16 kB / 0.6001 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.6483, allocations: 31.94 kB / 0.6001 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.979e-05/0.6484, allocations: 36 kB / 0.6002 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.6492, allocations: 250.1 kB / 0.6004 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.657e-05/0.6493, allocations: 51.78 kB / 0.6005 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.6502, allocations: 164.2 kB / 0.6006 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.6503, allocations: 63.69 kB / 0.6007 GB, free: 11.21 MB / 426.7 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 () * 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.0002167/0.6505, allocations: 197 kB / 0.6009 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6507, allocations: 75.05 kB / 0.6009 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/0.6513, allocations: 283.3 kB / 0.6012 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6513, allocations: 4 kB / 0.6012 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.6513, allocations: 0 / 0.6012 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6513, allocations: 0 / 0.6012 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.6524, allocations: 0.7373 MB / 0.6019 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6524, allocations: 0 / 0.6019 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6526, allocations: 31.97 kB / 0.602 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6526, allocations: 4 kB / 0.602 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6527, allocations: 7.312 kB / 0.602 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6527, allocations: 3.938 kB / 0.602 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6527, allocations: 0 / 0.602 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.6531, allocations: 355.6 kB / 0.6023 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.6534, allocations: 147.3 kB / 0.6024 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.6534, allocations: 7.562 kB / 0.6025 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.6537, allocations: 15.98 kB / 0.6025 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.6538, allocations: 19.34 kB / 0.6025 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.6538, allocations: 0 / 0.6025 GB, free: 9.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008047/0.6546, allocations: 0.6092 MB / 0.6031 GB, free: 9.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6546, allocations: 0 / 0.6031 GB, free: 9.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009193/0.6556, allocations: 226.9 kB / 0.6033 GB, free: 8.902 MB / 426.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.0008179/0.6564, allocations: 0.8942 MB / 0.6042 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.6573, allocations: 0.5582 MB / 0.6047 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6573, allocations: 0 / 0.6047 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.6574, allocations: 86.02 kB / 0.6048 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.6578, allocations: 90.2 kB / 0.6049 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.6608, allocations: 1.38 MB / 0.6062 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.6616, allocations: 1.173 MB / 0.6074 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006796/0.6623, allocations: 278 kB / 0.6076 GB, free: 4.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.6627, allocations: 349.9 kB / 0.608 GB, free: 4.781 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6627, allocations: 0 / 0.608 GB, free: 4.781 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.6934, allocations: 13.55 MB / 0.6212 GB, free: 7.297 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.6937, allocations: 161.7 kB / 0.6214 GB, free: 7.059 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.079, allocations: 0 / 0.6214 GB, free: 7.059 MB / 442.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)