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.001475/0.001475, allocations: 117 kB / 18.49 MB, free: 4.566 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.001838/0.001838, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.511/1.511, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.228/0.228, allocations: 46.91 MB / 357.7 MB, free: 10.17 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 87.86 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 66.05 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008187/0.1413, allocations: 6.271 MB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004337/0.1456, allocations: 1.986 MB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.1464, allocations: 27.94 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1479, allocations: 0.6268 MB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006135/0.1485, allocations: 194.9 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1488, allocations: 55.88 kB / 0.5651 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.1494, allocations: 422.1 kB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.15, allocations: 438.8 kB / 0.5659 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.1504, allocations: 227.1 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.1509, allocations: 298.8 kB / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.151, allocations: 36 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1512, allocations: 87.88 kB / 0.5666 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.1515, allocations: 271.2 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.1518, allocations: 317.9 kB / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1528, allocations: 0.8283 MB / 0.5679 GB, free: 9.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1528, allocations: 0 / 0.5679 GB, free: 9.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1528, allocations: 0 / 0.5679 GB, free: 9.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.1528, allocations: 0 / 0.5679 GB, free: 9.395 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.001637/0.1545, allocations: 0.9649 MB / 0.5689 GB, free: 8.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1545, allocations: 12.03 kB / 0.5689 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.487e-05/0.1545, allocations: 17.19 kB / 0.5689 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.1547, allocations: 106.7 kB / 0.569 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.1555, allocations: 160.2 kB / 0.5691 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.1562, allocations: 457.9 kB / 0.5696 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.1562, allocations: 37.11 kB / 0.5696 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.1563, allocations: 39.98 kB / 0.5697 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1578, allocations: 1.078 MB / 0.5707 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1578, allocations: 3.938 kB / 0.5707 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.1579, allocations: 27.97 kB / 0.5707 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003702/0.1583, allocations: 188.4 kB / 0.5709 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1595, allocations: 0.7122 MB / 0.5716 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004588/0.1641, allocations: 4.662 MB / 0.5762 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1643, allocations: 62.47 kB / 0.5762 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1644, allocations: 44.91 kB / 0.5763 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1644, allocations: 4 kB / 0.5763 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1644, allocations: 30.56 kB / 0.5763 GB, free: 408 kB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.1644, allocations: 4 kB / 0.5763 GB, free: 404 kB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005663/0.165, allocations: 217 kB / 0.5765 GB, free: 180 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.165, allocations: 55.41 kB / 0.5766 GB, free: 112 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1661, allocations: 0.8127 MB / 0.5774 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1661, allocations: 25.7 kB / 0.5774 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.1665, allocations: 0.5217 MB / 0.5779 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1666, allocations: 35.83 kB / 0.5779 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.1668, allocations: 174.5 kB / 0.5781 GB, free: 14.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.167, allocations: 374.8 kB / 0.5785 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.1673, allocations: 177.9 kB / 0.5786 GB, free: 13.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.1681, allocations: 0.7312 MB / 0.5793 GB, free: 12.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1692, allocations: 0.9781 MB / 0.5803 GB, free: 11.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.1692, allocations: 4 kB / 0.5803 GB, free: 11.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001468/0.1707, allocations: 0.8805 MB / 0.5812 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1707, allocations: 12 kB / 0.5812 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.1707, allocations: 28.09 kB / 0.5812 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.1708, allocations: 31.94 kB / 0.5812 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.1713, allocations: 175.7 kB / 0.5814 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/0.1713, allocations: 35.86 kB / 0.5814 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.1719, allocations: 119.2 kB / 0.5815 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/0.172, allocations: 48 kB / 0.5816 GB, free: 10.36 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.0004633/0.1725, allocations: 367.4 kB / 0.5819 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.1726, allocations: 59.58 kB / 0.582 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1727, allocations: 65.22 kB / 0.5821 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1727, allocations: 7.984 kB / 0.5821 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1727, allocations: 0 / 0.5821 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1727, allocations: 0 / 0.5821 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.1733, allocations: 0.4896 MB / 0.5825 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1733, allocations: 0 / 0.5825 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1734, allocations: 11.98 kB / 0.5826 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1734, allocations: 0 / 0.5826 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1734, allocations: 7.938 kB / 0.5826 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1734, allocations: 0 / 0.5826 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1734, allocations: 8 kB / 0.5826 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.1738, allocations: 275.1 kB / 0.5828 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.174, allocations: 132.7 kB / 0.583 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.1741, allocations: 7.938 kB / 0.583 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1743, allocations: 11.98 kB / 0.583 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1743, allocations: 7.984 kB / 0.583 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.1743, allocations: 4 kB / 0.583 GB, free: 8.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006961/0.175, allocations: 0.5302 MB / 0.5835 GB, free: 8.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.175, allocations: 0 / 0.5835 GB, free: 8.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000709/0.1757, allocations: 139.7 kB / 0.5836 GB, free: 8.152 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.0008129/0.1765, allocations: 0.8018 MB / 0.5844 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.1773, allocations: 408 kB / 0.5848 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1773, allocations: 0 / 0.5848 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1774, allocations: 47.94 kB / 0.5849 GB, free: 6.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1781, allocations: 92.91 kB / 0.5849 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/0.1869, allocations: 6.116 MB / 0.5909 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2648/0.4517, allocations: 0.981 MB / 0.5919 GB, free: 35.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.4523, allocations: 206.9 kB / 0.5921 GB, free: 35.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.4526, allocations: 230.8 kB / 0.5923 GB, free: 35.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4526, allocations: 0 / 0.5923 GB, free: 35.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.4894, allocations: 11.1 MB / 0.6031 GB, free: 33.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.52, allocations: 10.11 kB / 0.6031 GB, free: 33.57 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/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: 13.826894465018995]