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.001357/0.001362, allocations: 103.2 kB / 16.41 MB, free: 6.488 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.001344/0.001344, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.275/1.275, 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.1903/0.1903, allocations: 43.52 MB / 314.1 MB, free: 468 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.001391/0.001392, allocations: 67.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007546/0.1076, allocations: 7.044 MB / 0.4943 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1114, allocations: 2.045 MB / 0.4963 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.1122, allocations: 28 kB / 0.4963 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.1136, allocations: 0.6306 MB / 0.4969 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008156/0.1145, allocations: 314.3 kB / 0.4972 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1148, allocations: 43.83 kB / 0.4972 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007956/0.1156, allocations: 0.6224 MB / 0.4979 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007789/0.1164, allocations: 0.5852 MB / 0.4984 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.1168, allocations: 298.7 kB / 0.4987 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.1175, allocations: 398.5 kB / 0.4991 GB, free: 288 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.1176, allocations: 60 kB / 0.4991 GB, free: 228 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.1179, allocations: 107.9 kB / 0.4993 GB, free: 120 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.1183, allocations: 371 kB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.1189, allocations: 465.1 kB / 0.5 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1201, allocations: 1.273 MB / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1201, allocations: 4 kB / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1201, allocations: 0 / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.134e-05/0.1202, 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.002141/0.1223, allocations: 1.204 MB / 0.5025 GB, free: 12.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1224, allocations: 11.89 kB / 0.5025 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/0.1226, allocations: 165.7 kB / 0.5026 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.1234, allocations: 155.4 kB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.1241, allocations: 0.4973 MB / 0.5033 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.1242, allocations: 45.66 kB / 0.5033 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.1243, allocations: 59.91 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.1264, allocations: 1.747 MB / 0.5051 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1264, allocations: 3.938 kB / 0.5051 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.1265, allocations: 27.97 kB / 0.5051 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000675/0.1271, allocations: 413.1 kB / 0.5055 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.1292, allocations: 1.188 MB / 0.5067 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/0.1356, allocations: 6.564 MB / 0.5131 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.136, allocations: 166.5 kB / 0.5132 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1362, allocations: 104.7 kB / 0.5133 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1363, allocations: 4 kB / 0.5133 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1363, allocations: 34.5 kB / 0.5134 GB, free: 1.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.1363, allocations: 0 / 0.5134 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007938/0.1371, allocations: 364.6 kB / 0.5137 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1371, allocations: 55.41 kB / 0.5138 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1382, allocations: 0.9655 MB / 0.5147 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1382, allocations: 25.7 kB / 0.5147 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.1386, allocations: 0.694 MB / 0.5154 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1387, allocations: 55.44 kB / 0.5155 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.1389, allocations: 222.2 kB / 0.5157 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1391, allocations: 390.8 kB / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.1395, allocations: 261.8 kB / 0.5163 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/0.1403, allocations: 0.9527 MB / 0.5172 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1416, allocations: 1.301 MB / 0.5185 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.1416, allocations: 8 kB / 0.5185 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001766/0.1434, allocations: 1.173 MB / 0.5197 GB, free: 9.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1434, allocations: 16 kB / 0.5197 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.1435, allocations: 24 kB / 0.5197 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/0.1435, allocations: 32 kB / 0.5197 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.1442, allocations: 247.5 kB / 0.52 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-05/0.1443, allocations: 51.83 kB / 0.52 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.145, allocations: 150.4 kB / 0.5202 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.145, allocations: 64.22 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.0004882/0.1455, allocations: 479.3 kB / 0.5207 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.1456, allocations: 75 kB / 0.5207 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.1463, allocations: 320.2 kB / 0.5211 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1463, allocations: 3.984 kB / 0.5211 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1463, allocations: 0 / 0.5211 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1463, allocations: 0 / 0.5211 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.1471, allocations: 0.7354 MB / 0.5218 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1472, allocations: 3.984 kB / 0.5218 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1474, allocations: 35.91 kB / 0.5218 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1474, allocations: 0 / 0.5218 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1474, allocations: 0 / 0.5218 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1474, allocations: 8 kB / 0.5218 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1474, allocations: 3.938 kB / 0.5218 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.148, allocations: 382.3 kB / 0.5222 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1481, allocations: 148.1 kB / 0.5223 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.1482, allocations: 4 kB / 0.5223 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1485, allocations: 19.97 kB / 0.5224 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.1485, allocations: 11.98 kB / 0.5224 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1486, allocations: 8 kB / 0.5224 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006955/0.1493, allocations: 0.6239 MB / 0.523 GB, free: 6.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1493, allocations: 0 / 0.523 GB, free: 6.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000832/0.1501, allocations: 219.2 kB / 0.5232 GB, free: 6.207 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.0008401/0.151, allocations: 0.9301 MB / 0.5241 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.1519, allocations: 0.5916 MB / 0.5247 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.152, allocations: 0 / 0.5247 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.1522, allocations: 107.9 kB / 0.5248 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.1527, allocations: 82.56 kB / 0.5249 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1862/0.3389, allocations: 7.74 MB / 0.5324 GB, free: 38.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.3396, allocations: 1.153 MB / 0.5335 GB, free: 37.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006654/0.3403, allocations: 279.8 kB / 0.5338 GB, free: 37.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.3406, allocations: 348.8 kB / 0.5341 GB, free: 37.59 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3407, allocations: 0 / 0.5341 GB, free: 37.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.3834, allocations: 13.56 MB / 0.5474 GB, free: 34.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.004/9.388, allocations: 11.34 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)