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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2335/0.2335, allocations: 46.9 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002423/0.002423, allocations: 75.88 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1351, allocations: 65.98 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008414/0.1435, allocations: 6.283 MB / 0.5618 GB, free: 116 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.1481, allocations: 1.982 MB / 0.5637 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.1489, allocations: 24 kB / 0.5638 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.1505, allocations: 0.6307 MB / 0.5644 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.1512, allocations: 194.9 kB / 0.5646 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1515, allocations: 55.88 kB / 0.5646 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.1522, allocations: 418.1 kB / 0.565 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.1528, allocations: 434.8 kB / 0.5654 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.1533, allocations: 227.1 kB / 0.5656 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.1539, allocations: 298.8 kB / 0.5659 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.704e-05/0.154, allocations: 40 kB / 0.566 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.1543, allocations: 87.88 kB / 0.5661 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.1546, allocations: 267.2 kB / 0.5663 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.155, allocations: 318 kB / 0.5666 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.1562, allocations: 0.8206 MB / 0.5674 GB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1563, allocations: 0 / 0.5674 GB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1563, allocations: 0 / 0.5674 GB, free: 10.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.1563, allocations: 0 / 0.5674 GB, free: 10.34 MB / 430.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.002052/0.1583, allocations: 0.9727 MB / 0.5684 GB, free: 9.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.1584, allocations: 8.031 kB / 0.5684 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.1586, allocations: 114.6 kB / 0.5685 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.1594, allocations: 160.2 kB / 0.5686 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.1602, allocations: 442 kB / 0.5691 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.1602, allocations: 37.34 kB / 0.5691 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.1603, allocations: 43.92 kB / 0.5691 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1618, allocations: 1.078 MB / 0.5702 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.1618, allocations: 11.92 kB / 0.5702 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1619, allocations: 19.98 kB / 0.5702 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003435/0.1622, allocations: 188.4 kB / 0.5704 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.1634, allocations: 0.716 MB / 0.5711 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.1681, allocations: 4.666 MB / 0.5757 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1683, allocations: 54.53 kB / 0.5757 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1684, allocations: 44.91 kB / 0.5757 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1684, allocations: 0 / 0.5757 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1685, allocations: 38.56 kB / 0.5758 GB, free: 1.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1685, allocations: 0 / 0.5758 GB, free: 1.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006136/0.1691, allocations: 225.1 kB / 0.576 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1691, allocations: 51.41 kB / 0.576 GB, free: 1.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1703, allocations: 0.8166 MB / 0.5768 GB, free: 240 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1703, allocations: 29.7 kB / 0.5769 GB, free: 204 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.1707, allocations: 0.5219 MB / 0.5774 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1708, allocations: 27.89 kB / 0.5774 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.171, allocations: 170.5 kB / 0.5776 GB, free: 15.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1712, allocations: 374.8 kB / 0.5779 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.1715, allocations: 181.9 kB / 0.5781 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/0.1723, allocations: 0.735 MB / 0.5788 GB, free: 13.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.1734, allocations: 0.9782 MB / 0.5798 GB, free: 12.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.1734, allocations: 4 kB / 0.5798 GB, free: 12.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001496/0.1749, allocations: 0.8689 MB / 0.5806 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.175, allocations: 16 kB / 0.5806 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.175, allocations: 20 kB / 0.5807 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.175, allocations: 31.88 kB / 0.5807 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.1756, allocations: 183.7 kB / 0.5809 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.688e-05/0.1756, allocations: 43.8 kB / 0.5809 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.1762, allocations: 123.1 kB / 0.581 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.1763, allocations: 51.98 kB / 0.5811 GB, free: 11.3 MB / 446.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.0004568/0.1767, allocations: 355.6 kB / 0.5814 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.1768, allocations: 63.58 kB / 0.5815 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.1769, allocations: 65.22 kB / 0.5815 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1769, allocations: 3.984 kB / 0.5815 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1769, allocations: 0 / 0.5815 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1769, allocations: 0 / 0.5815 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.1776, allocations: 0.4896 MB / 0.582 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1776, allocations: 4 kB / 0.582 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.1777, allocations: 15.98 kB / 0.582 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1777, allocations: 0 / 0.582 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1777, allocations: 3.938 kB / 0.582 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1777, allocations: 3.938 kB / 0.582 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1777, allocations: 0 / 0.582 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.1781, allocations: 267 kB / 0.5823 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1783, allocations: 144.5 kB / 0.5824 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.1783, allocations: 7.938 kB / 0.5824 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1785, allocations: 7.984 kB / 0.5825 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.1786, allocations: 11.98 kB / 0.5825 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1786, allocations: 0 / 0.5825 GB, free: 9.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000673/0.1793, allocations: 0.5302 MB / 0.583 GB, free: 9.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.583 GB, free: 9.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.18, allocations: 135.7 kB / 0.5831 GB, free: 9.109 MB / 446.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.0007784/0.1808, allocations: 0.8058 MB / 0.5839 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.1816, allocations: 415.2 kB / 0.5843 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1816, allocations: 0 / 0.5843 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1817, allocations: 49.31 kB / 0.5843 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.1823, allocations: 88.36 kB / 0.5844 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/0.1906, allocations: 6.116 MB / 0.5904 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2594/0.45, allocations: 0.9831 MB / 0.5914 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006521/0.4507, allocations: 205.3 kB / 0.5916 GB, free: 36.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.4511, allocations: 234.2 kB / 0.5918 GB, free: 36.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4511, allocations: 0 / 0.5918 GB, free: 36.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/0.4942, allocations: 11.06 MB / 0.6026 GB, free: 34.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.62, allocations: 18.45 kB / 0.6026 GB, free: 34.48 MB / 446.1 MB " [Timeout remaining time 649] (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 --stepSize=0.00019992 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.796493266709149] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.723958366084844 10.739394554 10.580010523 Calling exit ...