Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001711/0.001711, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002058/0.002058, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.84 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1582, allocations: 66 MB / 0.5557 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008715/0.1669, allocations: 6.279 MB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.1716, allocations: 1.982 MB / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009413/0.1725, allocations: 28 kB / 0.5638 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.1742, allocations: 0.6268 MB / 0.5644 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.175, allocations: 194.9 kB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1753, allocations: 63.86 kB / 0.5647 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.176, allocations: 422 kB / 0.5651 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000675/0.1767, allocations: 434.8 kB / 0.5655 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.1771, allocations: 219.2 kB / 0.5657 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.1776, allocations: 306.8 kB / 0.566 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.1777, allocations: 36 kB / 0.566 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.1779, allocations: 83.89 kB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.1783, allocations: 275.1 kB / 0.5664 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.1786, allocations: 310 kB / 0.5667 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1797, allocations: 0.8245 MB / 0.5675 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1797, allocations: 0 / 0.5675 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1797, allocations: 0 / 0.5675 GB, free: 10.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1798, allocations: 0 / 0.5675 GB, free: 10.1 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.001732/0.1815, allocations: 0.9727 MB / 0.5684 GB, free: 9.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1815, allocations: 8.031 kB / 0.5684 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.1817, allocations: 110.7 kB / 0.5685 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.1825, allocations: 160.2 kB / 0.5687 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.1833, allocations: 454 kB / 0.5691 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.1834, allocations: 29.36 kB / 0.5691 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.1834, allocations: 47.92 kB / 0.5692 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.185, allocations: 1.078 MB / 0.5702 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.185, allocations: 11.92 kB / 0.5702 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.1851, allocations: 19.98 kB / 0.5703 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003599/0.1854, allocations: 184.4 kB / 0.5704 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.1867, allocations: 0.7161 MB / 0.5711 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.1917, allocations: 4.658 MB / 0.5757 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1918, allocations: 54.53 kB / 0.5757 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1919, allocations: 48.91 kB / 0.5758 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.192, allocations: 0 / 0.5758 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.192, allocations: 38.5 kB / 0.5758 GB, free: 1.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.192, allocations: 4 kB / 0.5758 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005586/0.1926, allocations: 213.1 kB / 0.576 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1926, allocations: 55.41 kB / 0.5761 GB, free: 0.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.1937, allocations: 0.8166 MB / 0.5769 GB, free: 4 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.1937, allocations: 25.7 kB / 0.5769 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.1942, allocations: 0.5218 MB / 0.5774 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.1942, allocations: 31.83 kB / 0.5774 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.1944, allocations: 170.5 kB / 0.5776 GB, free: 15.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1946, allocations: 374.8 kB / 0.578 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.195, allocations: 181.9 kB / 0.5781 GB, free: 14.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.1957, allocations: 0.7428 MB / 0.5789 GB, free: 13.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.1969, allocations: 0.9782 MB / 0.5798 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.197, allocations: 4 kB / 0.5798 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001609/0.1986, allocations: 0.8728 MB / 0.5807 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.1986, allocations: 19.94 kB / 0.5807 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.1986, allocations: 20 kB / 0.5807 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.627e-05/0.1987, allocations: 27.94 kB / 0.5807 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.1992, allocations: 183.6 kB / 0.5809 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.1992, allocations: 39.86 kB / 0.581 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.1999, allocations: 119.5 kB / 0.5811 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.1999, allocations: 52 kB / 0.5811 GB, free: 11.07 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.0004959/0.2004, allocations: 355.5 kB / 0.5815 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2005, allocations: 63.58 kB / 0.5815 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2007, allocations: 65.22 kB / 0.5816 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2007, allocations: 3.984 kB / 0.5816 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2007, allocations: 0 / 0.5816 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2007, allocations: 0 / 0.5816 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.2013, allocations: 0.4974 MB / 0.5821 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2013, allocations: 0 / 0.5821 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.2014, allocations: 11.98 kB / 0.5821 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2014, allocations: 3.938 kB / 0.5821 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2014, allocations: 3.938 kB / 0.5821 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2014, allocations: 0 / 0.5821 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2014, allocations: 0 / 0.5821 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.2019, allocations: 275 kB / 0.5823 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2021, allocations: 128.7 kB / 0.5825 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.2021, allocations: 7.938 kB / 0.5825 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.2023, allocations: 11.98 kB / 0.5825 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.2024, allocations: 7.984 kB / 0.5825 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2024, allocations: 0 / 0.5825 GB, free: 9.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007049/0.2031, allocations: 0.5341 MB / 0.583 GB, free: 9.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2031, allocations: 0 / 0.583 GB, free: 9.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007508/0.2038, allocations: 131.7 kB / 0.5831 GB, free: 8.887 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.0008019/0.2046, allocations: 0.8057 MB / 0.5839 GB, free: 8.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007846/0.2054, allocations: 412.5 kB / 0.5843 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2054, allocations: 0 / 0.5843 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2056, allocations: 47.88 kB / 0.5844 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.2062, allocations: 102.8 kB / 0.5845 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.2151, allocations: 6.112 MB / 0.5904 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2908/0.5059, allocations: 0.9787 MB / 0.5914 GB, free: 36.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006783/0.5066, allocations: 209.8 kB / 0.5916 GB, free: 36.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.507, allocations: 231.8 kB / 0.5918 GB, free: 36.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.507, allocations: 0 / 0.5918 GB, free: 36.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.5573, allocations: 11.05 MB / 0.6026 GB, free: 34.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.57, allocations: 19.61 kB / 0.6026 GB, free: 34.36 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.891037060879171]