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.001311/0.001311, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001249/0.001249, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.384/1.384, 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.2193/0.2193, allocations: 43.52 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.001997/0.001997, allocations: 69.45 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1183, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008415/0.1268, allocations: 7.063 MB / 0.4943 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1308, allocations: 2.041 MB / 0.4963 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005337/0.1314, allocations: 31.94 kB / 0.4963 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.1327, allocations: 0.6228 MB / 0.4969 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.1335, allocations: 310.3 kB / 0.4972 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1337, allocations: 51.81 kB / 0.4973 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007278/0.1344, allocations: 0.6107 MB / 0.4979 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.1352, allocations: 0.5852 MB / 0.4984 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.1356, allocations: 302.7 kB / 0.4987 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.1362, allocations: 394.5 kB / 0.4991 GB, free: 276 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1363, allocations: 60 kB / 0.4992 GB, free: 216 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.1366, allocations: 103.9 kB / 0.4993 GB, free: 112 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.137, allocations: 378.9 kB / 0.4996 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.1375, allocations: 469 kB / 0.5001 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1389, allocations: 1.283 MB / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.139, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.139, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.139, 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.002051/0.141, allocations: 1.222 MB / 0.5025 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1411, allocations: 15.89 kB / 0.5025 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.1413, allocations: 161.7 kB / 0.5027 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.1421, allocations: 160.1 kB / 0.5028 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.1428, allocations: 0.5014 MB / 0.5033 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.1428, allocations: 45.66 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.1429, allocations: 59.91 kB / 0.5034 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.1452, allocations: 1.747 MB / 0.5051 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.1453, allocations: 3.938 kB / 0.5051 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.1453, allocations: 27.97 kB / 0.5052 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007341/0.1461, allocations: 417.1 kB / 0.5056 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.1481, allocations: 1.192 MB / 0.5067 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007365/0.1555, allocations: 6.574 MB / 0.5131 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.1559, allocations: 174.5 kB / 0.5133 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.1562, allocations: 100.7 kB / 0.5134 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1562, allocations: 4 kB / 0.5134 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1563, allocations: 38.55 kB / 0.5134 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.1563, allocations: 0 / 0.5134 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008897/0.1572, allocations: 365 kB / 0.5138 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1572, allocations: 55.34 kB / 0.5138 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1584, allocations: 0.9657 MB / 0.5148 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1584, allocations: 25.7 kB / 0.5148 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.159, allocations: 0.7124 MB / 0.5155 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.1591, allocations: 67.55 kB / 0.5156 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.1593, allocations: 222.4 kB / 0.5158 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1596, allocations: 394.8 kB / 0.5162 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.16, allocations: 261.8 kB / 0.5164 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.1611, allocations: 0.9448 MB / 0.5173 GB, free: 12.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.1627, allocations: 1.297 MB / 0.5186 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.1627, allocations: 8 kB / 0.5186 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001883/0.1646, allocations: 1.169 MB / 0.5197 GB, free: 9.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.1646, allocations: 16 kB / 0.5198 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.1647, allocations: 24 kB / 0.5198 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.477e-05/0.1647, allocations: 35.98 kB / 0.5198 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.1655, allocations: 247.5 kB / 0.5201 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.948e-05/0.1655, allocations: 51.78 kB / 0.5201 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.1662, allocations: 163.3 kB / 0.5203 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.1663, allocations: 64 kB / 0.5203 GB, free: 9.238 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.0005919/0.1669, allocations: 471.3 kB / 0.5208 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.167, allocations: 83.42 kB / 0.5209 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/0.1677, allocations: 308.3 kB / 0.5211 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1677, allocations: 0 / 0.5211 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1677, allocations: 0 / 0.5211 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1677, allocations: 3.984 kB / 0.5211 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.1686, allocations: 0.7431 MB / 0.5219 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1686, allocations: 0 / 0.5219 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1688, allocations: 35.91 kB / 0.5219 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1689, allocations: 4 kB / 0.5219 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1689, allocations: 7.984 kB / 0.5219 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1689, allocations: 11.88 kB / 0.5219 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1689, allocations: 0 / 0.5219 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.1695, allocations: 386.8 kB / 0.5223 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.1697, allocations: 148.6 kB / 0.5224 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.1698, allocations: 4 kB / 0.5224 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.17, allocations: 11.98 kB / 0.5225 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.1701, allocations: 15.97 kB / 0.5225 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1701, allocations: 4 kB / 0.5225 GB, free: 6.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007785/0.1709, allocations: 0.6239 MB / 0.5231 GB, free: 6.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1709, allocations: 0 / 0.5231 GB, free: 6.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007969/0.1717, allocations: 227.4 kB / 0.5233 GB, free: 6.086 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.0009767/0.1727, allocations: 0.9305 MB / 0.5242 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1738, allocations: 0.6002 MB / 0.5248 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1738, allocations: 0 / 0.5248 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.174, allocations: 111.8 kB / 0.5249 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.1745, allocations: 79.44 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.1957/0.3702, allocations: 7.769 MB / 0.5326 GB, free: 38.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.3709, allocations: 1.153 MB / 0.5337 GB, free: 37.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006379/0.3716, allocations: 275.6 kB / 0.534 GB, free: 37.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.3719, allocations: 348 kB / 0.5343 GB, free: 37.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3719, allocations: 3.094 kB / 0.5343 GB, free: 37.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.4084, allocations: 13.39 MB / 0.5474 GB, free: 34.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.615/10.02, allocations: 10.19 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)