Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1335, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008823/0.1423, allocations: 6.272 MB / 0.5615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.1473, allocations: 1.982 MB / 0.5635 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1484, allocations: 31.94 kB / 0.5635 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.1502, allocations: 0.6306 MB / 0.5641 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007905/0.151, allocations: 194.9 kB / 0.5643 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1514, allocations: 59.81 kB / 0.5643 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.1521, allocations: 414.2 kB / 0.5647 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.1529, allocations: 438.8 kB / 0.5652 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.1533, allocations: 231.1 kB / 0.5654 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.154, allocations: 298.8 kB / 0.5657 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1541, allocations: 40 kB / 0.5657 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1544, allocations: 87.88 kB / 0.5658 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.1547, allocations: 267.2 kB / 0.566 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.1552, allocations: 318 kB / 0.5663 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1564, allocations: 0.8167 MB / 0.5671 GB, free: 9.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1564, allocations: 0 / 0.5671 GB, free: 9.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1564, allocations: 4 kB / 0.5671 GB, free: 9.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.1564, allocations: 0 / 0.5671 GB, free: 9.742 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.002179/0.1586, allocations: 0.9688 MB / 0.5681 GB, free: 8.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1587, allocations: 8.031 kB / 0.5681 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.1588, allocations: 110.7 kB / 0.5682 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.1598, allocations: 160.2 kB / 0.5684 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.1606, allocations: 454 kB / 0.5688 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.1607, allocations: 37.34 kB / 0.5688 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.1608, allocations: 43.92 kB / 0.5689 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.1626, allocations: 1.082 MB / 0.5699 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1626, allocations: 4 kB / 0.5699 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.1627, allocations: 19.98 kB / 0.5699 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003977/0.1631, allocations: 192.3 kB / 0.5701 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1646, allocations: 0.7122 MB / 0.5708 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/0.1709, allocations: 4.662 MB / 0.5754 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.1711, allocations: 54.53 kB / 0.5754 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1713, allocations: 48.91 kB / 0.5755 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1713, allocations: 7.938 kB / 0.5755 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.1713, allocations: 30.56 kB / 0.5755 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.466e-06/0.1713, allocations: 0 / 0.5755 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007051/0.172, allocations: 225 kB / 0.5757 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1721, allocations: 51.41 kB / 0.5758 GB, free: 476 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.1736, allocations: 0.8205 MB / 0.5766 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1736, allocations: 25.7 kB / 0.5766 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.1741, allocations: 0.5218 MB / 0.5771 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1742, allocations: 23.83 kB / 0.5771 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.1744, allocations: 174.5 kB / 0.5773 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.1746, allocations: 374.8 kB / 0.5777 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.175, allocations: 181.8 kB / 0.5778 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.1759, allocations: 0.7312 MB / 0.5785 GB, free: 13.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1773, allocations: 0.982 MB / 0.5795 GB, free: 12.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.1773, allocations: 8 kB / 0.5795 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001892/0.1792, allocations: 0.8726 MB / 0.5804 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.1792, allocations: 12 kB / 0.5804 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.1793, allocations: 20 kB / 0.5804 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.55e-05/0.1793, allocations: 31.94 kB / 0.5804 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.1799, allocations: 179.7 kB / 0.5806 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.642e-05/0.1799, allocations: 43.8 kB / 0.5806 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.1807, allocations: 107.2 kB / 0.5807 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.1807, allocations: 56.23 kB / 0.5808 GB, free: 10.71 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.0006098/0.1814, allocations: 369.8 kB / 0.5811 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.1815, allocations: 59.58 kB / 0.5812 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1817, allocations: 65.22 kB / 0.5813 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1817, allocations: 0 / 0.5813 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1817, allocations: 3.984 kB / 0.5813 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1817, allocations: 0 / 0.5813 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.1825, allocations: 0.4896 MB / 0.5817 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1825, allocations: 4 kB / 0.5818 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1826, allocations: 11.98 kB / 0.5818 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1826, allocations: 0 / 0.5818 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1827, allocations: 11.94 kB / 0.5818 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1827, allocations: 0 / 0.5818 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1827, allocations: 3.984 kB / 0.5818 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.1832, allocations: 275 kB / 0.582 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.1833, allocations: 136.7 kB / 0.5822 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.1834, allocations: 3.938 kB / 0.5822 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.1837, allocations: 11.98 kB / 0.5822 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.1837, allocations: 7.984 kB / 0.5822 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1837, allocations: 0 / 0.5822 GB, free: 9.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008662/0.1846, allocations: 0.5341 MB / 0.5827 GB, free: 8.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.5827 GB, free: 8.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008277/0.1854, allocations: 139.7 kB / 0.5828 GB, free: 8.508 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.0009041/0.1863, allocations: 0.8096 MB / 0.5836 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.1872, allocations: 408.6 kB / 0.584 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1872, allocations: 0 / 0.584 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1874, allocations: 47.94 kB / 0.5841 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.1881, allocations: 84.73 kB / 0.5842 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.1982, allocations: 6.12 MB / 0.5901 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2675/0.4657, allocations: 0.9745 MB / 0.5911 GB, free: 35.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006519/0.4664, allocations: 205 kB / 0.5913 GB, free: 35.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.4667, allocations: 234.1 kB / 0.5915 GB, free: 35.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.532e-06/0.4667, allocations: 0 / 0.5915 GB, free: 35.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.5126, allocations: 11.07 MB / 0.6023 GB, free: 34.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.889/10.4, allocations: 1.406 kB / 0.6023 GB, free: 34.07 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.623508794931695]