Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2292/0.2292, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 76.47 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01249/0.1446, allocations: 6.244 MB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005641/0.1503, allocations: 1.982 MB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008432/0.1512, allocations: 27.94 kB / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.1532, allocations: 0.619 MB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.154, allocations: 186.9 kB / 489.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1543, allocations: 63.84 kB / 489.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.155, allocations: 410.2 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.1557, allocations: 0.5026 MB / 490.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.1561, allocations: 223.1 kB / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.1566, allocations: 282.9 kB / 490.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.1567, allocations: 36 kB / 490.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.1569, allocations: 83.95 kB / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.1573, allocations: 267.2 kB / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.1577, allocations: 314 kB / 491.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.159, allocations: 0.7941 MB / 492.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.159, allocations: 8 kB / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.159, allocations: 0 / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.159, allocations: 0 / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.00203/0.1611, allocations: 0.9424 MB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1611, allocations: 8.031 kB / 493.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.1613, allocations: 110.7 kB / 493.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.1625, allocations: 159.8 kB / 493.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/0.1634, allocations: 437.8 kB / 493.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.1634, allocations: 29.36 kB / 493.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.1635, allocations: 43.92 kB / 493.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1656, allocations: 1.085 MB / 495 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1657, allocations: 7.938 kB / 495 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.1658, allocations: 23.98 kB / 495 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005467/0.1663, allocations: 192.4 kB / 495.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.1682, allocations: 0.72 MB / 495.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006633/0.1748, allocations: 4.657 MB / 0.4889 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1751, allocations: 54.53 kB / 0.4889 GB, free: 244 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1754, allocations: 48.91 kB / 0.489 GB, free: 192 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1754, allocations: 4 kB / 0.489 GB, free: 188 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.1755, allocations: 34.56 kB / 0.489 GB, free: 144 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.236e-06/0.1755, allocations: 3.938 kB / 0.489 GB, free: 140 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007915/0.1763, allocations: 208.9 kB / 0.4892 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1764, allocations: 51.41 kB / 0.4893 GB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.178, allocations: 0.8242 MB / 0.4901 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.178, allocations: 29.7 kB / 0.4901 GB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.1786, allocations: 0.5044 MB / 0.4906 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1787, allocations: 27.8 kB / 0.4906 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.1789, allocations: 166.4 kB / 0.4908 GB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1792, allocations: 378.8 kB / 0.4911 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.1797, allocations: 177.9 kB / 0.4913 GB, free: 13.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.1808, allocations: 0.7389 MB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.1826, allocations: 0.9743 MB / 0.493 GB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.1827, allocations: 4 kB / 0.493 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002317/0.185, allocations: 0.8724 MB / 0.4938 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.185, allocations: 19.98 kB / 0.4938 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/0.1851, allocations: 20 kB / 0.4939 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.668e-05/0.1852, allocations: 27.94 kB / 0.4939 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007927/0.186, allocations: 175.6 kB / 0.4941 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.493e-05/0.1861, allocations: 39.86 kB / 0.4941 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/0.1869, allocations: 118.8 kB / 0.4942 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.187, allocations: 52 kB / 0.4943 GB, free: 10.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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 (92): * Single equations (assignments): 92 * 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.0004659/0.1874, allocations: 351.8 kB / 0.4946 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.1875, allocations: 67.14 kB / 0.4947 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1877, allocations: 65.27 kB / 0.4947 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1877, allocations: 3.938 kB / 0.4947 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1877, allocations: 3.938 kB / 0.4947 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1877, allocations: 0 / 0.4947 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.1883, allocations: 0.4935 MB / 0.4952 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1883, allocations: 0 / 0.4952 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.1884, allocations: 15.98 kB / 0.4952 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1884, allocations: 0 / 0.4952 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1885, allocations: 7.922 kB / 0.4952 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1885, allocations: 3.938 kB / 0.4952 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1885, allocations: 0 / 0.4952 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.1889, allocations: 266.7 kB / 0.4955 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.189, allocations: 136.3 kB / 0.4956 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.1891, allocations: 4 kB / 0.4956 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1893, allocations: 11.92 kB / 0.4956 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.1894, allocations: 7.984 kB / 0.4956 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1894, allocations: 0 / 0.4956 GB, free: 8.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.1901, allocations: 0.5341 MB / 0.4962 GB, free: 8.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1901, allocations: 0 / 0.4962 GB, free: 8.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00068/0.1908, allocations: 135.7 kB / 0.4963 GB, free: 7.934 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0007704/0.1916, allocations: 0.8053 MB / 0.4971 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.1923, allocations: 415.1 kB / 0.4975 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1923, allocations: 0 / 0.4975 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1925, allocations: 53.45 kB / 0.4975 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.193, allocations: 97.98 kB / 0.4976 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2159/0.409, allocations: 6.272 MB / 0.5037 GB, free: 41.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4097, allocations: 0.9869 MB / 0.5047 GB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.4103, allocations: 209.9 kB / 0.5049 GB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4106, allocations: 231.1 kB / 0.5051 GB, free: 40.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4106, allocations: 0 / 0.5051 GB, free: 40.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.4551, allocations: 10.78 MB / 0.5157 GB, free: 38.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.851, allocations: 7.188 kB / 0.5157 GB, free: 38.22 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)