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.001593/0.001593, allocations: 104.8 kB / 16.4 MB, free: 6.473 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.00176/0.00176, allocations: 193.5 kB / 17.34 MB, free: 5.754 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.328/1.328, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1943/0.1943, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001621/0.001621, allocations: 75.84 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1068, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008373/0.1152, allocations: 7.051 MB / 0.4943 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1194, allocations: 2.033 MB / 0.4963 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.1204, allocations: 31.94 kB / 0.4963 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.122, allocations: 0.6345 MB / 0.4969 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1231, allocations: 314.3 kB / 0.4972 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1234, allocations: 47.81 kB / 0.4973 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009566/0.1244, allocations: 0.6146 MB / 0.4979 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.1252, allocations: 0.5813 MB / 0.4984 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.1258, allocations: 298.7 kB / 0.4987 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.1265, allocations: 398.5 kB / 0.4991 GB, free: 300 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.1267, allocations: 60 kB / 0.4991 GB, free: 240 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.127, allocations: 111.9 kB / 0.4992 GB, free: 128 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.1274, allocations: 379 kB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.1278, allocations: 461.1 kB / 0.5 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.129, allocations: 1.28 MB / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.129, allocations: 0 / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.129, allocations: 0 / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1291, allocations: 0 / 0.5013 GB, free: 14.02 MB / 398.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.001799/0.1309, allocations: 1.196 MB / 0.5025 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1309, allocations: 15.88 kB / 0.5025 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.1311, allocations: 161.7 kB / 0.5026 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.1318, allocations: 159.4 kB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.1325, allocations: 0.4894 MB / 0.5033 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.1326, allocations: 49.66 kB / 0.5033 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.1326, allocations: 63.91 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.1345, allocations: 1.747 MB / 0.5051 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1346, allocations: 4 kB / 0.5051 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.1346, allocations: 35.91 kB / 0.5051 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006635/0.1353, allocations: 393.2 kB / 0.5055 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.137, allocations: 1.199 MB / 0.5067 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.1428, allocations: 6.556 MB / 0.5131 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.1432, allocations: 170.5 kB / 0.5132 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1434, allocations: 100.7 kB / 0.5133 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1435, allocations: 7.984 kB / 0.5133 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1435, allocations: 42.48 kB / 0.5134 GB, free: 1.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1435, allocations: 0 / 0.5134 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008023/0.1443, allocations: 360.6 kB / 0.5137 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1444, allocations: 59.34 kB / 0.5138 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009964/0.1454, allocations: 0.9576 MB / 0.5147 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1454, allocations: 29.7 kB / 0.5147 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.1458, allocations: 0.6902 MB / 0.5154 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.1459, allocations: 55.44 kB / 0.5155 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.1461, allocations: 230.2 kB / 0.5157 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1463, allocations: 390.8 kB / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.1467, allocations: 261.8 kB / 0.5163 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.1475, allocations: 0.9527 MB / 0.5172 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.1488, allocations: 1.286 MB / 0.5185 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.1489, allocations: 8 kB / 0.5185 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001739/0.1506, allocations: 1.172 MB / 0.5196 GB, free: 9.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.1506, allocations: 16 kB / 0.5197 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.1507, allocations: 28 kB / 0.5197 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.1507, allocations: 32.78 kB / 0.5197 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.1514, allocations: 255.5 kB / 0.52 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/0.1515, allocations: 47.8 kB / 0.52 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.1521, allocations: 158.4 kB / 0.5202 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.1522, allocations: 64 kB / 0.5202 GB, free: 9.352 MB / 414.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.0004555/0.1527, allocations: 471.3 kB / 0.5207 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.1528, allocations: 79 kB / 0.5207 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.1534, allocations: 316.3 kB / 0.521 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1534, allocations: 0 / 0.521 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1534, allocations: 0 / 0.521 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1534, allocations: 0 / 0.521 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.1542, allocations: 0.7393 MB / 0.5218 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1542, allocations: 4 kB / 0.5218 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.1544, allocations: 35.91 kB / 0.5218 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1544, allocations: 3.938 kB / 0.5218 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1544, allocations: 11.98 kB / 0.5218 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1544, allocations: 0 / 0.5218 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1544, allocations: 0 / 0.5218 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.155, allocations: 378.4 kB / 0.5222 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.1552, allocations: 152.1 kB / 0.5223 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.1553, allocations: 4 kB / 0.5223 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.1555, allocations: 11.98 kB / 0.5223 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1556, allocations: 15.97 kB / 0.5224 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1556, allocations: 4 kB / 0.5224 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006791/0.1563, allocations: 0.6239 MB / 0.523 GB, free: 6.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1563, allocations: 7.938 kB / 0.523 GB, free: 6.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007688/0.1571, allocations: 219.2 kB / 0.5232 GB, free: 6.211 MB / 414.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.0008244/0.1579, allocations: 0.9262 MB / 0.5241 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.1589, allocations: 0.5948 MB / 0.5247 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1589, allocations: 0 / 0.5247 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1591, allocations: 103.8 kB / 0.5248 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.1596, allocations: 98.34 kB / 0.5249 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.3524, allocations: 7.736 MB / 0.5324 GB, free: 38.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3531, allocations: 1.149 MB / 0.5335 GB, free: 37.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.3537, allocations: 277.4 kB / 0.5338 GB, free: 37.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.3541, allocations: 350.8 kB / 0.5341 GB, free: 37.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3541, allocations: 1.125 kB / 0.5341 GB, free: 37.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.3949, allocations: 13.56 MB / 0.5474 GB, free: 34.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/9.671, allocations: 9.375 kB / 0.5474 GB, free: 34.09 MB / 414.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)