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.001269/0.001274, allocations: 106.1 kB / 16.41 MB, free: 6.496 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.001299/0.001299, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.241/1.241, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1941/0.1941, allocations: 43.53 MB / 314.1 MB, free: 472 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.001375/0.001375, allocations: 67.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09509, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00713/0.1023, allocations: 7.059 MB / 0.4943 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.106, allocations: 2.037 MB / 0.4963 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/0.1066, allocations: 28 kB / 0.4963 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.108, allocations: 0.6345 MB / 0.4969 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.1087, allocations: 322.3 kB / 0.4972 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1089, allocations: 47.88 kB / 0.4973 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.1097, allocations: 0.6107 MB / 0.4979 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.1105, allocations: 0.5853 MB / 0.4984 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.111, allocations: 298.7 kB / 0.4987 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.1116, allocations: 394.5 kB / 0.4991 GB, free: 284 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1117, allocations: 60 kB / 0.4992 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.112, allocations: 111.8 kB / 0.4993 GB, free: 112 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.1124, allocations: 382.9 kB / 0.4996 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.1128, allocations: 457.1 kB / 0.5001 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1141, allocations: 1.287 MB / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1141, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1141, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.1141, allocations: 0 / 0.5013 GB, free: 13.99 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.001857/0.116, allocations: 1.222 MB / 0.5025 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.116, allocations: 15.88 kB / 0.5025 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.1162, allocations: 161.7 kB / 0.5027 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.1171, allocations: 164 kB / 0.5028 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.1178, allocations: 0.4937 MB / 0.5033 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.1179, allocations: 53.64 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.118, allocations: 59.91 kB / 0.5034 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.12, allocations: 1.747 MB / 0.5051 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.12, allocations: 3.938 kB / 0.5051 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/0.1201, allocations: 35.97 kB / 0.5052 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006769/0.1208, allocations: 401.1 kB / 0.5056 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.1227, allocations: 1.199 MB / 0.5067 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.129, allocations: 6.574 MB / 0.5131 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.1295, allocations: 166.5 kB / 0.5133 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1297, allocations: 100.7 kB / 0.5134 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1298, allocations: 7.984 kB / 0.5134 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1298, allocations: 38.55 kB / 0.5134 GB, free: 1.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.356e-06/0.1298, allocations: 3.984 kB / 0.5134 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008295/0.1306, allocations: 369 kB / 0.5138 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1307, allocations: 51.41 kB / 0.5139 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1318, allocations: 0.9618 MB / 0.5148 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1318, allocations: 29.7 kB / 0.5148 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.1323, allocations: 0.7085 MB / 0.5155 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.1323, allocations: 63.56 kB / 0.5156 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.1326, allocations: 230.4 kB / 0.5158 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1327, allocations: 390.8 kB / 0.5162 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.1332, allocations: 261.8 kB / 0.5164 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.1341, allocations: 0.9487 MB / 0.5173 GB, free: 12.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.1355, allocations: 1.289 MB / 0.5186 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.1355, allocations: 11.94 kB / 0.5186 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001756/0.1373, allocations: 1.173 MB / 0.5198 GB, free: 9.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1373, allocations: 16 kB / 0.5198 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.1373, allocations: 24 kB / 0.5198 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.1374, allocations: 32 kB / 0.5198 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.1381, allocations: 248.2 kB / 0.5201 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.821e-05/0.1381, allocations: 51.8 kB / 0.5201 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.1389, allocations: 162.8 kB / 0.5203 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.139, allocations: 64 kB / 0.5203 GB, free: 9.242 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.0005379/0.1395, allocations: 471.3 kB / 0.5208 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1396, allocations: 83.42 kB / 0.5209 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.1403, allocations: 308.4 kB / 0.5211 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1403, allocations: 0 / 0.5211 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1403, allocations: 0 / 0.5211 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1403, allocations: 0 / 0.5211 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.1413, allocations: 0.747 MB / 0.5219 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1413, allocations: 3.938 kB / 0.5219 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1415, allocations: 39.91 kB / 0.5219 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1415, allocations: 0 / 0.5219 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1415, allocations: 11.98 kB / 0.5219 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1415, allocations: 0 / 0.5219 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1415, allocations: 0 / 0.5219 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.1422, allocations: 390.8 kB / 0.5223 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.1424, allocations: 148.6 kB / 0.5224 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.1425, allocations: 8 kB / 0.5225 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1427, allocations: 7.984 kB / 0.5225 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.1428, allocations: 23.91 kB / 0.5225 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1428, allocations: 4 kB / 0.5225 GB, free: 6.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008581/0.1437, allocations: 0.62 MB / 0.5231 GB, free: 6.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1437, allocations: 0 / 0.5231 GB, free: 6.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001008/0.1447, allocations: 231.4 kB / 0.5233 GB, free: 6.082 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.000994/0.1457, allocations: 0.9267 MB / 0.5242 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1469, allocations: 0.5957 MB / 0.5248 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1469, allocations: 0 / 0.5248 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.1471, allocations: 103.8 kB / 0.5249 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.1477, allocations: 94.25 kB / 0.525 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2104/0.3581, allocations: 7.772 MB / 0.5326 GB, free: 38.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.3593, allocations: 1.15 MB / 0.5337 GB, free: 37.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008905/0.3602, allocations: 275.9 kB / 0.534 GB, free: 37.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.3607, allocations: 353.9 kB / 0.5343 GB, free: 37.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3608, allocations: 0 / 0.5343 GB, free: 37.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.3985, allocations: 13.38 MB / 0.5474 GB, free: 34.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.94, allocations: 9.406 kB / 0.5474 GB, free: 34.22 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)