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.001514/0.00152, allocations: 98.36 kB / 16.26 MB, free: 5.93 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.001668/0.001668, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.513/1.513, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2155/0.2155, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001619/0.001619, allocations: 70.45 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09141, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006436/0.09789, allocations: 7.048 MB / 447.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.1019, allocations: 2.037 MB / 449.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.1023, allocations: 31.94 kB / 449.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1037, allocations: 0.6267 MB / 450.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.1043, allocations: 310.3 kB / 450.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1045, allocations: 47.88 kB / 450.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.1051, allocations: 0.6146 MB / 451.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.1058, allocations: 0.5968 MB / 451.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.1061, allocations: 298.8 kB / 452.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.1066, allocations: 398.5 kB / 452.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.1067, allocations: 56 kB / 452.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.107, allocations: 111.9 kB / 452.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.1073, allocations: 374.9 kB / 453.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.1077, allocations: 461.1 kB / 453.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1087, allocations: 1.218 MB / 454.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1087, allocations: 0 / 454.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1087, allocations: 4 kB / 454.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1087, allocations: 0 / 454.8 MB, free: 8.547 MB / 334.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.001755/0.1105, allocations: 1.2 MB / 456 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1106, allocations: 11.89 kB / 456 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.1107, allocations: 161.7 kB / 456.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.1116, allocations: 163.3 kB / 456.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.1122, allocations: 0.4895 MB / 456.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1123, allocations: 45.66 kB / 456.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.1124, allocations: 67.89 kB / 456.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.1144, allocations: 1.743 MB / 458.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1145, allocations: 7.938 kB / 458.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.1146, allocations: 31.97 kB / 458.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006975/0.1153, allocations: 405.1 kB / 459.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.1171, allocations: 1.193 MB / 460.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/0.1235, allocations: 6.591 MB / 466.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.1239, allocations: 170.5 kB / 467.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1242, allocations: 96.72 kB / 467.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1242, allocations: 12 kB / 467.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1242, allocations: 34.55 kB / 467.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.365e-06/0.1242, allocations: 0 / 467.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008441/0.1251, allocations: 356.6 kB / 467.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1251, allocations: 63.34 kB / 467.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1262, allocations: 0.9615 MB / 468.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1262, allocations: 25.7 kB / 468.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.1266, allocations: 0.6902 MB / 469.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.1267, allocations: 59.38 kB / 469.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1269, allocations: 222.2 kB / 469.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1271, allocations: 390.8 kB / 469.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.1275, allocations: 265.8 kB / 470.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/0.1283, allocations: 0.9448 MB / 471.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.1298, allocations: 1.305 MB / 472.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1298, allocations: 8 kB / 472.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001809/0.1316, allocations: 1.161 MB / 473.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.1316, allocations: 16 kB / 473.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.1317, allocations: 27.98 kB / 473.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-05/0.1317, allocations: 32 kB / 473.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.1325, allocations: 255.5 kB / 474 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/0.1326, allocations: 51.78 kB / 474 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.1333, allocations: 154.4 kB / 474.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.1333, allocations: 64 kB / 474.2 MB, free: 3.859 MB / 350.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.0005504/0.1339, allocations: 471.5 kB / 474.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.134, allocations: 82.94 kB / 474.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.1347, allocations: 312.3 kB / 475.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1347, allocations: 0 / 475.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1347, allocations: 3.938 kB / 475.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1347, allocations: 3.984 kB / 475.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.1356, allocations: 0.7354 MB / 475.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1356, allocations: 0 / 475.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1358, allocations: 35.97 kB / 475.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1358, allocations: 0 / 475.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1358, allocations: 7.984 kB / 475.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1359, allocations: 4 kB / 475.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1359, allocations: 3.938 kB / 475.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.1365, allocations: 390.2 kB / 476.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1367, allocations: 140.2 kB / 476.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.1367, allocations: 4 kB / 476.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.137, allocations: 19.98 kB / 476.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1371, allocations: 11.97 kB / 476.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1371, allocations: 4 kB / 476.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007509/0.1379, allocations: 0.6239 MB / 477 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1379, allocations: 4 kB / 477 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008247/0.1387, allocations: 223.1 kB / 477.3 MB, free: 0.7148 MB / 350.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.0008569/0.1396, allocations: 0.9184 MB / 478.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.1406, allocations: 0.6149 MB / 478.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1407, allocations: 0 / 478.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.1409, allocations: 107.8 kB / 478.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.1414, allocations: 88.83 kB / 479 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/0.1506, allocations: 8.054 MB / 487 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.1514, allocations: 1.148 MB / 488.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000693/0.1521, allocations: 282 kB / 488.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.1525, allocations: 351.3 kB / 488.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1525, allocations: 0 / 488.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.1838, allocations: 13.13 MB / 0.4902 GB, free: 7.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/9.558, allocations: 3.938 kB / 0.4902 GB, free: 7.211 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/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)