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.0008177/0.0008177, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008777/0.0008777, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.886/0.886, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2426/0.2426, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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 1.703e-06/1.703e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.138e-05, allocations: 12.47 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1678/0.1678, allocations: 5.605 MB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.1702, allocations: 1.877 MB / 449.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.1705, allocations: 29.12 kB / 449.7 MB, free: 40.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.1714, allocations: 0.6266 MB / 450.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1717, allocations: 209.8 kB / 450.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.172, allocations: 57.28 kB / 450.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.1723, allocations: 433.6 kB / 451 MB, free: 39.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.1727, allocations: 420.2 kB / 451.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.173, allocations: 317.7 kB / 451.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1732, allocations: 258.5 kB / 451.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.1733, allocations: 39.16 kB / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1734, allocations: 94.95 kB / 452.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1735, allocations: 273.3 kB / 452.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1736, allocations: 178.7 kB / 452.5 MB, free: 39.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.1741, allocations: 0.8034 MB / 453.3 MB, free: 38.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1741, allocations: 0 / 453.3 MB, free: 38.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1741, allocations: 4 kB / 453.3 MB, free: 38.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1742, allocations: 0 / 453.3 MB, free: 38.81 MB / 410.7 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.0009429/0.1751, allocations: 0.883 MB / 454.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1751, allocations: 8.594 kB / 454.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.464e-05/0.1752, allocations: 114.7 kB / 454.3 MB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.1756, allocations: 164.3 kB / 454.5 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.176, allocations: 384.5 kB / 454.9 MB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.176, allocations: 30.73 kB / 454.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.1761, allocations: 37.86 kB / 454.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.1768, allocations: 1.086 MB / 456 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1768, allocations: 7.875 kB / 456 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1768, allocations: 20.55 kB / 456 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.177, allocations: 192.1 kB / 456.2 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.1776, allocations: 0.7173 MB / 456.9 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1793, allocations: 4.458 MB / 461.4 MB, free: 33.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.1794, allocations: 52.52 kB / 461.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.1795, allocations: 54.48 kB / 461.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1795, allocations: 0 / 461.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.1795, allocations: 30.56 kB / 461.5 MB, free: 33.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1795, allocations: 3.062 kB / 461.5 MB, free: 33.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002935/0.1798, allocations: 213.6 kB / 461.7 MB, free: 32.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1798, allocations: 51.41 kB / 461.8 MB, free: 32.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.1803, allocations: 0.8555 MB / 462.6 MB, free: 32.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1803, allocations: 29.7 kB / 462.7 MB, free: 32.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1805, allocations: 0.5173 MB / 463.2 MB, free: 32.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1805, allocations: 22.09 kB / 463.2 MB, free: 32.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1806, allocations: 174.1 kB / 463.4 MB, free: 31.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.1807, allocations: 374.9 kB / 463.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.1809, allocations: 180.8 kB / 463.9 MB, free: 31.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1812, allocations: 0.7379 MB / 464.7 MB, free: 30.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.1817, allocations: 0.9844 MB / 465.7 MB, free: 29.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1817, allocations: 6.531 kB / 465.7 MB, free: 29.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006759/0.1824, allocations: 0.8724 MB / 466.5 MB, free: 29.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1824, allocations: 18.28 kB / 466.5 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1824, allocations: 21.94 kB / 466.6 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.1825, allocations: 25.22 kB / 466.6 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1827, allocations: 175 kB / 466.8 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.1827, allocations: 41.05 kB / 466.8 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.183, allocations: 124.8 kB / 466.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.183, allocations: 54.91 kB / 467 MB, free: 29.34 MB / 410.7 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.0002098/0.1833, allocations: 359.6 kB / 467.3 MB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1833, allocations: 61.48 kB / 467.4 MB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.1834, allocations: 67.42 kB / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1834, allocations: 0 / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1834, allocations: 0 / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1834, allocations: 3.938 kB / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1837, allocations: 460.3 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1837, allocations: 4 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.1837, allocations: 9.719 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1837, allocations: 3.312 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1837, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1837, allocations: 3.938 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1837, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1839, allocations: 270.6 kB / 468.2 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.184, allocations: 55.8 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.184, allocations: 0 / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.1841, allocations: 16.52 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1841, allocations: 10.66 kB / 468.3 MB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1841, allocations: 3.938 kB / 468.3 MB, free: 28.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.1844, allocations: 0.5291 MB / 468.8 MB, free: 28.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1844, allocations: 3.938 kB / 468.8 MB, free: 28.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.1848, allocations: 138.9 kB / 469 MB, free: 28.31 MB / 410.7 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.0003082/0.1851, allocations: 0.8063 MB / 469.8 MB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1855, allocations: 401.3 kB / 470.1 MB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1855, allocations: 4 kB / 470.2 MB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.1855, allocations: 46.95 kB / 470.2 MB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1859, allocations: 93.69 kB / 470.3 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.1898, allocations: 6.06 MB / 476.3 MB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.19, allocations: 390.4 kB / 476.7 MB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.1903, allocations: 204.8 kB / 476.9 MB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1905, allocations: 235.2 kB / 477.2 MB, free: 23.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1905, allocations: 4 kB / 477.2 MB, free: 23.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.216, allocations: 11.86 MB / 489 MB, free: 21.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.151, allocations: 5.031 kB / 489 MB, free: 21.3 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.123834998346865]