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.00141/0.001411, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2285/0.2285, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002252/0.002252, allocations: 79.14 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008608/0.1374, allocations: 6.234 MB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.1414, allocations: 1.978 MB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.142, allocations: 27.94 kB / 488.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.1435, allocations: 0.619 MB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.144, allocations: 194.9 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1443, allocations: 59.86 kB / 489.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.1449, allocations: 422.1 kB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007089/0.1456, allocations: 0.4948 MB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.146, allocations: 219.2 kB / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.1464, allocations: 278.9 kB / 490.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.1465, allocations: 40 kB / 490.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1467, allocations: 87.89 kB / 490.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.147, allocations: 267.2 kB / 491.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.1473, allocations: 310 kB / 491.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.1481, allocations: 0.8019 MB / 492.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1482, allocations: 0 / 492.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1482, allocations: 0 / 492.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1482, allocations: 0 / 492.2 MB, free: 9.082 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.001431/0.1496, allocations: 0.9385 MB / 493.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1497, allocations: 12.03 kB / 493.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.1498, allocations: 114.7 kB / 493.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007782/0.1506, allocations: 155.7 kB / 493.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.1512, allocations: 441.8 kB / 493.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.1512, allocations: 29.36 kB / 493.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.1513, allocations: 47.92 kB / 493.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1527, allocations: 1.082 MB / 495 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1528, allocations: 0 / 495 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.1528, allocations: 31.95 kB / 495 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.1532, allocations: 184.4 kB / 495.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1544, allocations: 0.72 MB / 495.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.1586, allocations: 4.657 MB / 0.4889 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1588, allocations: 62.52 kB / 0.4889 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1589, allocations: 48.91 kB / 0.489 GB, free: 180 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1589, allocations: 4 kB / 0.489 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.159, allocations: 30.56 kB / 0.489 GB, free: 136 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.159, allocations: 0 / 0.489 GB, free: 136 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005309/0.1595, allocations: 212.7 kB / 0.4892 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.1596, allocations: 55.41 kB / 0.4893 GB, free: 15.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1606, allocations: 0.8242 MB / 0.4901 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1607, allocations: 25.7 kB / 0.4901 GB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.1611, allocations: 0.5082 MB / 0.4906 GB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1611, allocations: 27.8 kB / 0.4906 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.1613, allocations: 170.4 kB / 0.4908 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1615, allocations: 374.8 kB / 0.4911 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1619, allocations: 177.9 kB / 0.4913 GB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.1626, allocations: 0.7312 MB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1638, allocations: 0.982 MB / 0.493 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.1638, allocations: 8 kB / 0.493 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001396/0.1652, allocations: 0.8723 MB / 0.4938 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.1652, allocations: 12 kB / 0.4938 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.1653, allocations: 20 kB / 0.4939 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.1653, allocations: 31.94 kB / 0.4939 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.1658, allocations: 175.7 kB / 0.4941 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.1659, allocations: 39.8 kB / 0.4941 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.1664, allocations: 118.8 kB / 0.4942 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.1664, allocations: 48.25 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.0004131/0.1669, allocations: 367.5 kB / 0.4946 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.167, allocations: 59.16 kB / 0.4947 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.1671, allocations: 65.22 kB / 0.4947 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1671, allocations: 7.984 kB / 0.4947 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1671, allocations: 0 / 0.4947 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1671, allocations: 0 / 0.4947 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.1677, allocations: 0.4896 MB / 0.4952 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1677, allocations: 4 kB / 0.4952 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.1678, allocations: 11.98 kB / 0.4952 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1678, allocations: 0 / 0.4952 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1678, allocations: 3.938 kB / 0.4952 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1678, allocations: 0 / 0.4952 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1678, allocations: 4 kB / 0.4952 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1682, allocations: 270.8 kB / 0.4955 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1683, allocations: 132.4 kB / 0.4956 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.1684, allocations: 7.938 kB / 0.4956 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.1686, allocations: 7.984 kB / 0.4956 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1687, allocations: 7.984 kB / 0.4956 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1687, allocations: 4 kB / 0.4956 GB, free: 8.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006401/0.1693, allocations: 0.5302 MB / 0.4962 GB, free: 8.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1693, allocations: 0 / 0.4962 GB, free: 8.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.17, allocations: 135.7 kB / 0.4963 GB, free: 7.93 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.0007057/0.1707, allocations: 0.8014 MB / 0.4971 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.1714, allocations: 424.5 kB / 0.4975 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1714, allocations: 7.875 kB / 0.4975 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1715, allocations: 47.94 kB / 0.4975 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.1721, allocations: 91.64 kB / 0.4976 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2046/0.3766, allocations: 6.275 MB / 0.5038 GB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.3772, allocations: 0.9847 MB / 0.5047 GB, free: 41.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006292/0.3779, allocations: 205 kB / 0.5049 GB, free: 41.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.3782, allocations: 232.1 kB / 0.5051 GB, free: 41.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3782, allocations: 0.7812 kB / 0.5051 GB, free: 41.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.417, allocations: 10.78 MB / 0.5157 GB, free: 38.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.637, allocations: 9.234 kB / 0.5157 GB, free: 38.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)