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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001099, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 79.69 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1249, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009086/0.1341, allocations: 6.259 MB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.1391, allocations: 1.974 MB / 488.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1403, allocations: 27.94 kB / 488.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.1421, allocations: 0.619 MB / 489.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008197/0.143, allocations: 190.9 kB / 489.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1434, allocations: 59.88 kB / 489.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.1441, allocations: 414.2 kB / 490.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.145, allocations: 0.5026 MB / 490.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.1455, allocations: 223.1 kB / 490.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.1461, allocations: 282.9 kB / 491.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1462, allocations: 36 kB / 491.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1465, allocations: 83.95 kB / 491.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.1469, allocations: 267.2 kB / 491.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.1474, allocations: 318 kB / 491.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009971/0.1484, allocations: 0.7941 MB / 492.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1484, allocations: 0 / 492.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1484, allocations: 0 / 492.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.1485, allocations: 0 / 492.7 MB, free: 9.227 MB / 366.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.002015/0.1505, allocations: 0.9501 MB / 493.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.11e-05/0.1506, allocations: 8.031 kB / 493.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.1515, allocations: 155.8 kB / 493.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.1523, allocations: 437.8 kB / 494.2 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.1523, allocations: 33.36 kB / 494.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.1524, allocations: 48.05 kB / 494.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.154, allocations: 1.082 MB / 495.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.154, allocations: 3.938 kB / 495.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.1541, allocations: 23.98 kB / 495.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003499/0.1544, allocations: 192.4 kB / 495.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1557, allocations: 0.7044 MB / 496.3 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.1604, allocations: 4.673 MB / 0.4892 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1606, allocations: 58.53 kB / 0.4893 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1608, allocations: 44.91 kB / 0.4893 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1608, allocations: 0 / 0.4893 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1608, allocations: 34.56 kB / 0.4894 GB, free: 404 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1608, allocations: 0 / 0.4894 GB, free: 404 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005569/0.1614, allocations: 216.9 kB / 0.4896 GB, free: 180 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1615, allocations: 51.41 kB / 0.4896 GB, free: 116 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.1625, allocations: 0.824 MB / 0.4904 GB, free: 15.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1626, allocations: 25.7 kB / 0.4905 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.1629, allocations: 0.5044 MB / 0.4909 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.163, allocations: 27.8 kB / 0.491 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1632, allocations: 174.4 kB / 0.4911 GB, free: 14.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1634, allocations: 374.8 kB / 0.4915 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.1637, allocations: 177.9 kB / 0.4917 GB, free: 13.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.1643, allocations: 0.7311 MB / 0.4924 GB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.1653, allocations: 0.9782 MB / 0.4933 GB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.1653, allocations: 4 kB / 0.4933 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001393/0.1667, allocations: 0.8756 MB / 0.4942 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1668, allocations: 12 kB / 0.4942 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.1668, allocations: 28.88 kB / 0.4942 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/0.1669, allocations: 31.94 kB / 0.4943 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.1674, allocations: 175.7 kB / 0.4944 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.795e-05/0.1674, allocations: 39.8 kB / 0.4945 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.168, allocations: 118.8 kB / 0.4946 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.1681, allocations: 52 kB / 0.4946 GB, free: 10.37 MB / 382.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.0003932/0.1685, allocations: 347.5 kB / 0.495 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.1686, allocations: 59.25 kB / 0.495 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.1687, allocations: 69.27 kB / 0.4951 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1687, allocations: 3.938 kB / 0.4951 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1687, allocations: 4 kB / 0.4951 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1687, allocations: 3.938 kB / 0.4951 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.1693, allocations: 0.4973 MB / 0.4956 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1693, allocations: 3.938 kB / 0.4956 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.1694, allocations: 11.98 kB / 0.4956 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1694, allocations: 0 / 0.4956 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1694, allocations: 0 / 0.4956 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.1694, allocations: 11.86 kB / 0.4956 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.1695, allocations: 4 kB / 0.4956 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.1698, allocations: 262.7 kB / 0.4959 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.17, allocations: 132.3 kB / 0.496 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.1701, allocations: 0 / 0.496 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1703, allocations: 11.92 kB / 0.496 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1703, allocations: 11.98 kB / 0.496 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1704, allocations: 0 / 0.496 GB, free: 8.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.171, allocations: 0.5341 MB / 0.4965 GB, free: 8.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.171, allocations: 0 / 0.4965 GB, free: 8.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.1717, allocations: 135.7 kB / 0.4967 GB, free: 8.188 MB / 382.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.000142/0.1718, allocations: 95.23 kB / 0.4968 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.1725, allocations: 420.6 kB / 0.4972 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1725, allocations: 0 / 0.4972 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1727, allocations: 47.95 kB / 0.4972 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.1732, allocations: 87.14 kB / 0.4973 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1751, allocations: 1.159 MB / 0.4984 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.1757, allocations: 0.987 MB / 0.4994 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1758, allocations: 55.36 kB / 0.4994 GB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1758, allocations: 0 / 0.4994 GB, free: 5.281 MB / 382.1 MB Notification: Performance of Templates: time 0.2269/0.4028, allocations: 7.497 MB / 0.5068 GB, free: 39.2 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches