Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001614/0.001614, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001912/0.001912, allocations: 219 kB / 21.46 MB, free: 1.586 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.91 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1361, allocations: 65.43 MB / 0.5525 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00862/0.1447, allocations: 6.279 MB / 0.5586 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.1494, allocations: 1.986 MB / 0.5605 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009174/0.1504, allocations: 27.94 kB / 0.5605 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1519, allocations: 0.6307 MB / 0.5612 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.1525, allocations: 202.9 kB / 0.5614 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1527, allocations: 59.81 kB / 0.5614 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.1533, allocations: 410.2 kB / 0.5618 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.1539, allocations: 446.8 kB / 0.5622 GB, free: 76 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.1543, allocations: 223.1 kB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.1547, allocations: 298.8 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.1548, allocations: 40 kB / 0.5628 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.155, allocations: 87.88 kB / 0.5629 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1553, allocations: 271.1 kB / 0.5631 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.1556, allocations: 310.1 kB / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.1566, allocations: 0.8244 MB / 0.5642 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1566, allocations: 4 kB / 0.5642 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1566, allocations: 0 / 0.5642 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.1566, allocations: 0 / 0.5642 GB, free: 14.04 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.001647/0.1582, allocations: 0.961 MB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.1583, allocations: 12.03 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.76e-05/0.1583, allocations: 13.19 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.1585, allocations: 118.7 kB / 0.5653 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.1593, allocations: 152.3 kB / 0.5654 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.1599, allocations: 454 kB / 0.5659 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.16, allocations: 33.11 kB / 0.5659 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.16, allocations: 43.98 kB / 0.5659 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1615, allocations: 1.078 MB / 0.567 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1615, allocations: 3.938 kB / 0.567 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.1616, allocations: 23.98 kB / 0.567 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.162, allocations: 196.3 kB / 0.5672 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1632, allocations: 0.7161 MB / 0.5679 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.1677, allocations: 4.654 MB / 0.5725 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1679, allocations: 58.53 kB / 0.5725 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1681, allocations: 48.89 kB / 0.5726 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1681, allocations: 4 kB / 0.5726 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1681, allocations: 34.5 kB / 0.5726 GB, free: 5.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.404e-06/0.1681, allocations: 4 kB / 0.5726 GB, free: 5.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.1687, allocations: 217 kB / 0.5728 GB, free: 4.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1687, allocations: 55.39 kB / 0.5729 GB, free: 4.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1698, allocations: 0.8167 MB / 0.5737 GB, free: 3.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1698, allocations: 25.7 kB / 0.5737 GB, free: 3.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.1702, allocations: 0.5179 MB / 0.5742 GB, free: 3.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1702, allocations: 31.89 kB / 0.5742 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.1704, allocations: 174.5 kB / 0.5744 GB, free: 3.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1706, allocations: 374.8 kB / 0.5747 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.1709, allocations: 181.9 kB / 0.5749 GB, free: 2.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.1717, allocations: 0.739 MB / 0.5756 GB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.1729, allocations: 0.9742 MB / 0.5766 GB, free: 332 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.1729, allocations: 8 kB / 0.5766 GB, free: 324 kB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001454/0.1743, allocations: 0.8728 MB / 0.5774 GB, free: 15.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.1744, allocations: 12 kB / 0.5775 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.1744, allocations: 23.94 kB / 0.5775 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.525e-05/0.1744, allocations: 32.06 kB / 0.5775 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.1749, allocations: 171.7 kB / 0.5777 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.175, allocations: 39.86 kB / 0.5777 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.1756, allocations: 123.1 kB / 0.5778 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.1756, allocations: 51.94 kB / 0.5779 GB, free: 14.99 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.0004485/0.1761, allocations: 357.7 kB / 0.5782 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.1762, allocations: 67.56 kB / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1763, allocations: 69.22 kB / 0.5784 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1763, allocations: 0 / 0.5784 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1763, allocations: 0 / 0.5784 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1763, allocations: 0 / 0.5784 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.1769, allocations: 0.4935 MB / 0.5788 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1769, allocations: 0 / 0.5788 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.177, allocations: 11.98 kB / 0.5788 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.177, allocations: 0 / 0.5788 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.177, allocations: 7.938 kB / 0.5789 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.177, allocations: 7.938 kB / 0.5789 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.177, allocations: 0 / 0.5789 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1774, allocations: 275.1 kB / 0.5791 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1775, allocations: 132.7 kB / 0.5792 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.1776, allocations: 3.938 kB / 0.5793 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1778, allocations: 8 kB / 0.5793 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1779, allocations: 15.98 kB / 0.5793 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1779, allocations: 3.984 kB / 0.5793 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.1785, allocations: 0.5302 MB / 0.5798 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1785, allocations: 0 / 0.5798 GB, free: 12.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.1792, allocations: 139.7 kB / 0.5799 GB, free: 12.79 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.0007777/0.18, allocations: 0.8056 MB / 0.5807 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007876/0.1808, allocations: 408.4 kB / 0.5811 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1808, allocations: 0 / 0.5811 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1809, allocations: 43.94 kB / 0.5811 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1815, allocations: 86.89 kB / 0.5812 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008311/0.1898, allocations: 6.116 MB / 0.5872 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.1906, allocations: 0.995 MB / 0.5882 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.1911, allocations: 204.8 kB / 0.5884 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.1914, allocations: 231.4 kB / 0.5886 GB, free: 3.219 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1914, allocations: 0 / 0.5886 GB, free: 3.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.29/0.4814, allocations: 11.1 MB / 0.5994 GB, free: 38.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.782/10.26, allocations: 4.219 kB / 0.5994 GB, free: 38.23 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.660234533017501]