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.001254/0.001254, allocations: 117 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00764/0.1246, allocations: 6.237 MB / 487.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.1284, allocations: 1.974 MB / 489.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.1288, allocations: 23.94 kB / 489.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.1302, allocations: 0.6268 MB / 490.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.1306, allocations: 186.9 kB / 490.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1309, allocations: 55.88 kB / 490.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.1313, allocations: 422.1 kB / 491 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.132, allocations: 0.5026 MB / 491.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.1323, allocations: 223.2 kB / 491.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.1326, allocations: 286.8 kB / 492 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.1327, allocations: 36 kB / 492 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1329, allocations: 83.89 kB / 492.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1331, allocations: 259.3 kB / 492.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.1334, allocations: 325.9 kB / 492.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.1342, allocations: 0.8211 MB / 493.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1342, allocations: 0 / 493.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1342, allocations: 0 / 493.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1343, allocations: 0 / 493.5 MB, free: 8.434 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.001464/0.1357, allocations: 0.9463 MB / 494.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1358, allocations: 8.031 kB / 494.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.1365, allocations: 151.8 kB / 494.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.1371, allocations: 449.7 kB / 495 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1372, allocations: 29.36 kB / 495.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.1372, allocations: 48.11 kB / 495.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1385, allocations: 1.074 MB / 496.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1386, allocations: 11.94 kB / 496.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.1386, allocations: 23.98 kB / 496.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/0.1389, allocations: 192.3 kB / 496.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.14, allocations: 0.7083 MB / 497.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.1439, allocations: 4.653 MB / 0.49 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.144, allocations: 54.53 kB / 0.4901 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1441, allocations: 44.91 kB / 0.4901 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1442, allocations: 11.98 kB / 0.4901 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1442, allocations: 30.56 kB / 0.4901 GB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1442, allocations: 0 / 0.4901 GB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004752/0.1447, allocations: 208.7 kB / 0.4903 GB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1447, allocations: 51.41 kB / 0.4904 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.1456, allocations: 0.8279 MB / 0.4912 GB, free: 14.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1456, allocations: 25.7 kB / 0.4912 GB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.146, allocations: 0.5044 MB / 0.4917 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.146, allocations: 27.8 kB / 0.4917 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.1462, allocations: 170.4 kB / 0.4919 GB, free: 13.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1464, allocations: 374.8 kB / 0.4923 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.1466, allocations: 177.9 kB / 0.4924 GB, free: 13.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.1475, allocations: 0.7351 MB / 0.4931 GB, free: 12.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1485, allocations: 0.982 MB / 0.4941 GB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.1485, allocations: 4 kB / 0.4941 GB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001264/0.1498, allocations: 0.8762 MB / 0.495 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1498, allocations: 12 kB / 0.495 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.1498, allocations: 20 kB / 0.495 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.1499, allocations: 31.94 kB / 0.495 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.1503, allocations: 171.7 kB / 0.4952 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.1504, allocations: 39.8 kB / 0.4952 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.1509, allocations: 122.7 kB / 0.4953 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.1509, allocations: 52.25 kB / 0.4954 GB, free: 9.598 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.0003804/0.1513, allocations: 359.7 kB / 0.4957 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.1514, allocations: 55.25 kB / 0.4958 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.803e-05/0.1515, allocations: 65.27 kB / 0.4959 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1515, allocations: 3.938 kB / 0.4959 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1515, allocations: 4 kB / 0.4959 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1515, allocations: 3.938 kB / 0.4959 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.152, allocations: 0.4934 MB / 0.4963 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1521, allocations: 4 kB / 0.4963 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.1521, allocations: 15.97 kB / 0.4964 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1522, allocations: 0 / 0.4964 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1522, allocations: 0 / 0.4964 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1522, allocations: 3.938 kB / 0.4964 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1522, allocations: 0 / 0.4964 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.1525, allocations: 274.6 kB / 0.4966 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1526, allocations: 132.3 kB / 0.4968 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.1527, allocations: 0 / 0.4968 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1529, allocations: 11.94 kB / 0.4968 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.1529, allocations: 7.984 kB / 0.4968 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.153, allocations: 3.984 kB / 0.4968 GB, free: 8.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.1535, allocations: 0.5341 MB / 0.4973 GB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1535, allocations: 0 / 0.4973 GB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005876/0.1541, allocations: 135.7 kB / 0.4974 GB, free: 7.41 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.0001172/0.1543, allocations: 95.25 kB / 0.4975 GB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.1549, allocations: 420.6 kB / 0.4979 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1549, allocations: 3.938 kB / 0.4979 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.155, allocations: 47.95 kB / 0.498 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.1555, allocations: 92.55 kB / 0.4981 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.157, allocations: 1.072 MB / 0.4991 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.1576, allocations: 0.9872 MB / 0.5001 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000414/0.1581, allocations: 208.7 kB / 0.5003 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.1581, allocations: 35.44 kB / 0.5003 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1581, allocations: 0 / 0.5003 GB, free: 4.406 MB / 382.1 MB Notification: Performance of Templates: time 0.008853/0.167, allocations: 4.443 MB / 0.5046 GB, free: 0 / 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 -s gbode -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